Phase
Phase
End point
Invalid data
End point
Cam data structure array
MyCam1 [0]
MyCam1 [995]
MyCam1 [996]
MyCam1 [997]
MyCam1 [998]
MyCam1 [999]
MyCam1 [1000]
MyCam1 [4999]
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
359.6
359.7
359.8
359.9
360.0
0
0
0
5
4
2
1
0
0
0
0
.
.
.
.
.
.
.
.
.
.
.
.
359.6
360.0
0
359.9
360.0
0
0
0
5
0
0
1
0
0
0
0
Displacement
Displacement
If this instruction is executed for a cam table after the phases for MyCam1[1000] to MyCam1[4997] are
changed to anything other than 0, EndPointIndex will be 4997.
Phase Phase
Invalid data
End point
Invalid
data
End point
Cam data structur
e array
MyCam1 [0]
MyCam1 [998]
MyCam1 [999]
MyCam1 [1000]
MyCam1 [4996]
MyCam1 [4997]
MyCam1 [4998]
MyCam1 [4999]
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
359.9
360.0
0
0
0
0
0
0
1
0
0
0
.
.
.
.
.
.
.
.
.
.
.
.
100.3
100.4
100.5
359.99
360.00
0
0
0
20.3
20.4
20.5
0
0.01
0.0
0
0
0
0
0
0
Displacement
Displacement
If this instruction is not executed even though the phases for MyCam1[1000] to MyCam1[4997] were
overwritten to values other than 0, cam operation will be executed between MyCam1[0] to My-
Cam1[999].
The cam table is overwritten, but the EndPointIndex does not change.
For information on the cam table data structure, refer to MC_CamIn on page
3-174.
Timing Charts
The following chart shows two ways to execute the instruction. A normal end is indicated for either
method.
The first time, Execute is changed to TRUE and then it is changed to F
ALSE before execution of the
instruction is completed.
The second time, the value of Execute is held.
5 Common Command Instructions
5-5
NY-series Motion Control Instructions Reference Manual (W561)
MC_SetCamTableProperty
5
Function