DVP- ES2/ EX2/ SS2/ SA2/ SX2/ SE&TP O pe r a t i on Ma nua l - Pr ogr am m i ng3- 2326. When RS instruction is applied for communication between a PLC and peripheral devices,usually the STX (Start of the text) and the ETX (End of the text) have to be defined. User canuse D1124~D1126 to set the STX and the ETX by means of COM2, or use the STX and theETX defined by the PLC. If the users use M1126, M1130, D1124~D1126 to set the STX and theETX, b8~b10 in D1120 using the RS-485 communication protocol need to be set to 1. Pleaserefer to the table below.M11300 1M1126 0D1124: user definedD1125: user definedD1126: user definedD1124: H 0002D1125: H 0003D1126: H 0000 (no setting)1D1124: user definedD1125: user definedD1126: user definedD1124: H 003A (’:’)D1125: H 000D (CR)D1126: H 000A (LF)7. Example of setting communication format in D1120:Communication format:Baud rate: 9600, 7, N, 2STX : “: “ETX1 : “CR”ETX2 : “LF”Check to the table in point 4 and the set value H788 can be referenced corresponding to thebaud rate. Set the value into D1120.b15 b00 0 0 0 0 1 1 1 1 0 0 0 1 0 0 07 8 8D11200N/AMOV H788 D1120M1002When STX, ETX1 and ETX2 are applied, care should be taken on setting the ON/OFF status ofM1126 and M1130.8. D1250(COM1)、D1253(COM3) communication error code:Value Error DescriptionH0001 Communication time-outH0002 Checksum errorH0003 Exception Code existsH0004 Command code error / data error