jeswin0312
Member
Dear All
Can anyone help to communicate ascii rs232 to s7 300 PLC through Cp340Rs232.
RS232 9600 baud, 8 data bits, 1 stop bit, no parity, no flow control/handshaking.
This is defined as a Flexio protocol.
1. Binary command/response pairs. Commands are from the controller to the third party unit, responses are from third party to the Messenger.
2. This is a half-duplex master/slave protocol. The third party only sends information when it gets commands. It does not issue alerts.
3. Each command or response consists of a Flexio packet (see below).
4. The third party should respond within 500ms to any command, otherwise the controller system may ask again.
5. All numbers are represented low byte - high byte (little endian).
STX/Length /Command or Response/Data /Checksum/ETX
0x02/0x03 0x00 /0x83 /0x13, Unit#/0xXX /0x03- Message(Tx)
0x02/0xA8 0x00/0x00 /Data /0xXX /0x03 - Reply (RX)
Can anyone help to communicate ascii rs232 to s7 300 PLC through Cp340Rs232.
RS232 9600 baud, 8 data bits, 1 stop bit, no parity, no flow control/handshaking.
This is defined as a Flexio protocol.
1. Binary command/response pairs. Commands are from the controller to the third party unit, responses are from third party to the Messenger.
2. This is a half-duplex master/slave protocol. The third party only sends information when it gets commands. It does not issue alerts.
3. Each command or response consists of a Flexio packet (see below).
4. The third party should respond within 500ms to any command, otherwise the controller system may ask again.
5. All numbers are represented low byte - high byte (little endian).
STX/Length /Command or Response/Data /Checksum/ETX
0x02/0x03 0x00 /0x83 /0x13, Unit#/0xXX /0x03- Message(Tx)
0x02/0xA8 0x00/0x00 /Data /0xXX /0x03 - Reply (RX)
Last edited: