Programming Instructions
7.2
Function Block FB 160 (PER:ANL)
7.2.1 Function Description
The function block "Read analog module" (when the module is outfitted accordingly) accepts the
selected analog value and outputs it either as a bit pattern, the way it arrives from the module, or as
a 16–bit fixed point numeral, standardized to the respective nominal value.
Furthermore, the binary inputs and the comparator outputs can be read with this function block.
Prior to reading the comparator outputs, the gating logic is switched over.
Function
FB 160 reads the analog and binary inputs, switches over the gating logic and reads the com-
parator outputs.
7.2.2 Calling the Function Block
In the STL (statement list):
S5-115U/H
NAME
BT
NORM
DEL
KP L
LOG
DE
NAME :PER:ANL
P/Q
:
BT
:
NORM :
DEL
:
KP L :
LOG
:
:
:
DE
:
:
7 – 2
In the IAD/CSF (Ladder diagram/
control system flowchart)
FB 160
— BGKN
— BT
DE
— NORM
— DEL
—
KP L
—
LOG
— STR
FB ~60
—
—
P/Q
DE
— BT
—
NORM
— DEL
—
KP L
— LOG
— STR
AG 1989, Order No: 6ES5 998-0KF21
R 02/92