I would think a loadable config file would be nessasary as every device is
different as far as how many, what type ,and what address of the device/data.
That seems to be why MUDBUS was used so much - they didn't force much format to
the data packets.
If you had a loadable config file your module could load that file then make
HAL pins to suit. Then you would only need one MODBUS module -it would just
load different/more configs for different devices.
Classicladder uses this type of idea. It has a config window that you set all
this info and assign varriables to MODBUS addresses. You can set it to access
data in multiple discontigous ranges. It is loaded when you load the ladder
program.
I am wondering what people are using to connect to their VDFs -MODBUS wise. I
have a VDF that uses rs-485 or rs-422 but of course I only have a serial port.
I have seen converters from serial port (rs-232) to rs-485. I've heard of USB
to rs485. I did see that MESA makes a daughter board that plugs into the 5120
(which I use) that will produce rs-485. The problem with that is a driver needs
to be written and worse, I lose alot of input/output.
I'm going to go try to figure out how to make a branch of 2.2.3 for my adaption
of Classicladder V7.124 with MODBUS enabled.
Then I hope some of you can try it and see what needs to be done to make it
work as right now I have no way to test it.
Chris Morley> > I intended to have multiple devices on each serial port. I was
thinking> that the communications parameters might have to change on-the-fly
for> each device on the same serial port.> > > I should stop thinking about it,
because it keeps getting more complex > > the more I do :)> > > > - Steve> > My
brain is is hurting, too (easy to do though).> > -- > 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/vse0120000070mrt/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/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users