
COOLMAY EX3G PLC/HMI All in one Programming manual
54
M8424: Data is under receiving.
M8425: The transmission is completed and needs manual reset.
M8426: Switch between multi-machine mode and master-slave mode
M8426=1: CAN is in multi-machine mode, there is no master-slave division, and it can
transmit up to 8 bytes of data.
M8426=0: CAN is the master-slave mode. There must be one master on the bus line,
which is similar to the MODBUS function.
M8427: =0 means setting as CAN2.OB extension frame. =1 means setting as CAN2.OA
standard frame.
M8428: Set as ON while right response of MODBUS communication and needs manual reset.
M8429: Communication times out.
D8420
:
Communication parameters.
D8420: The 0th to 9th bits are CAN baud rate, 1K~1023K. The default is 500.
Supported baud rate:5 10 15 20 25 40 50 62 80 100 125 200 250 400 500 666 800 1000.
D8421: Communication protocol and description of master-slave station.
RS2 command: Setting as D8421=H10, which means RS protocol.
RD3A, WR3A, ADPRW command: D8421=H1 is master station, D8421=H10 is slave station.
D8126: When using the ADPRW instruction, set the D8126 to 2 when using CAN.
(lower than
26232 version)
D8397
: When using the ADPRW instruction, set the D8397 to 2 when using CAN.
(versions
26232 and above)
D8426: Interval period. Default as 12 times.
D8429: Time-out period.
D8434: Slave station number.
D8440: Save the local ID number (slave station number).
D8442: When multiplexed, save the slave ID number (the slave what data is read).
1,Support RS2 instruction
RS2 finial parameter =0: serial port 2;
=1: serial port 3;
=2
:
CAN
When RS2 support CAN, multiple channels can communicate with each other, ID(read 29 bit )=D8442
;
ID
(
write 29 bit
)
=D8440,at most 8 length.
29 digits indicate that the first three are useless. Multi-channel interconnection example:
LD M8000 RS2 D600 K8 D800 K8 K2
LD M8002 MOV H10 D8421
LDI M8422 ANI M8424 SET M8422
2,Support WR3A,RD3A instruction.
For specific operation explanation, please refer to
WR3A and RD3A instructions of serial port 2 or serial
port 3