Technical data
Technology functions
CPU 317T: Technology Functions
A5E00251798-03
6-245
Parameter Data
type
Start value Description
Data ANY -- Destination data area to which the parameter values
should be saved.
The maximum length of data to be read or transferred is
defined by the data type and the repetition coefficient at
the ANY pointer.
The data area has a maximum size of 234 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.
DataLength INT 0 Length of read data record information in bytes
MC_ReadDriveParameter - 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.