5 Common Command Instructions
Element No.
3601
...
3999
In the same way, the number of cam data and the phase and displacement for each cam data are calcu-
lated between node points according to the specified values for element 1 in CamNodes. The number
of cam data calculates as 1,800, so the phases and displacements of element 1801 to 3600 are written
to the cam data variable.
Element No.
0
1
...
1799
1800
1801
...
3599
3600
3601
...
3999
Next, calculations are ended because element 2 in CamNodes has an invalid node. The cam data in
elements 3601 and higher in the cam data variable are invalid, so 0 is written as the phases.
Element No.
0
1
...
1799
1800
1801
...
3599
3600
3601
...
3999
However, if there were only 3601 elements in the cam data variable that was created with the Cam Edi-
tor of the Sysmac Studio, no invalid cam data would exist, so 0 would not be written as the value of the
phase of element 3601.
5-28
Distance (Displace-
Phase (Phase)
(Undefined)
(Undefined)
Distance (Displace-
Phase (Phase)
0.0
0.1
179.9
180.0
180.1
359.9
360.0
(Undefined)
(Undefined)
Distance (Displace-
Phase (Phase)
0.0
0.1
179.9
180.0
180.1
359.9
360.0
0.0
(Undefined)
NY-series Motion Control Instructions Reference Manual (W561)
ment)
(Undefined)
(Undefined)
ment)
0.0
0.1
179.9
180.0
179.9
0.1
0.0
(Undefined)
(Undefined)
ment)
0.0
0.1
179.9
180.0
179.9
0.1
0.0
(Undefined)
(Undefined)