Hello Guest it is March 29, 2024, 01:51:31 AM

Author Topic: Lost Modbus  (Read 2193 times)

0 Members and 1 Guest are viewing this topic.

Lost Modbus
« on: March 06, 2008, 05:44:43 PM »
It seems I lost modbus.  Let me explain.  I have Mach3 running an Automation Direct DL06 PLC.  The PLC is the slave, and was working fine.  I started writing a sequence in the PLC, switched back to Mach, wrote an LED to call the virtual bit in the PLC (which I inadvertently made a loop), and I ended up locking up Mach and the computer.  I rebooted, and had lost all access to the modbus.  I have been trying everything I can think of to get my modbus back, but no luck.  They are matched at 19,200 baud, 8-N-1.  When Mach starts up it begins polling the PLC (I see the Rx light on the #2 port), but the Tx never comes on.  Either Mach is sending bad info that the PLC doesn't understand or the PLC is getting good info that isn't making it to the correct location.

I have deleted everything out of the PLC, and has only "END" at the end of the first line.  I cleared the memory out of the PLC thinking there must be a loop of some kind.

Any ideas are welcome.

Roger