On Tue, 2012-02-28 at 20:31 +0100, Michael Haberler wrote:
> Am 28.02.2012 um 20:12 schrieb Kirk Wallace:
> > 
> > It seems that Modbus over TCP/IP setups are more common in the wild than
> > end to end Ethernet Modbus TCP/IP, but if one where to set up LinuxCNC
> 
> the vfs11_vfd driver I pushed yesterday is a Modbus master which suppports 
> serial as well as in/outgoing TCP connections, and the plumbing is all in 
> place
> 
> so if you want to support a new Modbus device you'd better off basing code on 
> vfs11_vfd than on gs2_vfd

I see that someone has been busy. It will take some time for me to
review your new vfs11 code. In my project, I have split the serial port
function out of the device component so that multiple device components
can share one serial port. It seems with ModbusTCP/IP and maybe Modbus
over TCP/IP the the port specific functions are already segregated and
there is no resource locking as with the serial port. I am tending
towards having a number of smaller focused components, a device
component for each model and a port component for each port as needed.
An integrator would choose a device component and port component that
matched the hardware and network being used, rather than one big catch
all component. I keep getting side tracked, but I think my focus should
be on formalizing a serial port component, VFD and PLC device components
with very basic functions, and a means to sequence device queries to the
port component. Frankly, I'm beginning to lose steam on this one and I
have an IRAMS coming in the mail, so it may take a while to get
something significant done.

http://wallacecompany.com/machine_shop/EMC2/Screenshot-12.png 
http://wallacecompany.com/machine_shop/EMC2/mbrtuport.c 
http://wallacecompany.com/machine_shop/EMC2/sj200mbbasic.comp 

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to