Special Functions
5, Register Read [REGR]
REGR K1 K500 K3 D1
X0
K2
S1· S2· S3· D1· D2·
6, Input Register Read [INRR]
INRR K1 K500 K3 D1
X0
K2
S1· S2· S3· D1· D2·
z Read register instruction, Modbus function code is 03H.
Function: Read the assigned bureau’s assigned register status to PLC’s assigned register.
Far away communication bureau number. Operands: K、TD、CD、D、FD
Far away communication bureau number. Operands: K、TD、CD、D、FD
Register number. Operands: K、TD、CD、D、FD
Local receive register’s start ID. Operands: D
Port number. Bound: K1~K2
S1·
S2·
S3·
D1·
D2·
Instruction description: when X0 is ON, execute REGR or INRR instruction. After finish
executing the instruction, set communication finish bit. No operation when X0 is OFF. If
communication errors, resend automatically. If reach 10 times, set communication error flag. User
can check the relative register to judge the reason.
e is 04H.
Function: Read the assigned bureau’s assigned input register status to PLC’s assigned register.
Far away communication bureau number. Operands: K、TD、CD、D、FD
Far away communication bureau number. Operands: K、TD、CD、D、FD
Register number. Operands: K、TD、CD、D、FD
Local receive register’s start ID. Operands: D
Port number. Bound: K1~K2
z Read the input register instruction, Modbus function cod
S1·
S2·
S3·
D1·
D2·
9