4.2.6.3
Changing the axis configuration when a cam track is active
Changing the axis configuration for an assigned, active cam track affects cam track
behavior.
Changing modulo length
Changing the modulo length of an axis does not affect the definition or behavior of a cam track
when it is enabled.
If the modulo length of an axis is changed, the conversion of the cam track on that axis is not
automatically adjusted. If necessary, when changing the modulo length, you must deactivate
the active cam track and activate it again, so that the axis can be mapped according to the
new modulo length.
Output-cam output is aborted if the modulo length on an axis is changed and the axis is
restarted.
Redefine axis
If the axis position is changed during operation, e.g. with _redefinePosition, the cam track is
aborted and restarted. The change is interpreted as a skip in the modulo range. The cam track
is mapped onto the new modulo range of the axis.
4.2.6.4
Calling up the status of cam tracks and single output cams
You can detect the status of single output cams and cam tracks at any time via system
variables, and use the status in the user program.
Table 4-9
Status and position of cam tracks and single output cams
System variable
Meaning
Description
control
Functional status of Cam
Track TO
The variable displays the state of the cam track. For example, it can
be active, inactive or waiting for the next cam track cycle.
state
Output status
The variable displays if cam track output is in an ON or OFF state.
singleCamState
Status of single output cam The singleCamState system variable is used to read out the status of
single output cams. The variable consists of a 32-bit array, in which
the lowest bit (bit0) represents output cam 0.
camTrackPosition
Position of the cam track
The camTrackPosition system variable is used to read out the actual
position of a cam track operation within a cam track cycle.
The cam track position is required, because the actual track position
of a cam track cannot be determined by means of the axis position of
a modulo axis (as, for example, the track length could be longer than
the modulo range of the axis).
The detected value always lies between the start (always "0") and end
(defined by the cam track length) of the track.
4.2.7
Inverting a cam track
If the application requires, you can invert the cam track's activation level. The Cam Track TO
retains its positive logic. The cam track switches at level 1 or high.
Cam Track TO - Part II
4.2 TO Cam Track basics
Output Cams and Measuring Inputs
Function Manual, 04/2014
95