![Pepperl+Fuchs VBG-PB-K20-DMD-C1 Скачать руководство пользователя страница 122](http://html1.mh-extra.com/html/pepperl-fuchs/vbg-pb-k20-dmd-c1/vbg-pb-k20-dmd-c1_manual_1527750122.webp)
AS-Interface
Command Interface
Subject to reasonable modifications due to technical advances.
Copyright Fuchs, Printed in Germany
Fuchs Group · Tel.: Germany (6 21) 7 76-0 · USA (3 30) 4 25 35 55 · Singapore 7 79 90 91 · Internet http://www.pepperl-fuchs.com
Is
s
ue dat
e -
12.
8.
2007
120
10.5
Command Interface examples
You can find actual command interface examples in the download area of the
homepage.
10.5.1
Reading 16-bit input values
Command RD_7X_IN: Reading of 16-bit input values
.
PROFIBUS DP V0: cyclic data exchange
Used ID/module in the GSD file: 12-byte management
Meaning of the bytes:
The call of the command interaface has not been answered with the valid values
since the toggle bit has not been set.
Set of toggle bit:
Response (bei O
≡
1)
Byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
7D
16
2
T
result
3
0
1
2
3
4
5
6
7
…
…
6
24
25
26
27
28
29
30
31
Request: RD_7X_IN
Byte 1
50
hex
(RD_7X_IN)
Byte 2
00
hex
(master 1, single master)
Byte 3
1D
hex
(slave address 29)
Byte 4
00
hex
…
…
Byte 12
00
hex
Response
Byte 1
00
hex
(or old values)
Byte 2
00
hex
(or old values)
Byte 3
00
hex
(or old values)
Byte 4
00
hex
(or old values)
…
…
Byte 12
00
hex
(or old values)
Request
Byte 1
50
hex
Byte 2
80
hex
(toggle bit, result)
Byte 3
1D
hex
(slave address 29)