Siemens SIMATIC S5 Manual page 114

Interface of the programmable controller
Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

S5-95U, SINEC L2
The procedures to set and modify parameters in DB1 and to transfer DB1 are described in detail in
section 1.4.
DB1 Parameters for PLC-to-PLC Connections
Table 6-2. DB1 Parameters for PLC-to-PLC Connections
Parameter
Block ID: SL2:
STBS
STBR
Argument
Permissible Range
n
MBx
MBy
*
The next flag byte is reserved as length byte
Example:
Two S5-95U are to communicate with each other.
Table 6-3. Assigning Parameters for PLC-to-PLC Connections
DB1 for PLC 1
156:
KS
='
168:
KS
=' BDR 500
180:
KS
='5120
192:
KS
='SDT 1 12
204:
KS
='STBS 2 MB10 STBR 2 MB11 ';
.
.
.
DB1 for PLC 2
156:
KS
='
168:
KS
=' BDR 500
180:
KS
='5120
192:
KS
='SDT 1 12
204:
KS
='STBS 1 MB21 STBR 1 MB22 ';
After you have completed assigning the parameters, you have to set up the control program for the
data exchange. The procedure for doing this is discussed in the next sections.
EWA 4NEB 812 6112-02
Argument
n MBx
n MBy
1 to 31
1 to 254
1 to 253
SL2: TLN 1
STA AKT';
HSA 10
TRT ';
SET 0
ST 400
';
SDT 2 360
';
SL2: TLN 2
STA AKT';
HSA 10
TRT ';
SET 0
ST 400
';
SDT 2 360
';
Data Transfer with PLC-to-PLC Connections
Significance
Job number and location of status byte 'Transmit
Job number and location of status byte 'Receive'
Explanation
Job number
Flag byte
Flag byte
L2 basic parameters (see section 1.4 for
explanation)
Transmitting from station 1 to station 2, STB
'Transmit' is in MB10.
Receiving from station 2, STB 'Receive' is in
MB11 (MB12 is reserved as length byte)
L2 basic parameter (see section 1.4 for
explanation)
Transmitting from station 2 to station 1, STB
'Transmit' is in MB21.
Receiving from station 1, STB 'Receive' is in
MB22 (MB23 is reserved as length byte)
SINEC L2
*
Explanation
6-5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinec l2S5-95u

Table of Contents