Technical data
Technology functions 
  CPU 317T: Technology Functions 
6-196  A5E00251798-03 
6.5  Technology functions - Cams, measuring sensors, 
external encoders 
6.5.1  FB 430 MC_CamSwitch - Position-based cam 
Purpose 
•  Using the "MC_CamSwitch" technology function you can enable / disable 
position-based cams or switching cams, and define their switching 
characteristics. 
•  In your cam configuration, you can define whether the switching positions are 
based on setpoints or actual values. 
•  Switching points can be advanced or retarded (derivative time and deactivation 
time). Here, the time unit set in S7T Config applies to the axis. 
•  The current switching state of the cam is stored in the technology DB. 
Applicable to 
•  Position-based cam 
•  Switching cams 
Overriding commands 
An MC_CamSwitch command can only be canceled by a further MC_CamSwitch 
command to the same technology object. An MC_CamSwitch command does not 
cancel any other commands. 
Input parameters 
Parameter  Data type  Start value  Description 
CamSwitch  INT  0  Number of the technology DB 
Execute  BOOL  FALSE  Operating state transition at the positive edge 
OnPosition  REAL  0.0  Switch-on position 
OffPosition  REAL  0.0  OFF position (applies to position-based cams) 
Hysteresis  REAL  0.0  Hysteresis 
Delay  REAL  0.0  Time-based offset of the switching points (Derivative 
time) 
Value < 0: Advanced switching 
Value > 0: Delayed switching 










