68
7 OPERATION EXAMPLES
7.1 Operation Examples
7
OPERATION EXAMPLES
This chapter describes the programming procedure and the basic program of the Simple Motion module. When applying the
program examples provided in this manual to an actual system, properly verify the applicability and reliability of the control on
the system.
7.1
Operation Examples
Overall configuration
The program examples show the programs of the following operations.
• Machine home position return execution
• Execution of 1-axis linear control using axis 1
• JOG operation execution
The following table shows the overall configuration of the positioning control operation examples. Note that the programs in
the list are the ones using the axis 1 only.
Programming procedure
Take the following steps to create a program for the motion control:
1.
Set the system structure setting and parameter setting of the Simple Motion module setting for the initial setting.
Page 70 System setting, Page 71 Parameters
2.
Set the positioning data of the Simple Motion module setting.
3.
Program examples of each control
No.
Program name
Description
1
PLC READY signal [Y0] ON program
Notifies the Simple Motion module that the CPU module is normal before the start of positioning control.
2
All axis servo ON program
Enables the servo amplifier to operate.
3
Positioning start No. setting program
Sets the positioning data that are executed with a positioning start program. The operation example is the
case when the start No. is for machine home position return or the positioning data No.1 of the axis 1 is
used.
4
Positioning start program
Starts the machine home position return or the positioning control using positioning data.
5
JOG operation setting program
Sets the JOG operation speed.
6
JOG operation execution program
Starts the JOG operation.