statikjak
Member
I have a bit of an odd situation. I'm having trouble sending ASCII commands over an open TCP socket. The problem is that I have a device that my only option for giving it commands is by sending ASCII commands over serial. I have a serial device server to convert the serial to ethernet so I can try to communicate with it. Here's a link to what I'm using: https://shop.usriot.com/modbus-serial-to-ethernet-converters-usr-tcp232-410s.html
I am working with a 1756-L72 and 1756-EN3TR as my ethernet connection. I am using the TCP Client Socket AOI that has been put out by Rockwell.
So, overall, through the web interface for the converter, I can send ASCII commands to my device. Also, I can create an open socket in the PLC to the converter. I can verify this in both the PLC (the AOI is running) and in the converter (indicates an open socket).
However, I try to use the write command through the PLC AOI, and nothing happens. The message executes and indicates finishing without error, but nothing happens. No message is received by the device, and there is no indication in the converter.
When I get into the diagnostics for the 1756-EN3TR, I can see that there is an open socket and that socket writes are occurring.
I'm not sure what I'm missing here. I don't know why the ASCII commands won't pass through. Any thoughts on where I'm getting hung up?
Thanks all!
I am working with a 1756-L72 and 1756-EN3TR as my ethernet connection. I am using the TCP Client Socket AOI that has been put out by Rockwell.
So, overall, through the web interface for the converter, I can send ASCII commands to my device. Also, I can create an open socket in the PLC to the converter. I can verify this in both the PLC (the AOI is running) and in the converter (indicates an open socket).
However, I try to use the write command through the PLC AOI, and nothing happens. The message executes and indicates finishing without error, but nothing happens. No message is received by the device, and there is no indication in the converter.
When I get into the diagnostics for the 1756-EN3TR, I can see that there is an open socket and that socket writes are occurring.
I'm not sure what I'm missing here. I don't know why the ASCII commands won't pass through. Any thoughts on where I'm getting hung up?
Thanks all!