jstolaruk
Lifetime Supporting Member
I'm trying to get a 5069-L306er to talk to a Automation Direct ProSence Controller by using RA's AOI for modbus client but its stuck not getting a message back. Hoping one of the experts here can steer me to what I'm doing wrong.
I've got the Prosense setup with a valid IP address, the AOI reports it has created a socket instance and sets the Sts_Connected output ON. Monitoring the AOI's logic, it creates a new instance (Wrk_Instance) every time I cycle the enable bit.
The AOI indicates it successfully sends a read message (Ref_MsgRead) by setting the message done bit and not the error bit. I placed counters on the enable, done, and error bits to track.
But the Sts_Overload and Sts_Overlap bits cycle ON when just enabling a single read transaction and the destination elements are empty.
I've tested the connection to the ProSence with a number of PC Modbus tools, Modbus_Poll and ModScan64, and they both successfully can send a simple holding register read request, and both agree on the data coming back.
Any thoughts about what I can try next? should I emulating the Prosense on the PC by using ModSim64?
Last resort is to get some h/w but I only need to monitor/modify a single setpoint at very long intervals.
Thanks in advance!
I've got the Prosense setup with a valid IP address, the AOI reports it has created a socket instance and sets the Sts_Connected output ON. Monitoring the AOI's logic, it creates a new instance (Wrk_Instance) every time I cycle the enable bit.
The AOI indicates it successfully sends a read message (Ref_MsgRead) by setting the message done bit and not the error bit. I placed counters on the enable, done, and error bits to track.
But the Sts_Overload and Sts_Overlap bits cycle ON when just enabling a single read transaction and the destination elements are empty.
I've tested the connection to the ProSence with a number of PC Modbus tools, Modbus_Poll and ModScan64, and they both successfully can send a simple holding register read request, and both agree on the data coming back.
Any thoughts about what I can try next? should I emulating the Prosense on the PC by using ModSim64?
Last resort is to get some h/w but I only need to monitor/modify a single setpoint at very long intervals.
Thanks in advance!