9-23
9 Motion Control Functions
NJ/NX-series CPU Unit Motion Control Userās Manual (W507)
9-2 Single-axis Synchronized Control
9
9-2-5 Cam Tables
By using the HMI, etc. to set the values for the MC_GenerateCamTable instruction, you can create the
cam data variable and adjust the cam operation without using the Sysmac Studio.
The following is the procedure used to adjust the cam operation.
1
Create a user program, in advance, that includes the following processing.
⢠Assigning the value of the cam definition variable that is set from the HMI to the Generate
Cam Table instruction.
⢠Displaying the cam variable that is created by the Generate Cam Table instruction graphically
on the HMI.
⢠Displaying the value of EndPointIndex (End Point Index) on the HMI.
2
Set the value of the cam definition variable from the HMI.
3
Execute the Generate Cam Table instruction.
4
Verify the curve shape of the generated cam table and the value of the end point index dis-
played on the HMI.
5
If there is no problem with the curve shape of the cam table and the number of the cam data,
then execute the cam operation.
6
Verify the result of the cam operation and consider changing the value of the cam definition vari-
able.
7
Repeat steps 2 to 6.
For details on the cam definition variable and the Generate Cam Table instruction, refer to the MC_-
GenerateCamTable instruction in the NJ/NX-series Motion Control Instructions Reference Manual (Cat.
No. W508).
Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504-E1-10 or later) for information
on creating and transferring the cam definition variables using the Sysmac Studio.