CX3G/FX3GC PLC Programming manual
www.coolmayplc.com
3. Support ADPRW instruction
( Set D8126=2 Corresponds to optional CAN port)
For example, CAN port program of expansion board
LD M8002 MOV H1 D8421:CAN port of this PLC is the master station
LD M8000 MOV K2 D8126
LD M8 ADPRW H1 H2 H2000 K16 M100
It means that the CAN port of the PLC communicates with the CAN port of the
slave PLC, and reads 16-bit S0~S15 of the slave PLC to the M100~M115 of the master
PLC.
The default state is compatible with Mitsubishi original programs. The Mitsubishi
PLC only has one port to support the ADPRW instruction, depends on D8401 (in prior)
and D8421. All three ports of Coolmay PLC support the ADPRW instruction.
8.6 Network communication
Automatically detect the network after power-on. M8193=1 when there is a
network chip, network preparation.
Special relays, registers and registers that IP addresses used are as below.
Switch mark between Mitsubishi
functions and MODBUS