GF54.21-D-3015H Parameterization, Creation of Coding, PSM, Function
GF54.21-D-3015H Parameterization, Creation Of Coding, PSM, Function
- with CODE (ED5) Parameterizable special module (PSM)
- with CODE (ED8) Preinstallation for parameterizable special module (PSM)
How to proceed
The following pages explain the 3-step coding procedure, taking the function "Actuation of high beams via discrete inputs" as an example.
In order to achieve as efficient coding as possible, we recommend adhering to this procedure.
The high beams are to be switched on if a signal with "HIGH level" is applied either at discrete inputs 01 and 04 or at discrete inputs 02 and 03 (see the truth table).
Example
Step 1 - Sketching function
First of all, a sketch with a logic block and the following inputs and outputs must be made for the application example:
- "Switch on high beams" at the non-inverted output
- AND combination in sub-block X
- AND combination in sub-block Y
- XOR combination in sub-block Z
- Discrete input 01 at input 1 of logic block
- Discrete input 04 at input 2 of logic block
- Discrete input 02 at input 3 of logic block
- Discrete input 03 at input 4 of logic block
Discrete input 04 is low active.
To ensure that a "HIGH level" is applied at the logic block when the input is active, the input must be connected to ground (tml. 31).
Logic block from 3 2-fold combinations
221 Input 1
222 Input 2
223 Input 3
224 Input 4
A Output 1
AND AND combination
B Output 2
NAND Not AND combination
NOR Not OR combination
OR OR combination
X Sub-block 1
XOR Exclusive OR combination
XNOR Not exclusive OR combination
Y Sub-block 2
Z Sub-block 3
Step 2 - Coding function
Entry into the "Expert coding" of the PSM control unit takes place in the Diagnosis Assistance System (DAS) via the following menu items:
- "Control unit adaptations"
- "Read coding and change if necessary"
- "Expert coding"
See "Menu guidance in DAS" in the document "Parameterization of DAS coding, PSM, function".
First of all, the interfaces of the function "Switch on high beams" are defined via "Signal settings":
- Controller Area Network bus class B (interior) (CAN B) (vehicle function "Lights")
- Discrete input (as signal source)
With the "Signal adjustment" always ensure that you proceed from the destination to the source, in other words in accordance with the questions:
- 1. What is to be actuated?
- 2. What is it to be actuated by?
Signal setting
The "Switch on high beams" signal can be set via the following DAS menu masks:
- "Interfaces"
- "Signal to interior CAN bus"
- "Illumination and signaling horn"
See "Structure of DAS menu - Interfaces" in the document "Parameterization of DAS coding, PSM, function".
The signal is selected via the Diagnosis Assistance System menu mask "Lighting and signaling horn - Signal selection" and signal selection "Switch on high beams".
After this by pressing the button "F2" a change is made to the next DAS menu mask "Lighting and signaling horn - adjustment of signal sources". The signal ID of the signal source is then entered in this DAS mask. Using the signal list, we select "10F8" as the signal ID.
Selecting the signal ID also determines the type of technical interface.
Menu item "Signal list"
Finally after pressing the button "F2" the selected adjustment is displayed once more in the DAS menu mask "Lighting and signaling horn - adjustment of signal sources".
Setting of parameters
In the DAS menu mask "Illumination and signaling horn - Setting of signal sources", the "Switch on high beams" signal is linked to the parameter "Level-operated signal evaluation".
With this setting, the high beams remain on for as long as the conditions in the truth table are fulfilled.
The setting of the parameters has now been completed in this example. Pressing the "F1" button closes the DAS menu (the info window indicating that the signal setting procedure has been completed is displayed) and starts the coding procedure.
The coding carried out under the item "Signal adjustments already carried out"is documented in the DAS menu mask "Lighting and signaling horn - signal selection".
Activate programmable logic controller (SPS) group
By selecting the signal ID "10F8", we have set logic block 1 from "PLC group 1". We now want to activate "PLC group 1" via the DAS menu masks:
- "Logic functions (PLC)"
- "Activate or deactivate SPS groups"
See "Expert coding - Logic functions (PLC)" in the document "Parameterization of DAS coding, PSM, function".
The "SPS group 1" can now be activated via the DAS menu mask "Activation of SPS groups - property parameterizing" and coded with the "F3" button.
Setting of parameters
The logic block of PLC group 1 can be configured via the following DAS menu masks:
- "Logic functions (PLC)"
- "PLC group 1 - Selection of function group"
- "PLC group 1, logic blocks"
The parameters for the logic block of "PLC group 1" can now be set via the DAS menu mask "PLC group 1, logic blocks - Property parameterization".
The logic block is now configured and the coding is finally carried out with the "F3" button.
Signal setting
The signals for the inputs of logic block 1 can be set via the DAS menu mask "PLC group 1, logic blocks - Signal selection".
The settings for logic block 1 are as follows:
- Input 1: signal ID "1013" (discrete input 01)
- Input 2: signal ID "1010" (discrete input 04)
- Input 3: signal ID "1014" (discrete input 02)
- Input 4: signal ID "1015" (discrete input 03)
Discrete input 04 is low active.
The coding step is concluded by activating the "F1" button.
Step 3 - Completing function
The coding is now completed and can be tested.