Job type
● Read variable: DB1200.DBX0.1 = 0
● Write variable: DB1200.DBX0.1 = 1
Start job
The start signal must be set to start the job via a specified number of variables:
DB1200.DBX0.0 = 1
Note
A new job can only be started if the previous job was completed. See Section "Job
management: Waiting for end of job (Page 1103)".
The execution of a job may take several PLC cycles and vary depending on the utilization.
Therefore, the time for this function cannot be defined.
14.6.1.4
Job management: Waiting for end of job
The end of the job is always signaled back by the NC for the whole job in the global event
interface. The signals can only be read by the PLC user.
DB120x
Reading/writing NC data (NCK → PLC)
1)
Byte
Bit 7
DBB 2000
1) DB120x, with x = 0 ... 7 corresponds to variable 1 ... 8.
Job status
● End of job without error
DB1200.DBX2000.0 == 1 AND DB1200.DBX2000.1 == 0
● End of job with error
DB1200.DBX2000.0 == 1 AND DB1200.DBX2000.1 == 1
Possible error causes
● Number of variables (DB1200.DBB1) out of the valid range
● Variable index (DB1200.DBB1000) out of the valid range
● Simultaneous reading/writing of NC data from different servo drive objects
14.6.1.5
Job management: Job completion
Requirement
In order to complete the job, the start signal of the job must be reset from the PLC user program
after detection of the end of the job:
DB1200.DBX0.0 = 0
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Bit 6
Bit 5
Bit 4
Bit 3
P4: PLC for SINUMERIK 828D
14.6 Function interface
Bit 2
Bit 1
Error in job
Job com‐
Bit 0
pleted
1103