Connecting the S5-100U to SINEC L1
S5-100U
•
Storage location of the coordinating information for receiving data (e.g., the message:
“Receiving data can be read”)
Name: Coordination Byte Receive, abbreviated: KBE
•
Programmer number (necessary if you want to transmit programmer functions over the SINEC
L1 local area network), abbreviated: PGN
You can set parameters for the programmable controller for the CPU 102 in the function block, and
for the CPU 103 version 8MA03 in the integrated data block (DB1).
13.2.1 How to Program in a Function Block, for CPU 102 and Higher
You can program the SINEC L1 local area network by first setting the parameters and then
programming the “messages” in the control program (see section 13.3.3)
Setting Parameters in the Function Block
You must define the following in the program:
•
Your own programmer number for the programmer bus functions
•
Your own slave number
•
The data or flag areas reserved by the send and receive mailboxes
•
The location of the coordination bytes
You program in the function block by calling up one of the two restart organization blocks (OB21 or
OB22). You store the corresponding parameters in the system data area of the programmable
controller by using the “TNB” block transfer statement. The SINEC L1 parameter block begins at
system data word 57.
Table 13-1. SINEC L1 Parameter Block
System Data
Word
High Byte
Low Byte
Address in
System Data Area
SD57
Programmer number
(1 through 30)
Slave number
(1 through 30)
EA72
H
EA73
H
SD58
KBE
Data identifier
KBE
DB or flag byte
EA74
H
EA75
H
SD59
KBE
Data word
KBS
Data identifier
EA76
H
EA77
H
SD60
KBS
DB or flag byte
KBS
Data word
EA78
H
EA79
H
SD61
SF
Data identifier
SF
DB or flag byte
EA7A
H
EA7B
H
SD62
SF
Data word
EF
Data identifier
EA7C
H
EA7D
H
SD63
EF
DB or flag byte
EF
Data word
EA7E
H
EA7F
H
You define the position of the coordination bytes and the starting addresses of the send and receive
mailboxes in each case by three bytes.
13-2
EWA 4NEB 812 6120-02b
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...