Mitsubishi Electric MELSEC iQ-FX5 User Manual page 278

Application
Table of Contents

Advertisement

Teaching program example
The following shows a program example for setting (writing) the positioning data obtained with the teaching function to the
Simple Motion module.
■Setting conditions
When setting the feed current value as the positioning address, write it when the BUSY signal is OFF.
■Operation example
The following example shows a program to carry out the teaching of axis 1.
• Move the workpiece to the target position using a JOG operation (or an inching operation, a manual pulse generator
operation).
[Cd.181] Forward run JOG start
[Cd.190] PLC READY signal
[Cd.191] All axis servo ON signal
READY signal
([Md.140] Module status: b0)
[Md.141] BUSY signal
Error detection signal
([Md.31] Status: b13)
[Md.20] Feed current value
• Confirm the teaching function and teaching procedure before setting the positioning data.
• The positioning addresses that are written are absolute address (ABS) values.
• The positioning data written by the teaching function overwrites the data of buffer memory only. Therefore,
read from buffer memory and write to flash ROM before turning the power OFF as necessary.
Program example
Refer to the following for the program example.
Page 536 Teaching program
7 CONTROL SUB FUNCTIONS
276
7.9 Other Functions
V
n1
Teaching is possible
Target position
nx
Teaching is impossible
t
n2
Teaching is possible

Advertisement

Table of Contents
loading

Table of Contents