Download Print this page

Counter Cam - Siemens SIMOTION Function Manual

Motion control, output cams and measuring inputs
Hide thumbs Also See for SIMOTION:

Advertisement

Output Cam TO - Part I
3.2 Output cam TO basics
3.2.1.6

Counter cam

For a counter cam, it can be specified whether the output cam is to be output every time it
switches or every nth time it switches.
Note
Counter cams can only be configured for position-based and time-based cams. A counter
cam is used via the _setOutputCamCounter system function.
Counter cams can only be defined in the user program. In configuring the output cam, the
output cam type cannot be defined as counter cam.
Every counter cam has a starting count value and a current count value.
The current count value for the output cam is reduced by 1 every time the output cam switches.
If the current count reaches 0, the output cam is output (state system variable and output cam
output). At the same time, the current count value is reset to the starting count value. If the
current count value does not reach 0, the output cam output is suppressed. The default setting
of the starting count value and current count value is 1. The starting count value and current
count value are programmed by means of the _setOutputCamCounter. The current count
values can be scanned with the counterCamData.actualValue and
counterCamData.startValue system variables. No resetting of the values by the system takes
place, e.g. after _enableOutputCam or _disableOutputCam.
Figure 3-7
3.2.1.7
Cam output types
The cam calculations are performed in the processing cycle clock (IPO or IPO_2 cycle clock
or in the servo cycle clock). For the possible setting of Servo_fast or IPO_fast, see Chapter
Second servo cycle clock (Servo_fast) in the SIMOTION Runtime Basic Functions manual.
The temporal resolution of the cam output depends on the hardware used and the setting in
the configuration. In standard applications, the setting is undertaken using screen forms. The
configuration data can also be set via the expert list.
The possible setting options for cam output are described below:
22
4
3
2
Example of a counter cam
1
0
4
3
Output Cams and Measuring Inputs
Function Manual, 04/2014

Hide quick links:

Advertisement

loading