Technical data
Linkage with PLC
CP 486 ⋅ 00/14 VIPA GmbH 163
6.4.3.7 Abort all Jobs of a Bank
FUNCTION CP_cncl_AG(a_nr : BYTE): INTEGER;
a_nr: identification for bank 2 or 3
$00 abort all still active jobs of bank 2
$80 abort all still active jobs of bank 3
Return: 0 or negative number if there is an error
This function calls the driver function "abort all jobs of a bank". The registers are preset according
to the transferred parameters when calling up. Meaning of the parameters is described in the section
of driver function. If there was an error during the job execution, then the respective error message
(negative number) is returned as function value. If the function can be executed without errors, i.e.
all jobs have been aborted, then 0 is returned.