Download Print this page

Xinje XD Series User Manual page 265

Hide thumbs Also See for XD Series:

Advertisement

This instruction cannot read XINJE PLC input coil.
Single Coil Write [COLW]
1)Summary
Write local device specified coil to remote station no's coil.
Single Coil write [COLW]
16 bits
COLW
instruction
Execution
Normally ON/OFF, edge
Condition
triggering
Hardware
-
Requirement
2)Operands
Operands
Function
D1
Specify remote communication station number
D2
Specify remote coil start address
S1
Specify start address of local coil
S2
Specify serial port number
3)Suitable soft components
Operan
ds
D F
T
C
D
D
D
D1
D2
S1
S2
Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS. M includes M, HM, SM; S includes S
and HS; T includes T and HT; C includes C and HC.
Function
D1·
X0
COLW
K1
Write single coil, Modbus function code is 05H.
Serial port: K0~K5. K0: Port0 (RS232), K1: Port1(RS232), K2: Port2(RS485), K3:
Port3(left extension port), K4: Port4(above extension port 1), K5: Port5(above
extension port 2).
When X0 is ON, COLW instruction is executed, Modbus read write flag
Word soft elements
System
Consta
D
D
D
D
X
Y
M
S
D2·
S1·
S2·
K500
M1
K2
264
32 bits
-
instruction
Suitable
XD, XL
Models
Software
-
Requirement
Type
16 bits,BIN
16 bits,BIN
bit
16 bits,BIN
Bit soft elements
Module
nt
K/H
I
Q
X Y M S T C Dn.
D
D
● ● ●
K
System
m
● ● ●

Advertisement

loading