Communication DMA-20 ↔ STG-570
1 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.
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 Template number 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 |
Template 1 - „1V“
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 | U8 | I32 | U8 Unit | U8 Visibility of the con- | |||
Tem- plate number | Param- eter number | Value −2147483648 … 2147483647 | 0 1 % 2 °C | trols masked with one bit per Control Bit 0: Parameter number | |||
0x01 | 0 …255 | Value will be shown with two Decimal places (−21474836,48 … 21474836,47) | 3 °K 4 l 5 ml 6 m | Bit 1: Value Bit 2: Unit Bit 3: –- Bit 4: Button ESC | |||
7 mm | Bit 5: Button UP | ||||||
8 kg | Bit 6: Button DOWN | ||||||
9 g | Bit 7: Button OK | ||||||
10 kN | |||||||
11 N | |||||||
12 V | |||||||
13 mV | |||||||
14 A | |||||||
15 mA | |||||||
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
16 kΩ 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
Parameter number: 99
Value: 99999
Unit: 5 (ml)
Visibility: 0xF7
-Parameter (Visible)
-Value (Visible)
-Unit (Visible)
-Button ESC (Visible)
-Button UP (Visible)
-Button DOWN (Visible)
-Button OK (Visible)
CAN-ID: 0x7FD
DLC: 8 Byte
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
0x01 | 0x63 | 0x9F | 0x86 | 0x01 | 0x00 | 0x05 | 0xF7 |
Button Feedback Message
The message will be sent after releasing the button.
CAN-ID: 0x7FC
DLC: 8 Byte
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 | ||||