P4: PLC for SINUMERIK 828D
14.6 Function interface
Possible error causes
● The index of the parameterized PI service (DB1200.DBB4001) is outside the valid range
● Parameter error
PI services: Cycle diagram
①
②
③
④
⑤
⑥
14.6.2.2
PI services
PI service ASUB
Function
With the "ASUB" PI service, it is possible to assign one program each to the interrupt numbers
1 and 2 from the PLC. These programs must be present in the NC in the machine manufacturer
directory (CMA) with fixed program names:
Interrupt:
If the programs are not available, then they must be created. A power on reset must then be
performed on the NC.
The PI service "ASUB" must only be executed once after the control powers up. The
assignment of the interrupt to the program is retained until the control powers up again.
1116
User sets the signal "Start", job execution starts.
After the PLC firmware signals "Job completed", the user resets the signal "Start".
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.
Directory
1
_N_CMA_DIR
2
Program name
PLCASUP1_SPF
PLCASUP2_SPF
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions