573
8
8 Electronic Cam 8.5.5 Flag of End of Cycle and Flag of End
Cam enabling
Stop mode
Execution of electronic
cam
Slave axis
position
Flag bit of running
Set to ON
automatically
Set to OFF by user
program
Stop execution
8.5.5 Flag of End of Cycle and Flag of End
When a cam cycle is nished, the system will automatically set to ON special SM elements for the ag of
end of cycle. The ag of end of cycle remains ON. To detect end of the next cycle, you need to use the user
program to set the ag of end of cycle to OFF. When the next cycle is nished, the system will set the ag
to ON.
When execution of electronic cams or electronic gears ends, the system will automatically set to ON special
SM elements for the ag of end. The ag of end is set to OFF by the system or user program when the cam
is enabled.
The following table lists special SM elements for ag of end of cycle and ag of end.
X Axis Y Axis Z Axis Description
Flag of End of
Cycle
SM79 SM179 SM279
It is set to ON when a cam cycle is
nished.
Flag of End SM80 SM180 SM280
It is set to ON when execution of electronic
cams or electronic gears ends.
Cam enabling
Flag of end of
cycle
Slave axis
position
Flag of end
Cleared by
user program
Cleared by
user program
Execution of
electronic cam
Example:
Processing logic of end of cycle
Flag bit of end of cycle cleared
Processing logic of end
Flag bit of end cleared