Wedg1e
They call me Mr. Bodge-angles
- Messages
- 7,756
- Location
- Teesside, England
S7-1200 so newish kit. Need to output an RS232 data stream (up to 6 Bytes) to control a bit of equipment. I've got the right RS232 module and the data format of the port is set up at both ends (Baud rate, 8 bits, no parity blah blah).
I think the idea is to create a buffer with the Bytes in it, then send that to the output, and I can get the Tx LED flashing on the RS232 module but the remote kit fails to respond. It only uses Tx, Rx and 0v lines of the 232 cable and the Tx and Rx have been tried both ways in case the socket's wrong on the remote unit.
I suspect something in the construction of the buffer is wrong; have tried saving the values as Hex and Binary but made no difference.
Any ideas...?
I think the idea is to create a buffer with the Bytes in it, then send that to the output, and I can get the Tx LED flashing on the RS232 module but the remote kit fails to respond. It only uses Tx, Rx and 0v lines of the 232 cable and the Tx and Rx have been tried both ways in case the socket's wrong on the remote unit.
I suspect something in the construction of the buffer is wrong; have tried saving the values as Hex and Binary but made no difference.
Any ideas...?