EasyManua.ls Logo

Xinje X-NET fieldbus - Read Present Position [MOREAD]

Xinje X-NET fieldbus
82 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...
2-2-9Read present position [MOREAD]
1. Intruction summarize
This instruction can read the present absolute position.
Read present position [MOREAD]
16-bit
32-bit
MOREAD
Execution
condition
Rising/falling edge
Suitable
model
XDC
Hardware
-
Software
-
2. Operand
Operand
Function
Type
S0
Read present position
32-bit integer
S1
Axis number
16-bit constant
3. Suitable soft component
*Note: 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.
MOREAD HD100 K1
M0
S1·S0·
when M0 is from OFF to ON, MOREAD will refresh the state parameter in SD
register and read axis S1 present absolute position (SD2008+60*(N-1)) in S0 register.
S0: the register address to store the present absolute position
S1: slave axis number N, the range of N is from 1 to 10
EMOV instruction can transfer the data of SD register (dword).
Function and action
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ND
QD
S0
S1
Word