Programming
4.3 Time-based IO
High-precision input/output with Time-based IO
36 Function Manual, 08/2014, A5E33454822-AB
Error codes or status information is output as double word at the Status output.
The double word is divided as follows:
Segment of the
error code
z0yywwww Error of a system function:
• during startup (z = 0)
• during normal operation (z = 1)
System functions with subordinate use are coded in yy: See table with error codes.
wwww specifies the RET_VAL of the system function. The error information is available in the help for
z0yy0000 An error that does not originate in a system function. This error receives a consecutive error number yy.
The error can occur:
• during startup (z = 0)
• during normal operation (z = 1)
1001xxxx An error has occurred with system function RD_SINFO.
The low word xxxx displays the error information of the
RET_VAL return value from RD_SINFO.
•
Read the description of the RD_SINFO in the
TIA Portal information system.
• Make sure that TIO_SYNC is called in a
"Synchronous Cycle" OB.
10020000 The read cycle time of the isochronous OB is LT#0ms or
has as negative value and is therefore invalid.
The instruction can only be used without errors in an
• Correct the value of the cycle time.
• Make sure that TIO_SYNC is called in a
"Synchronous Cycle" OB.
10030000 The TIO_SYNC instruction is not called in an isochronous
OB. The instruction can only be used without errors in an
isochronous OB.
Possible cause:
The TIO_SYNC instruction was called in an "MC-Servo"
or "MC-Interpolator" OB.
Make sure that TIO_SYNC is called in a
"Synchronous Cycle" OB.
10040000 The assigned value at the PIP_Mode input parameter is
outside the valid range of 0 to 2.
Correct the value at the PIP_Mode input
10050000 The assigned send clock is outside the permitted range of
0 < SendClock <= 4 ms and is therefore invalid.
Correct the value of the send clock.
0006xxxx An error has occurred during execution of the SYNC_PI
system function. The low word xxxx displays the error
information of the RET_VAL return value from SYNC_PI.
Read the description of the SYNC_PI in the
TIA Portal information system.
0007xxxx An error has occurred during execution of the SYNC_PO
system function. The low word xxxx displays the error
information of the RET_VAL return value from SYNC_PO.
Read the description of the SYNC_PO in the
TIA Portal information system.