Technical data

Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-249
Parameter Data type Start value Description
Data ANY -- Data area containing the parameter values.
The data length is determined by the parameter data
type and the number of parameters to be written. The
combination consisting of the data type and repetition
coefficient of the ANY must result in the same data
length.
The data area has a maximum size of 228 bytes.
DoneFlag INT 0 DoneFlag generated in the MCDevice DB
Output parameters
Parameter Data type Start value Description
Done BOOL FALSE TRUE: Command execution
completed
Busy BOOL FALSE TRUE: Command is busy
Error BOOL FALSE TRUE: During command execution,
one error has occurred. The command
was not completed; the cause is found in
the ErrorID.
TRUE: During command execution,
no errors occurred.
ErrorID WORD 0
ErrorID of the Error output parameter.
MC_WriteDriveParameter - 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
Affects the input parameters ParameterNumber,
SubIndex, NumberOfElements or DoneFlag.
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.