12 - 70
MELSEC-Q
12 CONTROL SUB FUNCTIONS
12.7.4 Teaching function
The "teaching function" is used to set addr esses aligned using the manual control
(JOG operation, inching operation manual pu lse generator operation) in the positioning
data addresses (" Da.6 Pos itioning address/movement amount", " Da.7 Arc
address").
The details shown below explain about the "te aching function".
[1] Control details
[2] Precautions during control
[3] Data used in teaching
[4] Teaching procedure
[5] Teaching program example
[1] Control details
(1) Teaching timing
Teaching is executed using the sequence program when the BUSY sig nal
(XC, XD, XE, XF) is OFF. (During manual contr ol, teaching can be carried
out as long as the axis is not BUSY, even when an error or warning has
occurred.)
(2) Addresses for which teaching is possible
The addresses for which teaching is possibl e are "current feed values"
(Md.20 Current feed value) having the OP as a reference . The settings of
the "movement amount" used in incremental s ystem positioning cannot be
used. In the teaching function, these "current f eed values" are set in the
"Da.6 Positioning address/movement amount" or " Da.7 Arc address".
Positioning data
Positions aligned by manual
control
"Current feed value" A Da.6 Positioning address/movement
amount
"Current feed value" B Da.7 Arc address
(3) Dedicated instructions "TEACH 1, TEACH 2, TEACH 3,TEACH 4, PFWRT"
When the dedicated instructions "TEACH 1, TEACH 2, TEACH 3, TEACH
4, PFWRT" are used to execute the teaching func tion, the programming
becomes easier. Refer to Chapter 14 "Dedicated instructions" for details.