5 MODULE DEDICATED INSTRUCTION
5.2 Positioning Instruction
45
5
Teaching
ZP_TEACH1, ZP_TEACH2, ZP_TEACH3, ZP_TEACH4
The following instruction can go in the dotted squares.
ZP_TEACH1, ZP_TEACH2, ZP_TEACH3, ZP_TEACH4
■
Executing condition
■
Argument
Processing details
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
Setting data
Instruction
Executing condition
ZP_TEACH1, ZP_TEACH2, ZP_TEACH3,
ZP_TEACH4
Input/output
argument
Name
Description
Data type
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
(s)
(d)
Device
Item
Setting data
Setting range
Setting side
(s)[0]
System area
(s)[1]
Completion status
The instruction completion status is stored.
• 0: Normal completion
• Other than 0: Error completion (error code)
System
(s)[2]
Teaching data selection
Set the address (positioning address/circular address) to
which the current feed value is written.
0: Write the current feed value to the positioning address
1: Write the current feed value to the circular address
0, 1
User
(s)[3]
Positioning data No.
Set the positioning data number for which teaching is
performed.
1 to 600
User
Structured ladder/FBD
ZP_TEACH1
EN
ENO
d
Un*
s
ST
ZP_TEACH1
(EN, Un*, s,d);
ENO:=
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......