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
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):
- Limit valid value range of input signal to 0 to 100% for values at ber 100 wird 0 issued as a result.
Calculation block 1, calculation operation 2 (Calc 1):
- Calculate duty cycle.
Multifunction output block (MFA 6):
- Outputs the pulse width modulation (PWM) value at the output.
Signal identification number = Signal ID. The signal IDs are notated in hexadecimal form.
| 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 |
| 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 |
| Constants | Arithmetic unit | Meaning |
|---|---|---|
| Konstante 1 | 5, 000 | Frequency |
| Konstante 2 | 100 | Valid maximum value of interior CAN (CAN B) signal |
| 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 | |||