
COOLMAY EX3G PLC/HMI All in one Programming manual
46
M8029
:
Communication completion flag (communication completion flag when using ADPRW instruction,
needs to be reset by hand).
M8161
:
8-bit/16-bit mode distinguishing flag for RS/RS2 instruction (used in version 26230 and above,
always in 8-bit mode in versions 26210 and 26220)
D8400
:
Save the communication parameters of the Modbus RTU protocol
D8401
:
Save the communication mode of serial port 3. D8401=H11 represents PLC as Slave
;
D8401=H1
represents PLC as Master;D8401=H0 represents the RS free communication mode.
D8414
:
Save the host or slave station number.
D8126
:
When using the serial port 3 in the ADPRW instruction, set D8126 to 1.
(26232 version lower)
D8397
:
When using the serial port 3 in the ADPRW instruction, set D8397 to 1. (26232 version and higher)
Support RS2,WR3A,RD3A,ADPRW instructions,Can be set in parameter zone
,
correspond to serial port 3.
Parameter zone settings are valid only for this channel. Invalid for serial port 2.
D8400 Parameter set
Bit number
Content
b0
Data length
0:7 bit
1:8 bit
b2
b1
Parity
00:None
01:Odd
11:Even
b3
Stop bit
0:1 bit
1:2 bit
b4
b5
b6
b7
Baud rate (b7b6b5b4)
0100:600bps
0101:1200bps
0110:2400bps
0111:4800bps
1000:9600bps
1001:19200bps
1010:38400bps
1011:57600bps
1101:115200bps
b8
Unavailable, Set 0
b9
b10
b11
b12
Unavailable, Set 0
b13
b14
b15