Special Functions
1, Coil Read [COLR]
COLR K1 K500 K3 M1
X0
K2
S1· S2· S3· D1· D2·
2, Coil’s Read [INPR]
Communication Instructions
z Coil read instruction, Modbus function code is 01H .
Function: Read ned bureau’s assigned coil status to PLC’s assigned coil.
Far away com ion bureau number . Operands: K、TD、CD、D、FD
Far away coi number. Operands: K、TD、CD、D、FD
Coil numb Operands: K、TD、CD、D、FD
Local recei start ID. Operands: X、Y、M、S、T、C
Port numb d: K1~K2
D2·
D1·
S3·
S2·
S1·
the assig
municat
l’s start
er.
ve coil’s
er. Boun
Input
INPR K1 K500 K3 M1
X0
K2
S1· S2· S3· D1· D2·
Instruction description: when X0 is ON, execute COLR or INPR 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.
z Read the input coil instruction, Modbus function code is 02H
Function: Read the assigned bureau’s assigned input coil status to PLC’s assigned coil.
Far away communication bureau number . Operands: K、TD、CD、D、FD
Far away coil’s start number. Operands: K、TD、CD、D、FD
Coil number. Operands: K、TD、CD、D、FD
Local receive coil’s start ID. Operands: X、Y、M、S、T、C
Port number. Bound: K1~K2
D2·
D1·
S3·
S2·
S1·
7