If the input real value is outside the LO_LIM and HI_LIM range the output OUT is
clamped to the nearer of either the low limit or the high limit of the specified range for its
type (BIPOLAR or UNIPOLAR), and an error is returned. The signal state of ENO is set to
0 and RET_VAL is set equal to W#16#0008.
15.1.11 FC 108 - RLG_AA1 - Issue an Analog Value
The function RLG_AA1 (Issue an Analog Value) transforms an Input Value XE (Fixed
Point Number) into an output value for an analog output module in accordance with the
nominal range between OGR and UGR. If the nominal range is exceeded, an error mes-
sage is displayed.
Parameter Datentyp Speicherbereich Beschreibung
XE INT I, Q, M, L, D, constant Input value XE as a fixed point number
BG INT I, Q, M, L, D, constant Specify the module address
KNKT WORD I, Q, M, L, D, constant Channel number KN
Channel type KT
OGR INT I, Q, M, L, D, constant Upper limit of the input value XE
UGR INT I, Q, M, L, D, constant Lower limit of the input value XE
FEH BOOL I, Q, M, L, D Error bit
BU BOOL I, Q, M, L, D Range excess
n The BG parameter
– There is no address check. The range is the whole P area.
This function is only used to convert the FB251 of an existing S5 program
of an S5 CPU 941 to 944 to a function of an S7 program for the S7-400
programmable controller.
15.1.12 FC 109 - RLG_AA2 - Write Analog Value 2
The function RLG_AA2 (Issue an Analog Value) transforms an Input Value XE (Floating
Point Number) into an output value for an analog output module in accordance with the
nominal range between OGR and UGR. If the nominal range is exceeded, an error mes-
sage is displayed.
Parameter Data Type Memory Area Description
XE REAL I, Q, M, L, D, constant Input value XE as a floating point number
BG INT I, Q, M, L, D, constant Specify the module address
P_Q WORD I, Q, M, L, D, constant Peripheriebereich normal/erweitert
Error Information
Description
Differences between S5
and S7
Description
VIPA SPEED7
Standard
Converting > FC 109 - RLG_AA2 - Write Analog Value 2
HB00 | OPL_SP7 | Operation list | en | 18-30 802