Справочник Пользователя для Mitsubishi Electronics MELSEC Q series MELSEC L series

Скачать
Страница из 412
5.2 Positioning Instruction
5.2.3 TEACH instruction
5-59
ZP_TEACH1
5
MODULE DEDICA
TED 
INSTRU
CTI
O
N
Z
P
_TEACH1
5.2.3  
TEACH instruction
ZP_TEACH1
Function
This instruction performs teaching for the specified axis. (Refer to the following)
• ZP_TEACH1: Axis 1
• ZP_TEACH2: Axis 2
• ZP_TEACH3: Axis 3
• ZP_TEACH4: Axis 4
ZP_TEACH1
ZP_TEACH2
ZP_TEACH3
ZP_TEACH4
Executing condition :
 indicates any of the following 
instructions.
ZP_TEACH1
ZP_TEACH2
ZP_TEACH3
ZP_TEACH4
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..3]
Output argument
ENO:
Execution result
: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_TEACH1
EN
ENO
d
Un*
s
ST
ZP_TEACH1
(EN, Un*, s,d);
ENO:=
s
d