Communication DMA-20 ↔ STG-570
Overview
The communication between STG-570 and DMA-20 is made via a CAN bus with a baud rate of 250 kBit/s.
The internal filter will not process CAN messages that do not have the ID 0x7FD.
Pressing a displayed button causes a CAN message to be sent to ID 0x7FC.
Template 0 - Intro Screen
This screen is displayed after power on until a CAN message with the ID 0x7FD is received.
Template 2 - „2 Value“
Displays the controls and values:
Show Template
CAN-ID:0x7FD
DLC: 8 Byte
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
U8 | I16 | I16 | U8 Unit1 | U8 Unit2 | U8 Visibility of the con- | ||
Tem- plate number | Value 1 -32768 … 32767 | Value 2 -32768 … 32767 | 0 1 % 2 °C | 0 1 % 2 °C | trols masked with one bit per Control Bit 0: Value1 | ||
0x02 | 3 °K | 3 °K | Bit 1: Unit1 | ||||
4 l | 4 l | Bit 2: Value2 | |||||
5 ml | 5 ml | Bit 3: Unit2 | |||||
6 m | 6 m | Bit 4: Button ESC | |||||
7 mm | 7 mm | Bit 5: Button UP | |||||
8 kg | 8 kg | Bit 6: Button DOWN | |||||
9 g 10 kN | 9 g 10 kN | Bit 7: Button OK | |||||
11 N | 11 N | ||||||
12 V | 12 V | ||||||
13 mV | 13 mV | ||||||
14 A | 14 A | ||||||
15 mA | 15 mA | ||||||
16 kΩ | 16 kΩ | ||||||
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
17 Ω 18 kW 19 W 20 h 21 min 22 s 23 ms 24 kHz 25 Hz 26 Ws 27 Wh 28 kWh 29 MWh 30 ‰ 31 As 32 Ah 33 H 34 F 35 V/m 36 A/m 37 lx 38 cd 39 lm 40 bar 41 Pa 42 kPa 43 J 44 kJ 45 m/s 46 km/h 47 m/s² 48 mol 49 mol/l 50 m² 51 m³ 52 ° 53 rad | 17 Ω 18 kW 19 W 20 h 21 min 22 s 23 ms 24 kHz 25 Hz 26 Ws 27 Wh 28 kWh 29 MWh 30 ‰ 31 As 32 Ah 33 H 34 F 35 V/m 36 A/m 37 lx 38 cd 39 lm 40 bar 41 Pa 42 kPa 43 J 44 kJ 45 m/s 46 km/h 47 m/s² 48 mol 49 mol/l 50 m² 51 m³ 52 ° 53 rad | ||||||
Example | ||
Value1: 12345 Value2: 12345 Unit1: 5 (ml) Unit2: 1 (%) | ||
Visibility: Value1 Unit1 Value2 Unit2 Button ESC Button UP Button DOWN Button OK | 0xFF (Visible) (Visible) (Visible) (Visible) (Visible) (Visible) (Visible) (Visible) | |
CAN-ID: DLC: | 0x7FD 8 Byte |
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
Button Feedback Message
The message will be sent after releasing the button.
CAN-ID: 0x7FC
DLC:8 Byte
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
Template number | Pressed button as Bit: | 0x00 | 0x00 | ||||
0x0005: Template 2 | bit 5: Button ESC bit 6: Button UP bit 7: Button DOWN bit 8: Button OK | ||||||
Example
When the button “ESC” gets pressed. CAN-ID: 0x7FC
DLC: 8 Byte
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
0x0005 | 0x00000020 | 0x00 | 0x00 | ||||