Siemens SIMATIC S5-115U User Manual page 437

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

S5-115U Manual
The following points apply to the assignment of DB1:
The parameter data to be interpreted must always be preceded by interprocessor commu-
nication flag definitions.
You can enter interprocessor communication flag areas in any order.
You can enter the byte numbers for an area in any order.
The CPU accepts the entries in DB1 only during Manual Restart. You must therefore execute a
program restart each time you modify DB1.
Signal Exchange with a CP
Set jumpers on the CP to enable the area required as interprocessor communication flag bytes.
The jumpers divide the area between bytes 0 and 255 into eight blocks of 32 bytes each.
Normally the entire interprocessor communication flag area is enabled. Setting is necessary only
when you use several CPs with interprocessor communication flags.
Specify the desired interprocessor communication flags in DB1. The bytes must be in the set area.
You can choose any bytes from this area. However, use only as many bytes as necessary to keep
the transfer time as short as possible.
Example:
20 interprocessor communication flag bytes are needed for a signal exchange:
14 bytes to transfer information to the CP
6 bytes to fetch information from the CP
The jumper setting on the CP enables the area between byte 128 and byte 159.
The interprocessor communication flags are defined in DB1 as follows:
Outputs:
FY 128 to 141
Inputs:
FY 142 to 147
The words in the DB are assigned as follows:
DW 0
:
KH =
1
:
KH =
2
:
KH =
DW 3
:
KH =
4
:
KF
5
:
KF
6
:
KF
.
.
.
DW 9
:
KF
DW 10
:
KH =
11
:
KF
12
:
KF
.
.
.
.
.
.
DW 24
KF
DW 25
:
KH =
EWA 4NEB 811 6130-02b
4D41
534B
Header ID
3031
CE00
=
+142
=
+143
=
+144
Interprocessor communication input
flags
=
+147
CA00
=
+128
=
+129
Interprocessor communication output
.
flags
.
.
=
+141
EEEE
End ID
Communications Capabilities
12-3

Advertisement

Table of Contents
loading

Table of Contents