5 command interface examples, 1 reading 16-bit input values, Command interface examples – EUCHNER AS-i 3.0 Command Interface User Manual
Page 75: Reading 16-bit input values

AS-i 3.0 Command Interface
Command Interface Examples
Subject to reasonable modifications due to technical advances
Id.-No.: 102875 Issue date - 3.12.2007
EUCHNER GmbH + Co. KG
Kohlhammerstraße 16, D-70771 Leinfelden-Echterdingen
Tel. +49/711/7597-0, Fax +49/711/753316
75
5
Command Interface Examples
5.1
Reading 16-bit input values
Command RD_7X_IN: Reading of 16-bit input values.
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:
PROFIBUS:
PROFIBUS DP V0: cyclic data exchange
Used ID/module in the GSD file: 12-byte management
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)
Byte 4
00
hex
…
…
Byte 12
00
hex