Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.2 Positioning Instruction
5.2.2 PSTRT instruction
5-57
ZP_PSTRT1
5
MODULE DEDICATED
INSTRUCTION
ZP_PSTRT1
5.2.2 PSTRT instruction
ZP_PSTRT1
Function
This instruction starts positioning of the specified axis. (Refer to the following.)
ZP_PSTRT1: Axis 1
ZP_PSTRT2: Axis 2
ZP_PSTRT3: Axis 3
ZP_PSTRT4: Axis 4
ZP_PSTRT1
ZP_PSTRT2
ZP_PSTRT3
ZP_PSTRT4
Executing condition
:
indicates any of the following
instructions.
ZP_PSTRT1
ZP_PSTRT2
ZP_PSTRT3
ZP_PSTRT4
Input argument EN:
Executing condition :Bit
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
:String
s:
Variable that stores control data :Array of ANY16 [0..2]
Output argument ENO:
Execution result
(TRUE: Normal, FALSE: Error)
:Bit
d:
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data
Internal device
R, ZR
J\
U\G
Zn Constant Others
Bit Word Bit Word


Structured ladder/FBD
ZP_PSTRT1
EN ENO
d
Un*
s
ST
ZP_PSTRT1
(EN, Un*, s,d);ENO:=
s
d