P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
1156 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Job evaluation
When reading and writing variables, the variable-specific result interface (from DB120x.DBB3000) of each
variable processed in the job must be evaluated.
③
By resetting the signal "Start", the PLC firmware resets the signal "Job
completed".
④
After the PLC firmware signals "Error in job", the user resets the signal "Start".
⑤
By resetting the signal "Start", the PLC firmware resets the signal "Error in job".
⑥
If the user accidentally resets the signal "Start" before one of the signals "Job
completed" or "Error in job" is received, then the result signals for this job are not
updated. However, the job is executed.
DB1200, ... NC services [r]
DBB3000 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Error has
occurred
Variable
valid
DBB3001 Access result
DBW3002 -
DBD3004 Read value of the variables, max. 4 bytes
DB120x.DBX3000.0 (variable valid)
Value Meaning
1 Variable valid
0 Variable is not valid
DB120x.DBX3000.1 (error occurred)
Value Meaning
1 Error has occurred, cause of error, see: Access result DB120x.DBB3001
0 No error has occurred
DB120x.DBB3001 (access result)
Value Meaning
0 No error
3 Access to object is not permitted
5 Invalid address
10 Object does not exist