Function Manual
01/2017
19
Explanations regarding the pulse diagram:
1. Starting of the job by setting "Start" ("Job completed" and "Error in job" must be reset)
2. Job completed without errors (the results of the individual variables must still be evaluated)
3. Resetting "Start" after receiving the result
4. Signal change by PLC operating system
5. If the "Start" signal is reset inadvertently before receiving the result, the output signals are not refreshed without influence
on the internal execution of the function triggered
6. Error in job
The PI service ASUP function means the execution of PLCASUP1.SPF or PLCASUP2.SPF called by the PLC. The control
system provides two default ASUPs for the PLC.
You can also customize these two ASUPs by assigning the interrupt numbers 1 and 2 fixed program names from the PLC.
Prerequisite for this is the existence of the PLCASUP1_SPF or PLCASUP2_SPF programs in the CMA directory.
DB1200.DBB4001 = 1 Assignment of Interrupt 1 to the CMA_DIR/PLCASUP1_SPF program.
The interrupt has Priority 1.
DB1200.DBB4001 = 2 Assignment of Interrupt 2 to the CMA_DIR/PLCASUP2_SPF program.
The interrupt has Priority 2.
The following must be taken into account during the initialization:
● The PI service ASUP requires executing only once after a restart and is then retained.
● An initialization may only be performed when the channel is not active.
● If a "Ramp-up" program event has been configured, the initialization may only be started after the end of the program
event.
Relevant interface signals
Job
Result
Reading variables from the NCK area
1 to 8 values can be read with a read job (variable x: 0...7). There is a variable-specific part of the interface for this:
● Job: DB120x.DBB1000
● Result: DB120x.DBB3000
Job, variable-specific part
NC variable:
The NC variable is selected in the variable index (DB120x.DBB1000) (see Section "NC variable (Page 21)").
Area number, column / line index (DB120x.DBB1001 ... DB120x.DBB1005)
Various variables are declared as fields. For flexible addressing, the relevant field index must be specified as a column
and/or line index (e.g. R parameter no.).