Hi guys, I am trying to send a simple ascii string, to a VideoJet printer from a ControlLogix PLC.
So I have been using the MSG instructions as per the related RA technote but hit some snags. I know how to set the MSG path, and I have to use the front Ethernet port of the CPU in slot 0. When testing comms to the printer using Putty on the laptop, I can communicate with the printer and send the string, using Telnet RAW mode. It responds with ACK so I know that works.
Next I got hold of the RA sockets test app, so using the PLC and a laptop, had some success sending the string from the PLC to the laptop, but now it has stopped working with error 16#0ff / extended error 16#0000_0044 which is nowhere to be found in the documentation. This error is at the OpenConnection stage. It was working earlier, I used DeleteAllSockets to clear any open sockets but it still now sticks on this issue.
Does anyone have experience of doing this task? I had not yet managed to send the string to the VideoJet printer from the PLC, but using the PC application from RA, I was at least getting the message from the PLC to the laptop, until this error struck and now it no longer even sends or connects to the laptop eweb TCP server app.
I rebooted the laptop, re-ran the EWEB app, same result. Short of rebooting the PLC which I don't want to do, I cannot get htis error to clear or the OpenConnection MSG to function any more.
Any help, or comments appreciated.
So I have been using the MSG instructions as per the related RA technote but hit some snags. I know how to set the MSG path, and I have to use the front Ethernet port of the CPU in slot 0. When testing comms to the printer using Putty on the laptop, I can communicate with the printer and send the string, using Telnet RAW mode. It responds with ACK so I know that works.
Next I got hold of the RA sockets test app, so using the PLC and a laptop, had some success sending the string from the PLC to the laptop, but now it has stopped working with error 16#0ff / extended error 16#0000_0044 which is nowhere to be found in the documentation. This error is at the OpenConnection stage. It was working earlier, I used DeleteAllSockets to clear any open sockets but it still now sticks on this issue.
Does anyone have experience of doing this task? I had not yet managed to send the string to the VideoJet printer from the PLC, but using the PC application from RA, I was at least getting the message from the PLC to the laptop, until this error struck and now it no longer even sends or connects to the laptop eweb TCP server app.
I rebooted the laptop, re-ran the EWEB app, same result. Short of rebooting the PLC which I don't want to do, I cannot get htis error to clear or the OpenConnection MSG to function any more.
Any help, or comments appreciated.
Last edited: