Technical data
Linkage with PLC
104 VIPA GmbH CP486 ⋅ 00/14
6.2 Installation of Bank Software for Linking PLC and CP486
6.2.1 PLC Side: Handling Modules
handling modules FB1 and FB2 have to be loaded in the PLC to enable communication with the
CP486. Handling module FB1 is called up in OB1 and handling module FB2 in the restart modules
(OB21 and OB22).
Example for calling up FB1 in OB1:
Module#OB1
BIB
0000 ;SPA FB 1
NAME #CP-L/S
ANSS =KY 2,32
PAA =KF +1
PAFE =MB 99
0005 ;BE
Transfer parameters:
ANSS: KY AN Number of jobs to be at most processed on the bank
when calling up a handling module
SS Number of basic bank
PAA: KF Update ident of process images on the bank when
calling up the handling module
>< 0 Process images are updated
= 0 Process images are not updated
PAFE: MB Error acknowledgement message of handling module
= 0 no error occurred
>< 0 error occurred. Error number is sent in PAFE-byte
Error number:
1 Number of jobs to be at most processed when calling up
a handling module is 0.
2 Number of jobs to be at most processed when calling up
a handling module is higher than 127.
3 Basic bank number is not divisible by 8
5 Bank is not synchronized yet by CP.
6 For a block job being the first call, no further job is allowed
to be in the bank.
7 A further block job is only allowed to be the first job in the bank.
Scratch markers used: MB200-MB255