Bill,
Here are a few errors:
1. on the ports and pins, you need to tick the "ModBus InputOutput Support also. Once you tick that, you will need to close and reopen mach, to then be able to get the TCP setup page to work right.
2). on the TCP Modbus Setup page, your "Local(Var), will start at ZERO, so in your example
on: Cfg0, "Address Local(Var) = 0, "Address Modbus(Var) = 40
(so what comes in at adress 40 will be at local var modbus 0, and 41 will be Local MB var1)
on: Cfg1, "Address Local(Var) = 0, "Address Modbus(Var) = 42
(so what comes in at adress 42 will be at local var modbus 0, and 43 will be Local MB var1)
(Note Read my "Brians How To users Guide" in the documents section of this forum).
NOTE: the "Master" address in this case will be the TCP device your talking too your PLC or what ever,
also, on your Mach computer you will need to assign it a static address, and then have your Device
consider that address as its gateway.
Your testing will not work, until you correct the above.
on your Brain: set up input TCP coming in for the Cfg0, PLC address40, it would be Local Address 0, Cfg 0, TCP, your next on for that
cfg would be local address 1.
the same for your second but your Cfg would change to #1............
scott