Fig. 34 Combination Of Two Channels Of The Elm3602-0002 With ±5 V And ±80 Mv Measuring Range - Beckhoff EPP3504-0023 Short Manual

4-channel measuring bridge,(sg) full/half/quarter bridge, 24 bit, 10 ksps
Hide thumbs Also See for EPP3504-0023:
Table of Contents

Advertisement

Commissioning
   nValueCombi_LREAL     :  LREAL;
   nKF                   :  REAL := nFSV_HI/nFSV_LO;
   nLimit                :  REAL := nMAX_PDO;
   nPDO1_REAL            :  LREAL;
   nPDO2_REAL            :  LREAL;
// Voltage values:
   nVoltage1             :  LREAL;
   nVoltage2             :  LREAL;
   nVoltageComb          :  LREAL;
END_VAR
Program code:
nPDO1_REAL := DINT_TO_LREAL(nSamplesIn1);
nPDO2_REAL := DINT_TO_LREAL(nSamplesIn2);
IF ABS(nPDO2_REAL) >= nLimit THEN
   nValueCombi_LREAL := nPDO1_REAL*nKF;
ELSE
   nValueCombi_LREAL := nPDO2_REAL;
END_IF
nValueCombi := LREAL_TO_LINT(nValueCombi_LREAL);
nVoltage1 := nPDO1_REAL * nFSV_HI/nFSV_PDO;
nVoltage2 := nPDO2_REAL * nFSV_LO/nFSV_PDO;
nVoltageComb := nValueCombi_LREAL * nFSV_LO/nFSV_PDO;
An application of this sample with a ±5 V FSV1 and a ±80 mV FSV2 and an input signal of ±5.68 V shows
the voltage curve at input 1, input 2 and both combined inputs as a continuous range in the lowest recording.
In the recording of input 2 the range of +/- overflow is marked (negative/ positive clipping):
Fig. 34: Combination of two channels of the ELM3602-0002 with ±5 V and ±80 mV measuring range
With an applied delta voltage of approx. 86 mV ±5 mV, the transition range is indicated by the voltage
characteristic of input 2 (values < 0 V):
110
Version: 1.2
EPP3504-0023

Advertisement

Table of Contents
loading

Table of Contents