
Chapter 10. Configuring the I/O Driver from FIX/iFIX Applications179
See Also
Specifying Signal Conditioning in Database Manager
13BN Signal Conditioning
Signal conditioning defines how the process database scales incoming data.
Read
Algorithm
Variables
Lo_egu – the database block’s low
engineering value.
Span_egu – the span of the
engineering values.
BCD_value – the BCD value
converted from the raw value.
Result – the scaled value stored in
the database block.
Write
Algorithm
Writes to a 4-digit BCD register
using the following algorithm:
Result = (((InputData – Lo_egu) /
Span_egu) * 9999) + 0.5
and then converts the resulting value
back to a 4BCD value prior to
sending it to the process hardware.
Write
Algorithm
Variables
Lo_egu – the low engineering value.
Span_egu – the span of the
engineering values.
InputData – the database block’s
current value.
Result – the unscaled value.
Commenti su questo manuale