69
EXDUL-592E / EXDUL-592S
© 2019 by Messcomp Datentechnik GmbH
DV02
69
EXDUL-592E / EXDUL-592S
© 2019 by Messcomp Datentechnik GmbH
EV03
wasco
®
wasco
®
Byte
Senden
Beschreibung
Empfangen
Beschreibung
0
0A
Befehlscode 1. Byte
0A
Befehlscode 1. Byte
1
00
Befehlscode 2. Byte
00
Befehlscode 2. Byte
2
02
Befehlscode 3. Byte
02
Befehlscode 3. Byte
3
03 (→ 12Byte)
Längenbyte
03 (→ 12Byte)
Längenbyte
4
00
reserviert
w
1
w
1
Messwert AINU1 Byte0
1
5
00
reserviert
w
1
w
1
Messwert AINU1 Byte1
1
6
01
Kanalbyte AINU1
w
1
w
1
Messwert AINU1 Byte2
1
7
01
Bereic/- 10.2V
w
1
w
1
Messwert AINU1 Byte3
1
8
00
reserviert
w
2
w
2
Messwert AINU2 Byte0
2
9
00
reserviert
w
2
w
2
Messwert AINU2 Byte1
2
10
0C
Kanalbyte AINU2
w
2
w
2
Messwert AINU2 Byte2
2
11
01
Bereic/- 10.2V
w
2
w
2
Messwert AINU2 Byte3
2
12
00
reserviert
w
3
w
3
Messwert AINI0 Byte0
3
13
00
reserviert
w
3
w
3
Messwert AINI0 Byte1
3
14
04
Kanalbyte AINI0
w
3
w
3
Messwert AINI0 Byte2
3
15
03
Bereic/- 20mA
w
3
w
3
Messwert AINI0 Byte3
3
Beispiel:
In folgendem Beispiel sollen AINU1, AINU2 und AINI0 abgetastet werden. Der Messbereich
soll bei den Spannungsmessungen +/- 10.2V und bei der Strommessung +/-20mA
betragen
Messwert AINU1 = (integer) (Byte3
1
* 0x1 Byte2
1
* 0 Byte1
1
* 0x100 + Byte0
1
) [µV]
Messwert AINU2 = (integer) (Byte3
2
* 0x1 Byte2
2
* 0 Byte1
2
* 0x100 + Byte0
2
) [µV]
Messwert AINI0 = (integer) (Byte3
3
* 0x1 Byte2
3
* 0 Byte1
3
* 0x100 + Byte0
3
) [µA]
Byte
Transmit
Representing
Receive
Representing
0
0A
Command code 1st Byte
0A
Command code 1st Byte
1
00
Command code 2nd Byte
00
Command code 2nd Byte
2
02
Command code 3rd Byte
02
Command code 3rd Byte
3
03 (→ 12Byte)
Length byte
03 (→ 12Byte)
Length byte
4
00
reserved
w
1
w
1
Measured value AINU1 Byte0
1
5
00
reserved
w
1
w
1
Measured value AINU1 Byte1
1
6
01
Channel byte AINU1
w
1
w
1
Measured value AINU1 Byte2
1
7
01
Range byte +/- 10.2V
w
1
w
1
Measured value AINU1 Byte3
1
8
00
reserved
w
2
w
2
Measured value AINu2 Byte0
2
9
00
reserved
w
2
w
2
Measured value AINu2 Byte1
2
10
0C
Channel byte AINU2
w
2
w
2
Measured value AINu2 Byte2
2
11
01
Range byte +/- 10.2V
w
2
w
2
Measured value AINu2 Byte3
2
12
00
reserved
w
3
w
3
Measured value AINI0 Byte0
3
13
00
reserved
w
3
w
3
Measured value AINI0 Byte1
3
14
04
Channel byte AINI0
w
3
w
3
Measured value AINI0 Byte2
3
15
03
Range byte +/- 10.2V
w
3
w
3
Measured value AINI0 Byte3
3
Example:
In the following example, AINU1, AINU2 and AINI0 are to be sampled. The measuring range
shall be +/- 10.2V for voltage measurements and +/-20mA for current measurements.
Measured value AINU1
= (integer) (Byte3
1
* 0x1 Byte2
1
* 0 Byte1
1
* 0x100 + Byte0
1
) [µV]
Measured value AINU2
= (integer) (Byte3
2
* 0x1 Byte2
2
* 0 Byte1
2
* 0x100 + Byte0
2
) [µV]
Measured value AINI0
= (integer) (Byte3
3
* 0x1 Byte2
3
* 0 Byte1
3
* 0x100 + Byte0
3
) [µA]