P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1155
Job management: Waiting for end of job
The job end is signaled in the global event interface (offset 2000) using one of two signals for the complete job:
DB1200.DBX2000.0 == 1 or DB1200.DBX2000.1 == 1
The signals are written by the PLC operating system; therefore, they can only be read by the user. A job has
been completed if both acknowledgement signals are zero. They become zero if the user resets the signal "Start"
(DB1200.DBX0.1) after the end of the job.
Job completed
DB1200.DBX2000.0 = 1 job processing completed without error.
DB1200.DBX2000.0 = 0 otherwise is zero, if the user resets "Start".
Error in job
DB1200.DBX2000.1 = 1 order had an error, execution terminated.
DB1200.DBX2000.1 = 0 otherwise is zero, if the user resets "Start".
Possible error causes
• Number of variables (DB1200.DBB1) out of the valid range
• Variable index (DB1200.DBB1000) out of the valid range
Job management: Cycle diagram
DB1200 FB2/3
Reading/writing NC data [r]
NCK -> PLC interface
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
DBB 2000
Error in job
Job
completed
①
User sets the signal "Start", job execution starts.
②
After the PLC firmware signals "Job completed", the user resets the signal
"Start".
(UURULQMRE
-RE
FRPSOHWHG
6WDUW