Precautions for Correct Use
If you specify the same axis for the master axis and slave axis, a Master and Slave Defined as
Same Axis minor fault (error code 5436 hex) will occur
.
Function
• The MC_CamIn instruction executes a cam motion that synchronizes the master axis phase and
slave axis displacement according to a cam table.
•
You must create the cam table specified for this instruction by using the Cam Editor and download it
to the Controller in advance.
• This instruction is executed when Execute changes to TRUE.
Precautions for Correct Use
For the cam table, you must use a cam data variable that was created on the Cam Editor of the
Sysmac Studio.
Additional Information
Use the Synchronize Menu of the Sysmac Studio to download the project.
For details on cam tables, refer to the NY
-series Industrial Panel PC / Industrial Box PC Motion Control
User’s Manual (Cat. No. W559).
Specify the phases and displacements in the cam table as relative quantities from a start point of 0.0.
0 0
60 200
120 100
180 300
240 100
300 200
360 0
Index = 0
1
2
3
4
5
6
Phase
Displacement
Start
point
End point
Cam data
Cam Table
The command positions for the master and slave axes are linear interpolations between two cam data
where the slave axis displacement corresponding to the master axis phase is calculated.
If there are only a few cam data, the intervals between phases are large and cam operation will not be
very precise. If there are many cam data, the intervals between phases are small and cam operation
will be very precise.
3 Axis Command Instructions
3-178
NY-series Motion Control Instructions Reference Manual (W561)