Technical data

Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-193
Input parameters
Parameter Data type Start value Description
CamTable INT 0 Number of the cam disk technology DBs
Execute BOOL FALSE Start of the command at the positive edge
Mode INT 0 Value = 0: The leading axis position is assigned the
position of the following axis
Value = 1: The following axis position is assigned the
position of the leading axis
Any scaling and shift configured in S7T Config is
included in both modes.
Position REAL 0.0 Master or following axis position for which the
corresponding value is to be determined:
Mode = 0: Position of the leading axis
Mode = 1: Position of the following axis
The valid range of values of the parameter is derived
from the definition or range of values of the cam disk.
ApproachPosition REAL 0.0 Assumed leading axis position
Approximation in the definition range of the cam disk,
used to determine the leading axis position (effective
only when Mode = 1).
The function determines only the leading axis
position nearest to the ApproachPosition.
When two leading axis positions have the same
distance to the ApproachPosition, the leading axis
position with the lower position value is determined.
DoneFlag INT 0 DoneFlag generated in the MCDevice DB
Output parameters
Parameter Data type Start value Description
Done BOOL FALSE TRUE: The command is completed
Busy BOOL FALSE TRUE: Command is busy
CommandAborted
BOOL FALSE TRUE: The command was aborted by another
command or by an error during command
execution.
If ErrorStatus of the technology DB
does not indicate an error, the
command was canceled by a subsequent
command.
If ErrorStatus reports an error, an error at
the TO occurred during command
execution and has caused cancellation of
the command.