Analog Value Processing
The associated sample program is written as follows:
FB13 STL
NAME:SEL-SAMP
:L
PW128
:T
FW128
:A
F 129.2
:JC =END
:T
FW10
:T
PB128
END:
:BE
10.8
Principle of Operation of Analog Output Modules
The CPU processes the digital values that the analog output modules convert to the required
voltages or currents. Various floating modules cover individual voltage and current ranges.
Signal Interchange between CPU and Module
The CPU transfers a digital value to the module's memory under a specified address. The user
starts the transfer via FB251 or "T PB" or "T PW" operation.
Block diagram10-26 illustrates the principle of operation of the 470 analog output module.
10-54
Description
EXAMPLE FOR SELECTIVE SAMPLING
READ ANALOG VALUE
TRANSFER TO AUXILIARY FLAG
SCAN ACTIVITY BIT
IF = 1, JUMP TO END
IF = 0, TRANSFER MEASURED VAL. TO FW 10
INITIATE SAMPLING
(1ST VAL. IS INVALID FOLLOWING RESTART)
S5-115U Manual
EWA 4NEB 811 6130-02b