Technical data

Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-201
Parameter Data type Start value Description
DoneFlagPos INT 0 DoneFlag generation at the MCDevice DB when the
cam is switched on.
When the cam overtravels the ON position, the
DoneFlag value is inverted
DoneFlagNeg INT 0 DoneFlag generation at the MCDevice DB when the
cam is switched off.
When the cam overtravels the OFF position, the
DoneFlag value is inverted
Note
Drive failure does not influence the switching response of the assigned cams.
Output parameters
Parameter Data type Start value Description
Done BOOL FALSE TRUE: Changes were accepted
Busy BOOL FALSE TRUE: Command is busy
Error BOOL FALSE
TRUE: Command initiation
with error.
The command is not executed; the cause is
found in the ErrorID.
FALSE: Command initiation
without error
ErrorID BOOL 0
ErrorIDof output parameter Error.
MC_CamSwitchTime - ErrorIDs
ErrorID
Error message Description / to correct or avoid error
0000 No error -
8001 Internal fault Faulty or inconsistent project / software.
8005 Command canceled because of
input buffer overflow
The rate at which the user program outputs commands to
the technology is too high.
8007 An internal error has occurred at the
job interface
Due to an internal problem in the S7 system, commands
can not be accepted.
Check the consistency of your project data, then download
all system data to the module again.
8043 Illegal parameter value
Concerns the input parameters Mode, Direction, Duration,
Delay, Hysteresis, DoneFlagPos or DoneFlagNeg.
Valid for input parameter Hysteresis:
Infinite axis - Value > ¼ of the working range
(the working range is defined by the position of the SW
limit switches.)
Modulo axes - value > ¼ of the modulo length
8044 Command
not supported by the technology
object.
The command was sent to a measuring sensor, for
example.
The command was sent to a position-based cam or
switching cam, for example.