Assigning Parameters To The S5-115U For Data Interchange - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

Communications Capabilities

12.2.3 Assigning Parameters to the S5-115U for Data Interchange

You must always specify the following in the program:
local slave number
the data or flag areas assigned for the Send and Receive mailboxes
the location of the coordination bytes
You can also define the following in the program (if required):
your own programmer No. for programmer bus functions
On the S5-115U, you can specify the location of the coordination bytes, the Send mailbox and the
Receive mailbox.
Programming is done either
in DB1 (see Section 11.3) or
in a function block that is called by one of the two restart organization blocks (OB21 or OB22).
Use the "TNB" or "TBS" block transfer operation to store the appropriate parameters in the
system data area. The SINEC L1 parameter block begins at system data word RS57 (see
Table 12-3).
System Data
Word
SD 57
SD 58
SD 59
SD 60
SD 61
SD 62
SD 63
*
You need a PG number if you want to transmit programmer functions over the SINEC L1 local area network.
Note carefully: Slave number "0" in the low-order byte is indicative of a master function. In this case, no PG/OP
functions may be forwarded over the CPU 943's or CPU 944's SI 2 interface (see Section 12.3.2)!
The PG number is retained in the event of a CPU Overall Reset via the programmer bus.
**
Flag or data byte; see Tables 12-4 and 12-5
Specify the location of the coordination bytes and the start addresses of the Send and Receive
mailboxes with three bytes each.
You can specify this information in the function block.
Define each byte either as a flag byte or as the high byte of a data word.
12-12
Table 12-3. SINEC L1 Parameter Block
High-Order Byte
PG number
*
(1 to 30)
CBR
data ID
**
CBR
data word
CBS
DB or flag byte
SMB
data ID
**
SMB
data word
RMB
DB or flag byte
S5-115U Manual
Low-Order Byte
Slave number
(1 to 30)
CBR
DB or flag byte
CBS
data ID
**
CBS
data word
SMB
DB or flag byte
RMB
data ID
**
RMB
data word
EWA 4NEB 811 6130-02b
Absolute
Addresses
EA72
EA73
EA74
EA75
EA76
EA77
EA78
EA79
EA7A
EA7B
EA7C
EA7D
EA7E
EA7F

Advertisement

Table of Contents
loading

Table of Contents