Connecting the S5-100U to SINEC L1 S5-100U
• Storage location of the coordinating information for sending data (e.g., the message:
“Send Mailbox is enabled”)
Name: Coordination Byte Send, abbreviated: KBS
• 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-02