5 - 182
5 OPERATION CONTROL PROGRAMS
(3) The device No. specified with (S2) should be an even number. Set the cam
position calculation control data in the specified device as follows.
(a) Device assignment of the cam position calculation control data
Off set Name Description Range
+0
Cam position
calculation type
Specify the cam axis current feed value
calculation/cam axis current value per cycle
calculation
0: Cam axis current feed value
calculation
1: Cam axis current value per cycle
calculation
+1 Unusable Set 0. 0
+2
Cam stroke amount
Set the cam stroke amount for the cam position
calculation.
-2147483648 to 2147483647
[Output axis position units]
+3
+4
Cam axis length per
cycle
Set the cam axis length per cycle for the cam
position calculation.
1 to 2147483647
[Cam axis cycle unit]
+5
+6
Cam reference
position
Set the cam reference position for the cam
position calculation.
-2147483648 to 2147483647
[Output axis position units]
+7
+8
Cam axis current
value per cycle
• Set the cam axis current value per cycle for
the cam position calculation when calculating
the cam axis current feed value.
• Set the cam axis current value per cycle as
the starting point to search when calculating
the cam axis current value per cycle and the
cam position.
0 to (Cam axis length per cycle)
[Cam axis cycle unit]
+9
+10
Cam axis current feed
value
Set the cam axis current feed value for the cam
position calculation when calculating the cam
axis current value per cycle.
(This is not used when the cam position
calculation type is set to the cam axis current
feed value calculation.)
-2147483648 to 2147483647
[Output axis position units]
+11
(4) Specify the device No. with (D) to an even number.
The specified device stores the cam position calculation result as shown below
when the calculation is completed.
• Cam axis current feed value calculation:
The cam axis current feed value that is calculated within the following range is
stored.
-2147483648 to 2147483647 [Output axis position units]
• Cam axis current value per cycle calculation:
The cam axis current value per cycle that is calculated within the following range
is stored.
0 to (Cam axis length per cycle-1) [Cam axis cycle unit]
(5) The cam position calculation does not update the cam reference position
automatically.