Configuration For A Plc-Plc Connection - Siemens SIMATIC CP 541 Manual

Communications processor
Table of Contents

Advertisement

Program Examples
H.1
PLC-PLC Connection
Introduction
Program Sequence
Configuration
Station 11
DB1 in CP 541
H-2
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.
Station 11
S5-95U
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
24:
KS =' TRT 30000
36:
KS =' SET 80
48:
KS =' SDT 1 80
60:
KS ='#DPS: NWO 16 NWI
72:
KS =' DPWD 50
84:
KS ='#COM: L1F 0
96:
KS =' BSAP 52
108:
KS =' PRI
.........
120:
KS =' END
132:
Station 12
CP 541
S5-95U
SINEC L2
HSQ 30
';
';
ST
1000
';
SDT 2 360 ;';
16
';
;#';
POL
10
';
UPDL 10
';
;#';
';
Communications Processor CP 541
CP 541
EWA 4NEB 812 6188-02

Advertisement

Table of Contents
loading

Table of Contents