CX3G/FX3GC PLC Programming manual
www.coolmayplc.com
Program example:
Use the serial port tool to monitor serial port 3 for below
data:[2017:11:01:11:49:16][receive]37 38 39
Last parameter of RS2 instruction =0: serial port 2;
=1: Serial port 3;
=2: CAN.
3. Used as MOdbus RTU: set M8192=1; set D8400 as communication parameters,
set D8414 s as master slave station no. For example: D8400=H81,D414=K1
(communications parameter as 9600/8/n/1,slave station number is 1)
When PLC is as host, ADPRW,RD3A and WR3A is supported.
RD3A and WR3A only support the below MODBUS functions:
No. 03: Reads the retentive register and takes the current binary value range of 1-32
in one or more retentive registers.