Instruction manual
8. OUTPUT MODULES
8 − 20
(4) Switching the stroke and cam No. during operation
(a) It is possible to change the cam stroke and effective cam number during
cam operation by using the sequence program.
(b) The stroke and cam No. are changed by means of the address set in the
"stroke, cam No. change point" setting made when creating the cam data.
When the "stroke, cam No. change point" is passed, the stroke/cam No. is
changed on the basis of the value in the stroke setting device and cam No.
setting device set in the cam parameters.
The figure below shows the timing for switching between cam No.1 and cam
No.2, and switching between stroke I1 and stroke I2 when the stroke/cam No.
change point is set as "0".
Cam shaft current value in one
revolution (PLS)
(Nc: Number of PULSES per
cam shaft revolution)
Cam No. setting device value
Stroke setting device
Effective cam No.
Effective stroke
1 cycle
N
C
-1,0 N
C
-1,0 N
C
-1,0
1
2
1
1
1
2
12
1
1
1
2
(c) Causes of errors when changing the stroke/cam No. during operation
1) The set cam No. and stroke are always input to the PCPU on switching
from the REAL mode to the VIRTUAL mode, and in the VIRTUAL mode.
On input to the PCPU, a relative check is executed. An error occurs, the
error detection signal (M2407+20n) comes ON, and the error code is
stored in the minor error code register in the following cases:
• When the stroke is outside the range 1 to 2147483647 (2
31
−1).
When, in the two-way cam mode, the following condition is not met:
stroke lower limit value + stroke ≤
≤≤
≤ 2147483647 (2
31
−1)
• When the control modes of the set cam Nos. are not the same.
Example