66
EXDUL-584E / EXDUL-584S
© 2018 by Messcomp Datentechnik GmbH
DV06
66
EXDUL-584E / EXDUL-584S
© 2018 by Messcomp Datentechnik GmbH
EV06
wasco
®
wasco
®
Lesen Netzwerkkonfigurationen
Dieser Befehl ermöglicht das Lesen aller Netzwerkkonfigurationen wie
IP-Adresse, Subnetmaske, Hostname, Gateway, DNS-Adressen, die
Einstellung der DHCP-Client-Funktion sowie der MAC-Adresse.
Beispiel: Lesen der Netzwerkkonfigurationen
Hostname = „EXDUL-584“, IP = 192.168.0.63, Subnetzmaske = 255.255.255.0,
Gateway = 192.168.0.1, Primary DNS = 192.168.0.1, Secondary DNS = 217.237.151.115
Byte
Senden
Beschreibung
Empfangen
Beschreibung
0
0C
Befehlscode 1. Byte
0C
Befehlscode 1. Byte
1
00
Befehlscode 2. Byte
00
Befehlscode 2. Byte
2
08
Befehlscode 3. Byte
08
Befehlscode 3. Byte
3
01
Längenbyte → 4 Byte
0C
Längenbyte → 48 Byte
4
00
reserviert
45
Hostname 1. Zeichen E
asci
5
00
reserviert
58
Hostname 2. Zeichen X
asci
6
00
reserviert
44
Hostname 3. Zeichen D
asci
7
01
Lesefunktion
55
Hostname 4. Zeichen U
asci
8
4C
Hostname 5. Zeichen L
asci
9
2D
Hostname 6. Zeichen -
asci
10
35
Hostname 7. Zeichen 5
asci
11
38
Hostname 8. Zeichen 8
asci
12
34
Hostname 9. Zeichen 4
asci
13
20
Hostname 10. Zeichen [Leer]
asci
14
20
Hostname 11. Zeichen [Leer]
asci
15
20
Hostname 12. Zeichen [Leer]
asci
16
20
Hostname 13. Zeichen [Leer]
asci
17
20
Hostname 14. Zeichen [Leer]
asci
18
20
Hostname 15. Zeichen [Leer]
asci
19
20
Hostname 16. Zeichen [Leer]
asci
20
3F
IP-Adresse 4. Byte Dezimalwert 63
21
0
IP-Adresse 3. Byte Dezimalwert 0
22
A8
IP-Adresse 2. Byte Dezimalwert 168
23
C0
IP-Adresse 1. Byte Dezimalwert 192
24
00
Subnetmaske 4.Byte Dezimalwert 0
25
FF
Subnetmaske 3.Byte Dezimalwert 255
26
FF
Subnetmaske 2.Byte Dezimalwert 255
27
FF
Subnetmaske 1.Byte Dezimalwert 255
Reading the network configuration
This command is used to read all of the network configurations such as
IP address, subnet mask, hostname, Gateway, DNS addresses and the
setting of the DHCP client function or MAC address.
Byte
Transmit
Representing
Receive
Representing
0
0C
Command code 1st Byte
0C
Command code 1st Byte
1
00
Command code 2nd Byte
00
Command code 2nd Byte
2
08
Command code 3rd Byte
08
Command code 3rd Byte
3
01
Length byte → 4 Byte
0C
Length byte → 48 Byte
4
00
reserved
45
Hostname 1st character E
asci
5
00
reserved
58
Hostname 2nd character X
asci
6
00
reserved
44
Hostname 3rd character D
asci
7
01
Read function
55
Hostname 4th character U
asci
8
4C
Hostname 5th character L
asci
9
2D
Hostname 6th character -
asci
10
35
Hostname 7th character 5
asci
11
38
Hostname 8th character 8
asci
12
34
Hostname 9th character 4
asci
13
20
Hostname 10th character [blank]
asci
14
20
Hostname 11th character [blank]
asci
15
20
Hostname 12th character [blank]
asci
16
20
Hostname 13th character [blank]
asci
17
20
Hostname 14th character [blank]
asci
18
20
Hostname 15th character [blank]
asci
19
20
Hostname 16th character [blank]
asci
20
3F
4th Byte IP address decimal value 63
21
0
3rd Byte IP address decimal value 0
22
A8
2nd Byte IP address decimal value168
23
C0
1st Byte IP address decimal value 192
24
00
4th Byte Subnetmask decimal value 0
25
FF
3rd Byte Subnetmask decimal value 255
26
FF
2nd Byte Subnetmask decimal value 255
27
FF
1st Byte Subnetmask decimal value 255
Example: reading the network configuration
Hostname = „EXDUL-584“, IP = 192.168.0.63, Subnet mask = 255.255.255.0,
Gateway = 192.168.0.1, Primary DNS = 192.168.0.1, Secondary DNS = 217.237.151.115