Technical data
10.3.1.1 Program for PLC 1
When a PLC starts up, the CP interface must be synchronized using a
SYNCHRON HDB.
PLC 1 sends DW 10 of DB 100 to PLC 2 and fetches the DW 1 of DB 100.
10.3.1.2 Program for PLC 2 (S5-95U)
PLC 2 receives the ZP from PLC 1 via DW 10 in DB 100. FB 150 transfers
the received DW 10 to DW 1 of DB 100 and therefore sends it back to PLC
1.
Assignment of DB 1 parameters of the S5 95U for L2
SL2 -> L2 parameters
STA 2 -> own L2 address
STA PAS -> station is passive
BDR 187.5 -> transmission rate 187.5 Kbps
SDT 1 12 -> smallest station delay 12 bit times
ST 380 -> slot time 380
ZPDB 100 -> transmit and receive DB of the ZP, DB 100
ZPSS FY 100 -> status byte of the ZP (FY 100)
ZPSA DW 1-1 -> output area of the ZP (DW 1)
ZPSE DW 10-10 -> input area of the ZP (DW 10)
DB 1 C:DZP95UST.S5D
0 : KS = "DB 1 ";
12: KS = "SL2: STA 2 STA PAS ";
24: KS = "BDR 187.5 SDT 1 12 ";
36: KS = "ST 380 ";
48: KS = "ZPDB DB100 ZPSS FY 100 ";
60: KS = "ZPSA DW 1 DW 1 ";
72: KS = "ZPSE DW 10 DW 10; ";
84: KS = "ERT: ERR DB 255 DW ;1 ";
96: KS = "END ";
108:
Table 10.2: DB 1
B8976060/02 Communication with Cyclic I/Os
10 - 29 Volume 1










