Technical data

Technology functions
CPU 317T: Technology Functions
6-82 A5E00251798-03
Parameter Data type Start value Description
Mode INT 0 Override mode:
Value = 0: Override motion:
The current motion is canceled
Value = 1: Append motion:
The motion command is written
to the command buffer
the axis is stopped at the
motion transition
DoneFlag INT 0 DoneFlag generated in the MCDevice DB
When the final velocity is reached, the DoneFlag value
is inverted
* Selection of the direction with "Determine based on sign of velocity setpoint" in
the default setting of S7T Config is not useful, because negative velocity
setpoint values can not be set at input parameter Velocity. The axis always
moves in positive direction if the configuration in S7T Config is faulty.
Output parameters
Parameter Data type Start value Description
InVelocity BOOL FALSE TRUE: The velocity set at input parameter Velocity
was reached,
or is maintained.
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.
(see also the note below)
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 WORD 0
ErrorID of the Error output parameter.
Note
Velocity setpoint zero (Velocity = 0.0): InVelocity is set when the axis has reached
standstill, and remains set as long as Execute = 1. Command execution is
completed when InVelocity is set, i.e. Busy = FALSE, and the technological
function can neither report CommandAborted, nor an Error.