AS-Interface
Command Interface
Subject to reasonable modifications due to technical advances. Copyright Pepperl+Fuchs, Printed in Germany
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
Issue date - 21.12.2005
76
8.2.5.18 READ_MFK_PARAM
Use this command to read multiple commands of a SEW MFK21 slave.
8.3 Command Interface Examples
You can find actual command interface examples in the download area of the
homepage.
8.3.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 bytes management
Meaning of the bytes:
Request
Byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1 0x59
2 T – circuit
3 slave
4 index high
5 index low
6 number (n)
Response
Byte
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1 0x59
2 T result
3 prm byte (index)
4 prm byte (index+1)
n+2 prm byte (index+n-1)
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