Coolmay L02 Series PLC Programming Manual
M8029: Communication completion flag (communication completion flag
when using ADPRW instruction, manual reset is required).
M8161: 8-bit/16-bit mode distinction flag for RS/RS2 instructions
D8400: Save the communication parameters of Modbus RTU protocol, see
the setting introduction in the table for details.
D8401: Save the communication mode of serial port 3.
D8401=H0 means RS2 free communication mode.
For Modbus RTU: D8401=H11 means the PLC is the slave station;
D8401=H1 means the PLC is the master station.
For Modbus ASCII: D8401=H111 indicates that the PLC is a slave
station; D8401=H101 indicates that the PLC is a master station.
D8406: The number of interval cycles. Default=12 (times).
D8409: Timeout time. (The unit is milliseconds, and it is recommended to
set: when the communication rate setting is greater than or equal to 9600,
D8409 is set to 10~20; when the communication rate setting is less than 9600,
D8409 is set to 20~50).
D8414: Save the station number of the master or slave. (This value must
be set to the maximum K255 when doing the host)
D8397: When using ADPRW instruction, use serial port 3, and D8397 must
be set to 1.
Support RS2, WR3A, RD3A, ADPRW instructions. Can be set in the
parameter area, corresponding to serial port 3. The parameter area setting is
only valid for this channel. It is invalid for serial port 2.
D8400 communication parameter format setting:
Data length 0: 7 bits 1: 8 bits
Parity (b2, b1)
00: None
01: Odd odd
11: Even