EasyManua.ls Logo

Xinje X-NET fieldbus - Write in Present Position [MOWRITE]

Xinje X-NET fieldbus
82 pages
Print Icon
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-8Write in present position [MOWRITE]
1. Instruction summarize
This instruction can modify the motion axis present absolute position. It is used to correct the
position.
Write in present position [MOWRITE]
16-bit
32-bit
MOWRITE
Execution
condition
Rising / falling edge
Suitable
model
XDC
Hardware
-
Software
-
2. Operand
Operand
Function
Type
S0
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.
MOWRITE HD100 K1
M0
S1·S0·
when M0 is from OFF to ON, modify the axis present absolute position
(SD2008+60*(N-1)) to S0.
S0: the motion axis present position
S1: slave axis number N, the range of N is from 1 to 10
this instruction is invalid for multi-speed motion and synchronous motion. After using
the instruction MOSTOP, this instruction is invalid.
when modifying the present position (SD2008+60*(N-1)), the present displacement
quantity (SD2006+60*(N-1)), target position setting pulse numbers (HSD100+20*(N-1)), target
position feedback pulse numbers (HSD104+20*(N-1)), present displacement pulse numbers
Function and action
Operand
System
Constant
Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ND
QD
S0
S1
Word