77
EXDUL-581E / EXDUL-581S
© 2019 by Messcomp Datentechnik GmbH
DV03
77
EXDUL-581E / EXDUL-581S
© 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 AIN01 Byte0
1
5
00
reserviert
w
1
w
1
Messwert AIN01 Byte1
1
6
01
Kanalbyte AIN01
w
1
w
1
Messwert AIN01 Byte2
1
7
01
Bereic/- 10.2V
w
1
w
1
Messwert AIN01 Byte3
1
8
00
reserviert
w
2
w
2
Messwert AIN02 Byte0
2
9
00
reserviert
w
2
w
2
Messwert AIN02 Byte1
2
10
02
Kanalbyte AIN02
w
2
w
2
Messwert AIN02 Byte2
2
11
01
Bereic/- 10.2V
w
2
w
2
Messwert AIN02 Byte3
2
12
00
reserviert
w
3
w
3
Messwert AIN04 Byte0
3
13
00
reserviert
w
3
w
3
Messwert AIN04 Byte1
3
14
04
Kanalbyte AIN04
w
3
w
3
Messwert AIN04 Byte2
3
15
01
Bereic/- 10.2V
w
3
w
3
Messwert AIN04 Byte3
3
Beispiel:
In folgendem Beispiel sollen AIN01, AIN02 und AIN04 abgetastet werden. Der Messbereich
soll bei allen /- 10.2V betragen
Messwert AIN01 = (integer) (Byte3
1
* 0x1 Byte2
1
* 0 Byte1
1
* 0x100 + Byte0
1
) [µV]
Messwert AIN02 = (integer) (Byte3
2
* 0x1 Byte2
2
* 0 Byte1
2
* 0x100 + Byte0
2
) [µV]
Messwert AIN04 = (integer) (Byte3
3
* 0x1 Byte2
3
* 0 Byte1
3
* 0x100 + Byte0
3
) [µV]
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 AIN01 Byte0
1
5
00
reserved
w
1
w
1
Measured value AIN01 Byte1
1
6
01
Channel byte AIN01
w
1
w
1
Measured value AIN01 Byte2
1
7
01
Range byte +/- 10.2V
w
1
w
1
Measured value AIN01 Byte3
1
8
00
reserved
w
2
w
2
Measured value AIN02 Byte0
2
9
00
reserved
w
2
w
2
Measured value AIN02 Byte1
2
10
02
Channel byte AIN02
w
2
w
2
Measured value AIN02 Byte2
2
11
01
Range byte +/- 10.2V
w
2
w
2
Measured value AIN02 Byte3
2
12
00
reserved
w
3
w
3
Measured value AIN04 Byte0
3
13
00
reserved
w
3
w
3
Measured value AIN04 Byte1
3
14
04
Channel byte AIN04
w
3
w
3
Measured value AIN04 Byte2
3
15
01
Range byte +/- 10.2V
w
3
w
3
Measured value AIN04 Byte3
3
Example:
In the following example, AIN01, AIN02 and AIN04 are to be sampled. The measuring range
may be +/- 10.2V for all values.
Measured value AIN01
= (integer) (Byte3
1
* 0x1 Byte2
1
* 0 Byte1
1
* 0x100 + Byte0
1
) [µV]
Measured value AIN02
= (integer) (Byte3
2
* 0x1 Byte2
2
* 0 Byte1
2
* 0x100 + Byte0
2
) [µV]
Measured value AIN04
= (integer) (Byte3
3
* 0x1 Byte2
3
* 0 Byte1
3
* 0x100 + Byte0
3
) [µV]