EasyManua.ls Logo

Xinje XL Series - 6-5 Read write serial port parameters; 6-5-1 Read serial port parameters [CFGCR]

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...
296
6-5 Read write serial port parameters
In addition to modifying communication parameters through serial configuration panel, it can
also be realized by reading instruction [CFGCR] of serial parameters and writing instruction
[CFGCW] of serial parameters.
6-5-1 Read serial port parameters [CFGCR]
1)Summary
Read the serial port parameters to local specified registers.
Read serial port parameters[CFGCR]
16-bit
instruction
CFGCR
32-bit
instruction
-
Execution
condition
Normally ON/OFF, rising
edge triggering
Suitable
model
XD, XL
Hardware
-
Software
V3.4 and higher version
2)Operands
Operand s
Function
Type
D
Local register starting address
16-bit, BIN
S1
Read serial port parameters number
16-bit, BIN
S2
Serial port no.
16-bit, BIN
3)Suitable soft component
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
D
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.
Operator S1: The number of registers used to read serial parameters is generally 8
(XD5E/XDME series is 9).
Operator S2: Serial port range: K0 ~ K5. K0: Port0, K1: Port1, K2: Port2 or Port2-
RS232 or Port2-RS485, K3: Port3, K4: Port4, K5: Port5.
Function and action
tudonghoatoancau.com

Table of Contents

Related product manuals