Function Blockapplication - Siemens SIMATIC S5 1P 243 Equipment Manual

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

Advertisement

Programming Instructions
The module basic address and the channel number for the analog value are specified by parame-
ter BGKN. Depending on the channel number, the function block reads an analog value from the
module and outputs it at parameter ADC.
The representation of the analog value depends on the NORM parameter:
NORM = "O":
The analog value read at the module is output unchanged at parameterADC (as a
bit pattern according to the description in the operating instructions).
NORM = "1"
The analog value read at the module is converted to the nominal range. The nomi-
nal range is defined by the values at parameter BT The conversion formulas are:
for BT = O (Nominal range O V to 10 V):
for BT = 1 (Nominal range –10 Vto +10 V):
for BT = 2 (Nominal range –5 V to +5 V):
The analog value is output as a 16–bit fixed–point numeral for the unit mv.
When parameter DE–L has the signal status"1", the binary module inputs are read and then out-
put at parameter DE. If the module has no binary inputs, signal status "O" is output to all bits.
When parameter KP–L has the signal status"1", the comparator outputs of the module are read
and then output at parameter KOMI? The bits now required, LOG and STR, are set in accordance
with the parameters LOG and STR, and they are transferred to the module during channel selec-
tion.
7 – 6
20000
20000
20000
R 02/92

Advertisement

Table of Contents
loading

Table of Contents