Technical data
Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-127
MC_CamIn - Example of "Cam changeover at the end of a cycle"
Synchronization mode:
The following axis operates in absolute camming mode. The leading axis must
operated in relative camming mode for synchronization "at the end of active cycle".
Synchronization condition:
Input parameter Mode = 0 sets the sync condition which is defined by the axis
configuration or data written to the corresponding parameters. In this example, the
synchronization condition is changed while the system is in RUN.
Sequence
1. In S7T Config "Preset synchronization position of the leading axis" was
selected as the synchronization mode when presetting the synchronization
axis. The position reference was set to " Synchronize starting at the
synchronization position" and the value 0.000000 was selected as the Sync.
pos. master setpoint.
After Execute = 1, synchronization to Cam_1 starts at the value of 0.000000 of
the leading axis.
2. The synchronization condition is changed by calling FB MC_WriteParameter
(parameter 4266 of the following axis is set to
"AT_THE_END_OF_CAM_CYCLE".)
3. Data are provided to the cam instance of Cam_2 cam at input parameter
CamTable.
4. After the next Execute = 1, synchronization to Cam_2 cam starts at the end of
the active cams.
Position
Startpos = 80
t
360
Position
Slave
Position Master
360
Cam_1
Slave
Master
80
Cam_2
1
0
t
Execute
CamTable = Cam_2CamTable = Cam_1
at_the_end_of_cam_cycleon_master_position