CX3G/FX3GC PLC Programming manual
www.coolmayplc.com
Read slave data instruction function and action description:
RD3A originally referred to the analog module readout.
For CoolMay PLC, the RD3A instruction corresponds to Modbus's No. 03 function.
In the instruction,
m1 represents the station number of the read slave device,range:1-247;
m2 represents the first address number of the read data in the slave device;
D represents the number of registers read, range: 1-32, and the read data is
sequentially stored in the host D.+1, D.+2.
D-1 address value must be set to 0. (=0: serial port 2; =1: serial port 3; =2: CAN)
Program example:
Slave program:
Host program: