Chapter 6 Applied Instructions Communication-related registers (SR) Setting the communication format for a serial communication port 6_ 6-627 Special data register Description COM1 COM2 Card 1 Card 2 SR201 SR202 SR176 SR178 Communication port address SR209 SR212 SR177 SR179 Communication protocol For details, please refer to the following table to set up the communication format for a serial communication port. SR210 SR213 SR182 SR183 Communication timeout, unit: ms Suppose the setting value is larger than 0.
When the PLC executes the communication instruction and is in the receiving state, but no data is received after the timeout period or the intervening time between two characters exceeds the setting value, the timeout flag is ON. You can set the register to 0 to disable communication timeout monitoring. See the MODRW instruction set between 100–32767 (ms).
b0 Data length 7 (value=0) 8 (value=1) Parity bits 00 : None b2-b1 01 : Odd 10 : Even b3 stop bits 1 bit (value=0) 2 bits (value=1) 0001 (16#1) : 4800 0010 (16#2) : 9600 0011 (16#3) : 19200 0100 (16#4) : 38400 0101 (16#5) : 57600 b7-b4 0110 (16#6) : 115200 0111 (16#7) : 230400 Not available for RS-232 1000 (16#8) : 500000 Not available for RS-232 1001 (16#9) : 921000 Not available for RS-232 1111 (16#F) : Self-defined*1 b8-b15 Undefined (reserved)