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 (03 Of 11) -- 447 Chassis >> Basic Knowledge >> PSM Arithmetic, Example Of PSM Function >> PSM Arithmetic, Example Of PSM Function - GF54.21-S-3055-01TRD
April 5, 2026: LEMON Manuals is launched! Read the announcement.

PSM Arithmetic, Example Of PSM Function - GF54.21-S-3055-01TRD

Model 447 

With Code ED5 (Parameterisable special module) 

Except Code XM7 (MOPF II) 

Terminal 58D, comparison block 

Model 448 

With Code ED5 (Parameterisable special module) 

Except Code XM7 (MOPF II) 

Terminal 58D, comparison block 

Function blocks for terminal 58D 

G16501301Courtesy of MERCEDES-BENZ USA

The terminal 58D (interior CAN (CAN B): "SwillLvl") can be output at one of the pulse width modulation-capable outputs.

Value range 0...100 %
Frequency 500 Hz

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

Function description of implementation 

Comparator 1, calculation step 1 (Comp 1): 

Calculation block 1, calculation step 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 STEP 1 (COMP 1) CONFIGURATION

Input Signal name Signal ID Compare operation
Compare_1_a  Out_AU_Const_2 0x8041 Input a (a) ≥ Input b (b)
Compare_1_b  SwillLvl 0x2022  
Compare_1_c  SwillLvl 0x2022  
Compare_1_d  Const_Bit_0 0x1000  
ARITHMETIC UNIT - CALCULATION BLOCK 1, CALCULATION STEP 2 (CALC 1) CONFIGURATION

Input Signal name Signal ID Upper limit value Lower limit value
Calc_1_a  Out_AU_Compare_1 0x8024 1000 0
Calc_1_m1  Out_AU_Const_2 0x8041    
Calc_1_m2  Const_Bit_1 0x1001    
Calc_1_d  Const_Bit_0 0x1000    
ARITHMETIC UNIT - CONSTANT BLOCKS KB_1, CONFIGURATION

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

MFA 6, 1A high-side, PWM F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 F13 F14 F15 F16 Signal name Signal ID Multifunction output block    
MFA6_Eingang1 (active)  0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Out_AU_Calc_1 0x8000 - Model  Output (1)
MFA6_Eingang2 (const/pulse)  - - - - - - - - - - - - - - - - Const_Bit_0 0x1000   Reactivation attempts  1
MFA6_Eingang3 (CutOffReset)  - - - - - - - - - - - - - - - - Term15_Actv 0x1219   PWM type  Frequency (0)
MFA6_Eingang4 (cycle time)  - - - - - - - - - - - - - - - - Const_Bit_0 0x1000 -
MFA6_Eingang5 (pulse time)  - - - - - - - - - - - - - - - - Const_Bit_0 0x1000  
MFA6_Eingang6 (PWM active)  - - - - - - - - - - - - - - - - Out_AU_Calc_1 0x8000  
MFA6_Eingang7 (PWM period)  - - - - - - - - - - - - - - - - Out_AU_Const_1 0x8040  
MFA6_Eingang8 (PWM duty)  - - - - - - - - - - - - - - - - Out_AU_Calc_1 0x8000