Re: [Emc-users] Running on a G4 MAc (new world)
Hi Chris, AFIK OSX is a BSD unix with Apple's GUI on top. However, one can add X instead. Dave On Feb 3, 2008, at 8:26 PM, Chris Radek wrote: > On Mon, Feb 04, 2008 at 04:18:49AM +, Alan Condit wrote: >> >> Chris, >> >> You are talking about building sim on linux on the mac, not OS X >> right? >> >> Alan > > Yes, my old mac is running ubuntu dapper. I don't know anything about > OS X or any other mac OS, but I hear they're unixy now, so you'd > surely be able to build sim after a little (or a lot of) work building > the various dependencies. > > Chris > > -- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
Isolation is commonly used to deal with large common mode differentials. While that can blow a 485 tranciever it does not happen alot unless there are vey long cable runs or the cable runs between buildings. When running 485 for distances of a few hundred feet connecting equipment powered off the same mains transformer it's unlikely that enough differential will occur, but a quick check with a voltmeter before connecting equipment is always a good idea. So both comments are correct. In many cases 485 will run just fine without isolators, but some applications definitely require isolation. I build 485 isolators, but they are rarely tested to their limits. Often the isolation is more of an insurance policy-it ensures that a single device cannot take down an entire network segment. Javid - Original Message - From: Dean Hedin To: Enhanced Machine Controller (EMC) Sent: Sunday, February 03, 2008 9:15 PM Subject: Re: [Emc-users] Modbus RS-485 Transceiver At 6 bucks a pop, buy 2. Seriously, I worked with 485 at a previous job and I never blew out a non isolated converter. Of course it might depend on what your doing I guess. - Original Message - From: [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) Sent: Sunday, February 03, 2008 8:42 PM Subject: Re: [Emc-users] Modbus RS-485 Transceiver Good advice is never to buy non-isolated converters. You will replace them regularly if you do. This does not seem to be isolated. Kirk Wallace wrote: On Sun, 2008-02-03 at 03:06 -0500, Dean Hedin wrote: Interesting if you have the time.. But for six bucks and free shipping... http://www.dealextreme.com/details.dx/sku.6040 Obviously, I didn't look hard enough when went looking for these. Thanks for the link Dean. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running on a G4 MAc (new world)
On Mon, Feb 04, 2008 at 04:18:49AM +, Alan Condit wrote: > > Chris, > > You are talking about building sim on linux on the mac, not OS X right? > > Alan Yes, my old mac is running ubuntu dapper. I don't know anything about OS X or any other mac OS, but I hear they're unixy now, so you'd surely be able to build sim after a little (or a lot of) work building the various dependencies. Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running on a G4 MAc (new world)
Chris Radek <[EMAIL PROTECTED]> writes: > > Since emc 2.2, it's been possible to build sim on a mac. I do this > on mine, but I think mine's a G3, not a G4. > Chris, You are talking about building sim on linux on the mac, not OS X right? Alan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
At 6 bucks a pop, buy 2. Seriously, I worked with 485 at a previous job and I never blew out a non isolated converter. Of course it might depend on what your doing I guess. - Original Message - From: [EMAIL PROTECTED] To: Enhanced Machine Controller (EMC) Sent: Sunday, February 03, 2008 8:42 PM Subject: Re: [Emc-users] Modbus RS-485 Transceiver Good advice is never to buy non-isolated converters. You will replace them regularly if you do. This does not seem to be isolated. Kirk Wallace wrote: On Sun, 2008-02-03 at 03:06 -0500, Dean Hedin wrote: Interesting if you have the time.. But for six bucks and free shipping... http://www.dealextreme.com/details.dx/sku.6040 Obviously, I didn't look hard enough when went looking for these. Thanks for the link Dean. -- - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ -- ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
Good advice is never to buy non-isolated converters. You will replace them regularly if you do. This does not seem to be isolated. Kirk Wallace wrote: On Sun, 2008-02-03 at 03:06 -0500, Dean Hedin wrote: Interesting if you have the time.. But for six bucks and free shipping... http://www.dealextreme.com/details.dx/sku.6040 Obviously, I didn't look hard enough when went looking for these. Thanks for the link Dean. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Modbus RS-485 Transceiver offer/ a modbus library
Kirk I thank you for the offer for the r485 converter. I think after reading some of the posts I would rather go with full duplex. Paying you for, and shipping, it would have been a pain too I think, as I am in Canada. I came across a web site with a Modbus library that is GPL. http://copyleft.free.fr/wordpress/index.php/libmodbus/ In his trunk version he is working on a slave protocol - if I could get this working I could set up two computers with rs 232 and test. prob test classicladder too. The big but is that I cannot figure out how to auto make the program . I downloaded automake and autoconfig but it doesn't work and I don't know how to trouble shoot the process. Any help would be great from anyone. Just thought it might be interesting to peruse or even use for your work. Thanks again. Chris Morley > From: [EMAIL PROTECTED] > To: emc-users@lists.sourceforge.net > Date: Sat, 2 Feb 2008 20:26:31 -0800 > Subject: [Emc-users] Modbus RS-485 Transceiver > > Chris Morley, > > I have been pretty slow with work on Modbus. I just read your wiki post > and you indicated that you needed an RS-485 adapter. I found one here: > > http://pinouts.ru/SerialPortsCables/rs485_cable_pinout.shtml > > I plan on building a couple for my SJ200 application, and if you want I > can make an extra and send it over. I'm not sure when I'll have time to > build and test it -- probably in the next couple of weeks. Let me know. > > -- > Kirk Wallace (California, USA > http://www.wallacecompany.com/machine_shop/ > Hardinge HNC lathe, > Bridgeport mill conversion, doing XY now, > Zubal lathe conversion pending) > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users _ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running on a G4 MAc (new world)
On Sunday 03 February 2008 20:31, Jon Elson wrote: > > I was given recently an old G4 Mac. is it posible to run EMC on a ppc32? > Does it have a parallel port? If not, you are in pretty serious > trouble. The right question should be: Does it have any expansion slots that would allow an IO card to be plugged in ? > Not to mention the problems of getting an rtai compatible version of > RT-Linux running on the ppc, RTAI has patches for various 2.4.xx and 2.6.xx kernels - Not all aimed at the G4 processor. Best place to ask is over on the RTAI mailing list as to which PowerPC processors are currently supported (and pray that it isn't 2.4.xx). > and then getting all of EMC to compile and run properly. It is SUPPOSED > to, but. Take a look at the README - The "mission statement": 2) Reduce complexity by eliminating support for platforms other than Linux on x86, with either RTAI or RTLinux for realtime. (DONE) Note: x86 only ! "or RTLinux" - nuff said. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running on a G4 MAc (new world)
Jason Cox wrote: > Hi all, > my i386 class emc pc just died :( > as luck would have it, I was given recently an old G4 Mac. is it posible > to run EMC on a ppc32? > any pointers ? Does it have a parallel port? If not, you are in pretty serious trouble. Not to mention the problems of getting an rtai compatible version of RT-Linux running on the ppc, and then getting all of EMC to compile and run properly. It is SUPPOSED to, but. Jon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] Identifying different AXIS setups
Hi all, Now that I have AXIS and EMC2 singing and dancing, I find that I use three different ini files depending on what hardware I've got on my minimill. For example, when I have the (horizontal) rotary 4th axis on there, I have different x,y, and z limits that when it is absent. The trouble is that I sometimes forget which setup I have running (despite having created three different startup icons which reference the three ini files...!) Is there some relatively simple way for me to do one of the following: 1. change the background color of the toolpath section of the screen 2. add a label in either the Manual Control tab or on the toolpath area itself Thanks, Pat - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
I thought about suggesting full duplex as well, but it involves converting every node of the network. For one or two nodes it's not bad, but it adds up quickly. It's not a hard conversion, but would still take time to do more than a couple of nodes. Javid - Original Message - From: "Peter C. Wallace" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Sunday, February 03, 2008 10:07 AM Subject: Re: [Emc-users] Modbus RS-485 Transceiver > On Sun, 3 Feb 2008, Javid Butler wrote: > >> Date: Sun, 3 Feb 2008 08:27:42 -0600 >> From: Javid Butler <[EMAIL PROTECTED]> >> Reply-To: "Enhanced Machine Controller (EMC)" >> >> To: "Enhanced Machine Controller (EMC)" >> Subject: Re: [Emc-users] Modbus RS-485 Transceiver >> >> Kirk- >> >> With half duplex EIA-485 timing is very important. Unlike Ethernet, >> EIA-485 >> does not support collision detection at the physical layer so collisions >> between outgoing data and returning data cause data corruption, since the >> trancievers do not back off and retransmit. After a query the controller >> has >> to release the line and allow the responder to talk. >> >> You will probably have to watch flow control. For what you want to do the >> controller should transmit a query and then immediately tri-state, but >> converting from EIA-232 it may hold the line high or low, perhaps >> anticipating the next transmission. You might have to work with the way >> messages are buffered-perhaps you will only be able to buffer one message >> at >> a time. >> >> Javid > > > > Even without buffering you still need to wait until the character has been > shifted out of the UARTs transmit shift register before line-turnaround. > You > can do this by polling TBE and TSRE but you would have to poll fast enough > to > meet the minimum response time of the Modbus peripheral. A better way is > to > use a more advanced serial chip (Exar,OxfordSemi,NetMos) that includes > RS-485 > support. There are also some RS-232/RS-485 adapters that use a one-shot to > enable the RS-485 Xmit enable, a little Mickey-Mouse but maybe ok at low > baud > rates. > > As someone else posted, full duplex links avoid the timing problem > altogether. > > > > >> - Original Message - >> From: "Kirk Wallace" <[EMAIL PROTECTED]> >> To: "Enhanced Machine Controller (EMC)" >> ; >> <[EMAIL PROTECTED]> >> Sent: Sunday, February 03, 2008 4:13 AM >> Subject: Re: [Emc-users] Modbus RS-485 Transceiver >> >> >>> On Sun, 2008-02-03 at 18:12 +1100, Peter Homann wrote: Hi Kirk, A couple of things. The ModIO I sent you has a RS232-485 converter built in. With this you can run a serial cable from the ModIO to the PC, then run additional Modbus devices from the RS485 terminals on the ModIO. It saves from needing an external converter. When using RS485 I recommend using full duplex rather than 1/2 duplex. Some times there are issues with buffers in the PC and timing for switching the transmission direction Cheers, Peter. >>> >>> I'm looking forward to getting my hands on it. >>> >>> Since I don't know what I am doing yet, I was thinking that I could try >>> to address the timing issues. Is it that the serial port uses internal >>> buffers, so you don't know exactly when data will be sent and due to the >>> query and response nature of Modbus, the timing is important? I seem to >>> recall that some parallel ports had the same problem, but the driver was >>> broken, which disabled the buffer, so ports with fifo's were okay to use >>> with EMC. I wonder if the buffers on the serial port could be disabled >>> too. It would be nice to be able to use Modbus in its common forms. But >>> since you have covered this territory, you could probably talk some >>> sense into me. >>> >>> -- >>> Kirk Wallace (California, USA >>> http://www.wallacecompany.com/machine_shop/ >>> Hardinge HNC lathe, >>> Bridgeport mill conversion, doing XY now, >>> Zubal lathe conversion pending) >>> >>> >>> - >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >>> ___ >>> Emc-users mailing list >>> Emc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/emc-users >>> >> >> >> >> - >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > Peter Wallace > Mesa Electronics > > (\__/) > (='.'=) This is Bunny. Copy and paste b
Re: [Emc-users] Running on a G4 MAc (new world)
Maybe ... https://mail.rtai.org/pipermail/rtai/2004-July/008098.html G3 and G4's are both ppc's. Unfortunately the mac mini ( duo or duo2 core) doesn't have appropriate I/O for emc but it is a nice box ... a stack of CDROM's about 6 high. :-) Dave On Feb 3, 2008, at 9:22 AM, Chris Radek wrote: > Since emc 2.2, it's been possible to build sim on a mac. I do this > on mine, but I think mine's a G3, not a G4. > > I don't think RTAI works on mac (but I haven't looked hard) so even > aside from hardware driver issues, there's no way to control machinery > with emc/mac. > > > -- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running on a G4 MAc (new world)
Since emc 2.2, it's been possible to build sim on a mac. I do this on mine, but I think mine's a G3, not a G4. I don't think RTAI works on mac (but I haven't looked hard) so even aside from hardware driver issues, there's no way to control machinery with emc/mac. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Running on a G4 MAc (new world)
Jason Cox <[EMAIL PROTECTED]> writes: > > Hi all, > my i386 class emc pc just died :( > as luck would have it, I was given recently an old G4 Mac. is it possible > to run EMC on a ppc32? > any pointers ? > thanks > Jason > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > Jason, I am a Mac lover and I would love to see emc2 running on a Mac. That said however, I suspect that little endian-big endian problems might raise there heads in ugly ways inside emc2. Also you didn't tell which model Mac. Does it have pci slots so that you can add a parallel port to it? The issue of getting RTAI running on a ppc kernel is not insignificant either. I used to have an G4 mac but I still bought a straight pc box to run linux/emc2. I decided I would rather spend my time learning gcode than ppc assembly code. I now have an Intel Mac but still use a cheap pc box for my EMC2/linux. Alan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
On Sun, 3 Feb 2008, Javid Butler wrote: > Date: Sun, 3 Feb 2008 08:27:42 -0600 > From: Javid Butler <[EMAIL PROTECTED]> > Reply-To: "Enhanced Machine Controller (EMC)" > > To: "Enhanced Machine Controller (EMC)" > Subject: Re: [Emc-users] Modbus RS-485 Transceiver > > Kirk- > > With half duplex EIA-485 timing is very important. Unlike Ethernet, EIA-485 > does not support collision detection at the physical layer so collisions > between outgoing data and returning data cause data corruption, since the > trancievers do not back off and retransmit. After a query the controller has > to release the line and allow the responder to talk. > > You will probably have to watch flow control. For what you want to do the > controller should transmit a query and then immediately tri-state, but > converting from EIA-232 it may hold the line high or low, perhaps > anticipating the next transmission. You might have to work with the way > messages are buffered-perhaps you will only be able to buffer one message at > a time. > > Javid Even without buffering you still need to wait until the character has been shifted out of the UARTs transmit shift register before line-turnaround. You can do this by polling TBE and TSRE but you would have to poll fast enough to meet the minimum response time of the Modbus peripheral. A better way is to use a more advanced serial chip (Exar,OxfordSemi,NetMos) that includes RS-485 support. There are also some RS-232/RS-485 adapters that use a one-shot to enable the RS-485 Xmit enable, a little Mickey-Mouse but maybe ok at low baud rates. As someone else posted, full duplex links avoid the timing problem altogether. > > > - Original Message - > From: "Kirk Wallace" <[EMAIL PROTECTED]> > To: "Enhanced Machine Controller (EMC)" ; > <[EMAIL PROTECTED]> > Sent: Sunday, February 03, 2008 4:13 AM > Subject: Re: [Emc-users] Modbus RS-485 Transceiver > > >> On Sun, 2008-02-03 at 18:12 +1100, Peter Homann wrote: >>> Hi Kirk, >>> >>> A couple of things. >>> >>> The ModIO I sent you has a RS232-485 converter built in. With this you >>> can run >>> a serial cable from the ModIO to the PC, then run additional Modbus >>> devices >>> from the RS485 terminals on the ModIO. It saves from needing an external >>> converter. >>> >>> When using RS485 I recommend using full duplex rather than 1/2 duplex. >>> Some >>> times there are issues with buffers in the PC and timing for switching >>> the >>> transmission direction >>> >>> Cheers, >>> >>> Peter. >> >> I'm looking forward to getting my hands on it. >> >> Since I don't know what I am doing yet, I was thinking that I could try >> to address the timing issues. Is it that the serial port uses internal >> buffers, so you don't know exactly when data will be sent and due to the >> query and response nature of Modbus, the timing is important? I seem to >> recall that some parallel ports had the same problem, but the driver was >> broken, which disabled the buffer, so ports with fifo's were okay to use >> with EMC. I wonder if the buffers on the serial port could be disabled >> too. It would be nice to be able to use Modbus in its common forms. But >> since you have covered this territory, you could probably talk some >> sense into me. >> >> -- >> Kirk Wallace (California, USA >> http://www.wallacecompany.com/machine_shop/ >> Hardinge HNC lathe, >> Bridgeport mill conversion, doing XY now, >> Zubal lathe conversion pending) >> >> >> - >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
Kirk- With half duplex EIA-485 timing is very important. Unlike Ethernet, EIA-485 does not support collision detection at the physical layer so collisions between outgoing data and returning data cause data corruption, since the trancievers do not back off and retransmit. After a query the controller has to release the line and allow the responder to talk. You will probably have to watch flow control. For what you want to do the controller should transmit a query and then immediately tri-state, but converting from EIA-232 it may hold the line high or low, perhaps anticipating the next transmission. You might have to work with the way messages are buffered-perhaps you will only be able to buffer one message at a time. Javid - Original Message - From: "Kirk Wallace" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" ; <[EMAIL PROTECTED]> Sent: Sunday, February 03, 2008 4:13 AM Subject: Re: [Emc-users] Modbus RS-485 Transceiver > On Sun, 2008-02-03 at 18:12 +1100, Peter Homann wrote: >> Hi Kirk, >> >> A couple of things. >> >> The ModIO I sent you has a RS232-485 converter built in. With this you >> can run >> a serial cable from the ModIO to the PC, then run additional Modbus >> devices >> from the RS485 terminals on the ModIO. It saves from needing an external >> converter. >> >> When using RS485 I recommend using full duplex rather than 1/2 duplex. >> Some >> times there are issues with buffers in the PC and timing for switching >> the >> transmission direction >> >> Cheers, >> >> Peter. > > I'm looking forward to getting my hands on it. > > Since I don't know what I am doing yet, I was thinking that I could try > to address the timing issues. Is it that the serial port uses internal > buffers, so you don't know exactly when data will be sent and due to the > query and response nature of Modbus, the timing is important? I seem to > recall that some parallel ports had the same problem, but the driver was > broken, which disabled the buffer, so ports with fifo's were okay to use > with EMC. I wonder if the buffers on the serial port could be disabled > too. It would be nice to be able to use Modbus in its common forms. But > since you have covered this territory, you could probably talk some > sense into me. > > -- > Kirk Wallace (California, USA > http://www.wallacecompany.com/machine_shop/ > Hardinge HNC lathe, > Bridgeport mill conversion, doing XY now, > Zubal lathe conversion pending) > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] DRO input
What I would like to try someday is to connect linear encoders while still using rotary encoders. For example, if you have linear encoder resolution of 0.0005", and rotary encoder resolution of perhaps 0.0001", you could position from your rotary encoders just like normal but update the position with linear encoder position. Sort of use the linear encoder to know the position to the nearest half thou and use the rotary encoder for tenth positioning. Or heck with it, just get scales that you can set up to 1 micron resolution :-) But I think the motor needs to be controlled using its own feedback. - Original Message - From: "Kirk Wallace" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Saturday, February 02, 2008 5:29 PM Subject: Re: [Emc-users] DRO input > On Sat, 2008-02-02 at 15:05 -0500, John Kasunich wrote: > > I like that allot can be done with EMC, HAL, and pyVCP without having > to > make the substantial cost jump for controllers, drivers and motors. > Allot of value can be realized with an EMC enhanced manual machine. > > -- > Kirk Wallace (California, USA > http://www.wallacecompany.com/machine_shop/ > Hardinge HNC lathe, > Bridgeport mill conversion, doing XY now, > Zubal lathe conversion pending) > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Emc-users Digest, Vol 22, Issue 4
Jon, I'm sorry I wasn't clear I meant why put such an expensive DRO on an old machine when a cheaper one will be just as good. I built two of the Shuma Tech DRO's for about $250 each including scales and they are accurate to .0005". I'm like you and can barely turn the screw just enough to get .001" with out overtravel because of worn screws and nuts. My ways are still nice and flat and I do long work on the manual mill. John On 2 Feb 2008 at 14:43, [EMAIL PROTECTED] wrote: > John Thornton wrote: > > I just wonder why you want to put such a nice DRO on a worn out old > > manual mill that needs the ways scraped and the screws are worn out? > Hate to argue, but the differential wear in the screws makes it > totally impossible to make anything with better than 1/8" > accuracy using the dials on the handwheels. With a DRO or any > other direct measuring scheme, you CAN make FAR more accurate > parts. Even a dial caliper bolted to the slides will work. > The differential wear on the screws can easily be more than one > order of magnitude worse than any worn spot in the ways. > You will not be able to > > make an accurate part to the abilities of your DRO if the table > > won't stay where you put it and your Z is always changing because > > your table moves up and down as you move X and Y because the ways > > are worn. > I have a 1938 Bridgeport with all this sort of way wear, but I > can make parts of substantial size to within .001" tolerance > with little difficulty. With the original Acme screws, I was > lucky to get within .025" of where I wanted to be. I put an > ancient Bridgeport optical measuring system (glass reflective > scales and rear-projection magnifier boxes) on it in 1995 or so, > and suddenly I could make a box with holes and a cover with > matching holes, and didn;t have to spend a day filing out the > holes to match! Wow! > > Jon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] booting PC
On Sunday 03 February 2008, Ian Wright wrote: >HI, > >I just rebuilt a PC which had died and I have put both windows XP and >Ububtu on it - its all working fine but I'd like to change the order of >the boot options in the initial startup screen. I installed WinXP first >and then auto installed Ubuntu and so the startup screen has Ubuntu as >the first 4 or 5 options and then winXP at the bottom - I'd like winXP >first as that will probably get used most for design work before >switching to Ubuntu to do the magic. So, can anyone please point me >to the relevant config file or whatever to change the order... Thanks.. That would be /boot/grub/menu.lst (or .list, I furgit) -- Cheers, Gene "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Ask not for whom the telephone bell tolls... if thou art in the bathtub, it tolls for thee. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
On Sun, 2008-02-03 at 18:12 +1100, Peter Homann wrote: > Hi Kirk, > > A couple of things. > > The ModIO I sent you has a RS232-485 converter built in. With this you can > run > a serial cable from the ModIO to the PC, then run additional Modbus devices > from the RS485 terminals on the ModIO. It saves from needing an external > converter. > > When using RS485 I recommend using full duplex rather than 1/2 duplex. Some > times there are issues with buffers in the PC and timing for switching the > transmission direction > > Cheers, > > Peter. I'm looking forward to getting my hands on it. Since I don't know what I am doing yet, I was thinking that I could try to address the timing issues. Is it that the serial port uses internal buffers, so you don't know exactly when data will be sent and due to the query and response nature of Modbus, the timing is important? I seem to recall that some parallel ports had the same problem, but the driver was broken, which disabled the buffer, so ports with fifo's were okay to use with EMC. I wonder if the buffers on the serial port could be disabled too. It would be nice to be able to use Modbus in its common forms. But since you have covered this territory, you could probably talk some sense into me. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] booting PC
HI, I just rebuilt a PC which had died and I have put both windows XP and Ububtu on it - its all working fine but I'd like to change the order of the boot options in the initial startup screen. I installed WinXP first and then auto installed Ubuntu and so the startup screen has Ubuntu as the first 4 or 5 options and then winXP at the bottom - I'd like winXP first as that will probably get used most for design work before switching to Ubuntu to do the magic. So, can anyone please point me to the relevant config file or whatever to change the order... Thanks.. -- Best wishes, Ian Ian W. Wright Sheffield UK "The difference between theory and practice is much smaller in theory than in practice..." - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
On Sun, 2008-02-03 at 03:06 -0500, Dean Hedin wrote: > Interesting if you have the time.. > > But for six bucks and free shipping... > http://www.dealextreme.com/details.dx/sku.6040 Obviously, I didn't look hard enough when went looking for these. Thanks for the link Dean. -- Kirk Wallace (California, USA http://www.wallacecompany.com/machine_shop/ Hardinge HNC lathe, Bridgeport mill conversion, doing XY now, Zubal lathe conversion pending) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Modbus RS-485 Transceiver
Interesting if you have the time.. But for six bucks and free shipping... http://www.dealextreme.com/details.dx/sku.6040 - Original Message - From: "Kirk Wallace" <[EMAIL PROTECTED]> To: "Enhanced Machine Controller (EMC)" Sent: Saturday, February 02, 2008 11:26 PM Subject: [Emc-users] Modbus RS-485 Transceiver > Chris Morley, > > I have been pretty slow with work on Modbus. I just read your wiki post > and you indicated that you needed an RS-485 adapter. I found one here: > > http://pinouts.ru/SerialPortsCables/rs485_cable_pinout.shtml > > I plan on building a couple for my SJ200 application, and if you want I > can make an extra and send it over. I'm not sure when I'll have time to > build and test it -- probably in the next couple of weeks. Let me know. > > -- > Kirk Wallace (California, USA > http://www.wallacecompany.com/machine_shop/ > Hardinge HNC lathe, > Bridgeport mill conversion, doing XY now, > Zubal lathe conversion pending) > > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users