Technical data

Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-209
Output parameters
Parameter Data type Start value Description
Done BOOL FALSE TRUE: Command 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.
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.
MC_ExternalEncoder - 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
. Mode = 167, for example.
8044 Task not supported by the
technology object
Send a command to a cam, for example.
8045 Illegal command with current status For example, the encoder value is not valid at the moment
when the command is started (for example, hardware
deactivated).
804C Command output rate too high The command output rate with the same instance DB was
higher than the command interface was able to accept.
The second command is rejected in order not to violate
consistency the first.
For high command output rates, always use a separate
instance DB, or send the command again. Please note,
that although the first accepted command may be busy,
you may not be able to monitor it at the status outputs.
8050 Technology not ready During testing with breakpoints (CPU in HOLD), the
technology function has output a new command to the
technology. The command is rejected.