H-2
Communications Processor CP 541
EWA 4NEB 812 6188-02
H.1
PLC-PLC Connection
This example shows a PLC-PLC connection between two S5-95Q program-
mable controllers. It is a bidirectional PLC-PLC connection.
From each programmable controller (station 11 and station 12), the value of
IB 33 is sent with a positive-going edge at I 32.0 to the partner PLC and indi-
cated there with QB 32.
Shown in Figure H-1 is the configuration for a PLC-PLC connection.
S5-95U
S5-95U
CP 541
CP 541
SINEC L2
Station 11
Station 12
Figure H-1 Configuration for a PLC-PLC Connection
Given in the following are the data blocks (DBs), function blocks (FBs) and
organization blocks (OBs) for station 11.
DB1 in CP 541
DB1
0:
KS =’DB1 SL2: TLN 11 STQ AKT ’;
12:
KS =’ BDR 500 HSQ 30 ’;
24:
KS =’ TRT 30000 ’;
36:
KS =’ SET 80 ST 1000 ’;
48:
KS =’ SDT 1 80 SDT 2 360 ;’;
60:
KS =’#DPS: NWO 16 NWI 16 ’;
72:
KS =’ DPWD 50 ;#’;
84:
KS =’#COM: L1F 0 POL 10 ’;
96:
KS =’ BSAP 52 UPDL 10 ’;
108:
KS =’ PRI ......... ;#’;
120:
KS =’ END ’;
132:
Introduction
Program Sequence
Configuration
Station 11
DB1 in CP 541
Program Examples