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 current feed value as the positioning address, write it when the BUSY signal is OFF.
■Program 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).
■RD77MS4 operation example
V
[Cd.181] Forward run JOG start
PLC READY signal
[Y0]
All axis servo ON
[Y1]
READY signal
[X0]
BUSY signal
[X10]
Error detection signal
([Md.31] Status: b13)
[Md.20] Current feed value
Refer to the following for the program example.
Page 570 Teaching program
• 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.
n1
nx
Teaching is possible
Teaching is impossible
Target position
n2
Teaching is possible
8 CONTROL SUB FUNCTIONS
8.9 Other Functions
t
8
289
Need help?
Do you have a question about the RD77MS2 and is the answer not in the manual?