Siemens SIMATIC S5 1P 243 Equipment Manual page 90

Analog module with fb 160, fb 161
Hide thumbs Also See for SIMATIC S5 1P 243:
Table of Contents

Advertisement

Programming Instructions
7.4.3 Assignment of the Inputs and Outputs
The program is designed in a way that allows easy adaptation to different input and output assign-
ments. The program block (PB 243) that contains the test program works with flags only. The in-
puts and outputs to be used are allocated to these flags by organization block OB 1.
In the example the flags are the input word IW4 and the output word QW4 or the input word IW4
and the output word QW8 for theS5–115U.
I 4.0
F 4.0
I 4.1
F 4.1
14.2
F 4.2
I 4.3
F 4.3
I 4.4
F 4.4
I 4.5
F 4.5
F 4.6
14.6
I 4.7
F 4.7
IB5
FY 9
F 14.0
Q 6. O/Q 10.0
F 14.1
Q 6.1/Q 10.1
FW 10
FW 12
FY 16
FY 17
7 – 14
NORM
Standardize analog value (convert)
DE L
Read binary inputs
Read comparator outputs
LOG
Switch over gating logic
STR
Enable signal for comparator interrupt
DA-S
Write binaty outputs
Reset all binary outputs and flags
DA
Binary outputs for output via the analog module
DE
Binary inputs read by the analog module
KOMP
Comparator outputs read by the analog module
ADU
Analog value read by the module
DAU
Analog value output via the module
Error flag byte (FY 255) of FB 160
Error flag byte (FY 255) of FB 161
R 02/92

Advertisement

Table of Contents
loading

Table of Contents