Command Interface Examples; Reading 16-Bit Input Values - Pepperl+Fuchs VBG-PB-K20-DMD-C1 Manual

As-interface/profibus-gateway
Table of Contents

Advertisement

Byte
1
2
3
...
6
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:
Byte 1
Byte 2
Byte 3
Byte 4
...
Byte 12
Byte 1
Byte 2
Byte 3
Byte 4
...
Byte 12
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:
Byte 1
Byte 2
Byte 3
Subject to reasonable modifications due to technical advances.
120
Pepperl+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
Response (bei O ≡ 1)
7
6
5
2
2
2
T
0
1
2
24
25
26
Request: RD_7X_IN
50
(RD_7X_IN)
hex
00
(master 1, single master)
hex
1D
(slave address 29)
hex
00
hex
...
00
hex
Response
00
(or old values)
hex
00
(or old values)
hex
00
(or old values)
hex
00
(or old values)
hex
...
00
(or old values)
hex
Request
50
hex
80
(toggle bit, result)
hex
1D
(slave address 29)
hex
Command Interface
4
3
2
2
2
2
7D
16
result
3
4
5
...
27
28
29
Copyright Pepperl+Fuchs, Printed in Germany
AS-Interface
1
0
2
2
6
7
30
31

Advertisement

Table of Contents
loading

Table of Contents