LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Mercedes Benz >> 2021 >> Metris Van Cargo >> Repair and Diagnosis (Single Page) >> Accessories & Equipment >> Drivers Assistance Systems - ADAS >> Electrical System, Equipment & Instruments (05 Of 11) -- 447 Chassis >> Basic Knowledge >> PSM Arithmetic, Example Of PSM Function >> PSM Arithmetic, Example Of PSM Function - GF54.21-D-3055-01TSJ
April 5, 2026: LEMON Manuals is launched! Read the announcement.

PSM Arithmetic, Example Of PSM Function - GF54.21-D-3055-01TSJ

Model 447, 448 

with code ED5 (Parameterisable special module) 

with code XM7 (MOPF II) 

Terminal 58D, comparison block 

Model 907, 910 

with code ED5 (Parameterisable special module) 

with code XJ4 (Modification year G4-I) 

Terminal 58D, comparison block 

Function blocks for terminal 58D 

G16501231Courtesy of MERCEDES-BENZ USA

Terminal 58D (Interior CAN (CAN B): "SwillLvl") can be issued at one of the pulse-width-modulated outputs.

Value range 0...100%
Frequency 500 Hz

Terminal 58D function is realized via the group of programmable logic controller (PLC), arithmetic unit and multifunction output blocks. The picture shows the simplified linking of the function blocks. The configuration is available in the tables.

Function description of implementation 

Comparator 1 calculation operation 1 (Comp 1): 

Calculation block 1, calculation operation 2 (Calc 1): 

Multifunction output block (MFA 6): 

IMPORTANT Signal identification number = Signal ID. The signal IDs are notated in hexadecimal form.

ARITHMETIC UNIT COMPARATOR 1, CALCULATION OPERATION 1 (COMP 1) CONFIGURATION

Input Signal name Signal ID Compare operation
Compare_1_a AU_Const_2 0xF039 Input a ≥ Input b
Compare_1_b SwillLvl 0x2024  
Compare_1_c SwillLvl 0x2024  
Compare_1_d Const_Bit_0 0x1000  
ARITHMETIC UNIT CALCULATION BLOCK 1, CALCULATION OPERATION 2 (CALC 1) CONFIGURATION

Input Signal name Signal ID Upper limit value Lower limit value
Calc_1_a AU_Compare_1 0xF028 10, 000 0
Calc_1_m1 AU_Const_2 0xF039    
Calc_1_m2 Const_Bit_1 0x1001    
Calc_1_d Const_Bit_0 0x1000    
ARITHMETIC UNIT CONSTANTS KB_1 CONFIGURATION

Constants Arithmetic unit Meaning
Konstante 1  5, 000 Frequency
Konstante 2  100 Valid maximum value of interior CAN (CAN B) signal
MULTIFUNCTION OUTPUT BLOCK CONFIGURATION

MFA9, 1A High-side, PWM F 1   F 3 F 4 F 5 F 6 F 7 F 8 F 9 F 1 0 F 1 1 F 1 2 F 1 3 F 1 4 F 1 5 F 1 6 Signal name Signal ID Multifunction output block - -
MFA9_Eingang1 (Active)  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 AU_Calc_1 0xF000 - Model  Output (1)
MFA9_Eingang2 (Const./pulse)  - - - - - - - - - - - - - - - - Const_Bit_0 0x1000   Reactivation attempts  1
MFA9_Eingang3 (CutOffReset)  - - - - - - - - - - - - - - - - Term15_Actv 0x1106   PWM type  Frequency (0)
MFA9_Eingang4 (Cycle time)  - - - - - - - - - - - - - - - - Const_Bit_0 0x1000 -
MFA9_Eingang5 (Pulse time)  - - - - - - - - - - - - - - - - Const_Bit_0 0x1000  
MFA9_Eingang6 (PWM active)  - - - - - - - - - - - - - - - - AU_Calc_1 0xF000  
MFA9_Eingang7 (PWM period)  - - - - - - - - - - - - - - - - AU_Const_1 0xF038  
MFA9_Eingang8 (PWM duty)  - - - - - - - - - - - - - - - - AU_Calc_1 0xF000