CX3G/FX3GC PLC Programming manual
www.coolmayplc.com
ADPRW instruction supports all functions of the MODBUS RTU.
No. 01: Read coil status and get the current status (ON/OFF) of a group of logic coils,
range 1-512
No. 02: Read the input status and get the current status (ON/OFF) of a group of
switch inputs, range 1-512
No. 03: Read the retentive register and get the current binary value in one or more
retentive registers, ranging from 1-32
No. 04: Get the current binary value in one or more input registers, range 1-32
No. 05: Force a single coil to force the on/off state (write bit) of a logic coil, range 1
No. 06: Load specific binary values into a retentive register (write register), range 1
No. 15: Force multiple coils, forcibly open and close a series of continuous logic coils
(write multiple bits), range 1-512
No. 16: Preset multiple registers, load specific binary values into a series of
consecutive holding registers (write multiple registers). Range 1-32
03 function code hold register output.
Program example:
Master program: