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
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...