EasyManua.ls Logo

Xinje XL Series - Page 270

Xinje XL Series
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
269
3)Suitable soft components
Operands
Word soft elements
Bit soft elements
System
Consta
nt
Module
System
D
F
D
T
D
C
D
D
X
D
Y
D
M
D
S
K/H
I
D
Q
D
X
Y
M
S
T
C
Dn.
m
D1
D2
S1
S2
K
*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,HS
T
includes T,HT
C includes C, HC.
REGW K1 K500 D1
X0
K2
D S1· S2·D
Write register, Modbus function code is 06H.
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, REGW instruction is executed, Modbus read write flag
SM160(serial port2) is set ON, SM160 is set OFF when the execution is completed. If
a communication error occurs and the number of resend is set, it will be automatically
resend. Users can check the relevant registers to determine the cause of the error. The
execution result of Modbus read and write instructions of serial port 2 is in SD160.
Multiple registers write [MRGW]
1)Summary
Write local device multiple registers to remote station no’s registers.
Multi-register write [MRGW]
16 bits
instruction
MRGW
32 bits
instruction
-
Execution
Condition
Normally ON/OFF, edge
triggering
Suitable
models
XD, XL
Hardware
Requirement
-
Software
Requirement
-
2)Operands
Operands
Function
Type
D1
Specify remote communication station number
16 bits
BIN
D2
Specify remote register start address
16 bits
BIN
D3
Specify register number
16 bitsBIN
S1
Specify start address of local registers
16 bitsBIN
S2
Specify serial port number
16 bitsBIN
Function
tudonghoatoancau.com

Table of Contents

Related product manuals