Teaching
GP.TEACH
This instruction teaches the specified axis.
Ladder diagram
(U)
("GP.TEACH1", "GP.TEACH2" enters .)
FBD/LD
EN
ENO
Un
d
s
("GP_TEACH1", "GP_TEACH2" enters .)
Setting data
■Description, range, data type
Operand
Description
*1
(U)
Position number of the module connected
(s)
Own station head device where control data is stored
(d)
Own station device to be turned on for one scan when the
instruction completes.
If the instruction is completed with an error, (d)+1 is also
turned on.
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, U displays as Un.
*2 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(U)
(s)
*1
(d)
*1 S cannot be used.
*2 T, ST, and C cannot be used.
16 POSITIONING INSTRUCTION
886
16.2 Positioning Module
(s)
(d)
Word
T, ST, C, D, W,
SD, SW, R
*2
Structured text
ENO:=GP_TEACH1(EN,Un,s,d);
ENO:=GP_TEACH2(EN,Un,s,d);
Range
1H to 10H
Refer to Page 887
Control data.
Double word Indirect
U\G
Z
LC
Data type
16-bit unsigned binary
Device name
Bit
Bit
Bit
Constant
specification
LZ
K,H
Data type (label)
ANY16
*2
ANY16_ARRAY
(Number of elements:
4)
ANYBIT_ARRAY
(Number of elements:
2)
BOOL
BOOL
Others
(U)
E
$