GF54.21-D-3001H Input Interface, PSM, Function
GF54.21-D-3001H Input Interface, PSM, Function
- with CODE (ED5) Parameterizable special module (PSM)
- with CODE (ED8) Preinstallation for parameterizable special module (PSM)
Discrete inputs
Positive active inputs
The states of the outputs are collected in the signal pool.
Ground-active inputs
The states of the outputs are collected in the signal pool. If the pull-up resistors at the low-active inputs are deactivated, these inputs can be used as high-active inputs. The detected signal is then inverted relative to the externally pending signal. This means that if the input is open, a logical "1" is detected. If 12 V are applied at the input, a logical "0" is detected.
Analog inputs
The analog input values are normalized with the supply voltage of the PSM control unit via an algorithm, then a threshold value evaluation takes place. The threshold value is underranged in the case of an active switch (low-active). The signal receives the logical status "active".
If no potential is applied at the input (i.e. open line), certain analog levels are present as a result of the internal wiring. In order to use the input as a high-active input, a pull-down resistor (at least approx. 1 k Ohm) must be connected to the input concerned. This reduces the level for "no potential applied/open line", thereby making detection more reliable. When a voltage is applied to the input, a corresponding current flows via the pull-up resistor.
In order to use the analog inputs as a digital ground-active input, the signals in the signal pool which are intended for this purpose are used.
The analog values and normalized analog values of the inputs are available as signals in the signal pool.
Further information can be found in the "Technical data" documents.
Parameterization options for inputs
The properties of the discrete inputs regarding wake capability and activation of pull-up or pull-down resistors and type of input (switch or button) can be changed via DAS. The various setting options are listed in the table below.
Input type "level-operated" and "edge-operand", switch and button
3 Input
4 Associated signal
When using a discrete input, it is important to note that the discrete input must be parameterized to "Switch" if a function where it is also possible to parameterize the option "Switch/ Button" (e.g. alarm functions or light functions) is actuated. Set the parameterization to "Switch" or "Button" in the properties of the Controller Area Network bus class B (interior) (CAN-B) functions or of the CAN-B output. The behavior will otherwise no longer be correct due to the series connection.
wake capability or activating pull-up or pull-down resistors
All inputs can wake the PSM control unit both with the positive edge and with the negative edge. Only the two analog inputs 07 and 08 can wake the PSM control unit with just a negative edge (high-low change at the respective connector pin).
The PSM control unit can thus also go into idle mode with switched-on inputs and nevertheless still register each change in the inputs.
The low-active inputs 04, 05 and 06 can then only be capable of waking, when the associated pull-up resistors are activated. With deactivated pull-up resistors and activated wake capability the undefined level of an open or unassigned can wake the PSM control unit when it is not desired.
If therefore one of these inputs is parameterized as capable of waking, the wake capability is only enabled by the activation of the associated pull-up resistor. If the pull-up resistor is not activated, the PSM control unit cannot be woken up using this input. Your external wiring configuration may make it necessary to deactivate the pull-up resistors.
If one of the inputs 04, 05 and 06 is parameterized as not capable of waking, then its associated pull-up resistor is switched off in each case when entering rest mode, in order to spare quiescent current.
Types of evaluation of 4 analog inputs 07, 08, 09 and 10
The analog inputs 07, 08, 09 and 10 can be evaluated, in addition to the evaluation as a digital input and the alternate usage of the measured voltage value at input in an additional 3rd way, as a multistage threshold switch. For this purpose, the measured input voltage is set in proportion to the current supply voltage of the PSM control unit. The thresholds of the threshold switch can then be specified as a percentage of the supply voltage. This enables evaluation independent of the supply voltage.
If no potential is applied at the input (i.e. open line), certain analog levels are present as a result of the internal wiring. If you want to use the input as a high-active input, you should connect a pull-down resistor (at least approx. 1 k Ohm) to the input. This reduces the level for "no potential applied/open line", thereby making detection more reliable. If you apply a voltage to the input, a corresponding current flows via the pull-up resistor.
To simplify matters, a number of thresholds have been predefined for certain application types and can be assigned separately for each of the 4 inputs in the properties of the discrete inputs.
To remain flexible, however, it is possible to parameterize thresholds manually for each input. These thresholds can be set in a separate submenu for the switching thresholds under the evaluation type "Parameterizable thresholds" in the properties. The results of the evaluations are made available in the signal pool for further use. With input 07, it is the following 8 bit signals:
- "Input 07, stage 1"
- "Input 07, stage 2"
- "Input 07, stage 3"
- "Input 07, stage 4"
- "Input 07, stage 5"
- "Input 07, stage 6"
- "Input 07, stage 7"
- "Input 07, stage 8"
The voltage value at the analog input is in the signal pool (e.g. input 07: "Input voltage", signal ID 3033). In the case of a configuration with e.g. one potentiometer, however, this value would depend on the supply voltage. The voltage ratio normalized to the supply voltage of the PSM control unit is also in the signal pool (e.g. input 07: "A/D value of input 07", signal ID 2022).
This value can be converted using the following formula so that it corresponds to the percentage value of the current input voltage relative to the supply voltage:
- Percentage = Reference value ÷ Signal "A/D value of input 07"
The following reference values exist:
- Reference value of inputs 07 and 08 = 2062 dec
- Reference value of inputs 09 and 10 = 4073 dec
Example
The value of the signal "A/D value of input 07" (signal ID 2022) is output with 44 dec in the menu "Actual values -> Test individual signals" of the Diagnosis Assistance System (DAS).
Applying the formula results in a percentage of 46 %. This means that, with a supply voltage of 12 V, a voltage of 0.46 x 12 V = 5.5 V is applied at input 07. In the following the preassignments are explained first and then the calculation of the freely adjustable thresholds.
Evaluation types - Stage threshold switches
For all stage threshold switches, the stages are assigned relative to the supply voltage at the PSM control unit.
Evaluation type - 2-stage threshold switch
- Stage 1: voltage < 20 %
- Stage 2: voltage ≥ 20 %
- Stage 3: not used
- Stage 4: not used
- Stage 5: not used
- Stage 6: not used
- Stage 7: not used
- Stage 8: not used
Evaluation type - 4-stage threshold switch
- Stage 1: voltage < 25 %
- Stage 2: 25 % ≤ voltage < 50 %
- Stage 3: voltage ≥ 75 %
- Stage 4: not used
- Stage 5: not used
- Stage 6: not used
- Stage 7: not used
- Stage 8: not used
Evaluation type - 8-stage threshold switch
- Stage 1: voltage < 12 %
- Stage 2: 25 % ≤ voltage < 37 %
- Stage 3: 25 % ≤ voltage < 37 %
- Stage 4: 37 % ≤ voltage < 50 %
- Stage 5: 50 % ≤ voltage < 62 %
- Stage 6: 62 % ≤ voltage < 75 %
- Stage 7: 75 % ≤ voltage < 87 %
- Stage 8: voltage ≥ 87 %
Type of evaluation taxi alarm button (only with input 07 and 08)
- Stage 1: emergency alarm system activate button actuated
- Stage 2: terminating resistor has invalid value
- Stage 3: terminating resistor valid (approx. 100 k Ohms)
- Stage 4: terminating resistor too high (line break)
- Stage 5: not used
- Stage 6: not used
- Stage 7: not used
- Stage 8: not used
Type of evaluation taxi alarm reset button (only with input 07 and 08)
For all stage threshold switches, the stages are assigned relative to the supply voltage at the PSM control unit:
- Stage 1: emergency alarm system cancel button actuated
- Stage 2: terminating resistor has invalid value
- Stage 3: terminating resistor valid (approx. 100 k Ohms)
- Stage 4: terminating resistor too high (line break)
- Stage 5: not used
- Stage 6: not used
- Stage 7: not used
- Stage 8: not used
Type of evaluation 560- Ohms -paddle shift (only with input 09 and 10)
- Stage 1: paddle shift to ground (Tml. 31) actuated
- Stage 2: not used
- Stage 3: paddle shift via 560 Ohms to ground (Tml. 31) actuated
- Stage 4: paddle shift not actuated
- Stage 5: not used
- Stage 6: not used
- Stage 7: not used
- Stage 8: not used
Evaluation type - Free parameterization of thresholds
- Stage 1: voltage < threshold 1
- Stage 2: threshold 1 ≤ voltage < threshold 2
- Stage 3: threshold 2 ≤ voltage < threshold 3
- Stage 4: threshold 3 ≤ voltage < threshold 4
- Stage 5: threshold 4 ≤ voltage < threshold 5
- Stage 6: threshold 5 ≤ voltage < threshold 6
- Stage 7: threshold 6 ≤ voltage < threshold 7
- Stage 8: voltage ≥ threshold 7
Parameterization of inputs 07 to 10
In the menu item "Switching thresholds for analog inputs 07 to 10 - Property parameterization", the threshold values can be set for each of the 4 analog inputs. This allows the thresholds to be adapted to individual requirements. The thresholds are entered in percent (see calculation of percentage above).
Values above 100 % are also possible, although there is a slight drop in accuracy with values above 150 %. Threshold switches with various thresholds, the analysis of which is dependent on the supply voltage, can thus be implemented quickly and simply. Unused thresholds must be assigned 255 %. The thresholds must be entered in ascending order to ensure that they function correctly. The gap between 2 thresholds should be at least 2 %.
Example 1: 3-stage evaluation
The assignment of 2 thresholds is necessary for preparing a 3-stage threshold switch.
In the example the 1st threshold should be at 50 % of the supply voltage and the 2nd threshold should be at 80 % of the supply voltage. The parameterization is then as follows:
- Threshold 1 = 50 %
- Threshold 2 = 80 %
- Threshold 3 = 255 % (deactivated)
- Threshold 4 = 255 % (deactivated)
- Threshold 5 = 255 % (deactivated)
- Threshold 6 = 255 % (deactivated)
- Threshold 7 = 255 % (deactivated)
Thresholds 3 to 7 are not used and must therefore be set to 255 %.
With this threshold assignment, it is for example possible to monitor a voltage range and to receive signals for underranging (stage 0), overranging (stage 2) and for correct position (stage 1).
Example 2: 8-stage evaluation
To create an 8-stage threshold switch, it is necessary to assign all 7 thresholds. In the example, a voltage divider which can move between 30 and 70 % of the supply voltage is to be monitored.
The parameterization is then as follows:
- Threshold 1 = 35 %
- Threshold 2 = 40 %
- Threshold 3 = 45 %
- Threshold 4 = 50 %
- Threshold 5 = 55 %
- Threshold 6 = 60 %
- Threshold 7 = 65 %
Thus in the area between 30 and 70 % 8 stages are produced, with which in a further processing (e.g. programmable logic controller (SPS)) arbitrary control functions can be realized.