Blocks
Call and parameter Assignment
Parameter
Type
Z1
I
Z2
I
OV
Q
FEH
Q
Z3=0
Q
Z4=0
Q
Z3
Q
Z4
Q
6.1.3
Analog Value Matching Blocks
These blocks match the nominal range of an analog module to a standard range that you can
specify.
Reading in and scaling an analog value
Analog input modules convert analog process signals into digital values and store them in the
module. From there they are transferred cyclically to the CPU memory and also transferred to the
other subunit.
The FB 250 ANEI function block enables two types of access to the analog value:
•
Access to the cyclically updated CPU memory
or
•
Direct access to the analog input module memory
The type of access is defined when setting the FB 250 ANEI parameters. Figure 6-1 illustrates
further processing.
Selective Sampling
The 460 analog input module permits sampling of analog values
•
cyclically
•
selectively
In the case of cyclical sampling, the analog variables on the module are coded and catched one
after another. The user program has no influence on coding.
In the case of selective sampling, the user program initiates coding of the desired analog variables.
Coding begins when the module is referenced.
6-4
Data
Assignment
Type
W
-32768 to+32767
W
-32768 to+32767
Bi
"1" if overflow
Bi
"1" for division
by zero
Bi
"1": quotient
is zero
Bi
"1": remainder is
zero
W
16 bits
W
16 bits
- FB 250 -
Meaning
Dividend
Divisor
Name : DIV : 16
Z1
Overflow
display
Z2
OV
FEH
Z3=0
Scan
for zero
Z4=0
Z3
Scan
for zero
Z4
Quotient
Remainder
S5-115F Manual
STL
: JU FB 243
:
:
:
:
:
:
:
:
EWA 4NEB 811 6149-02