8-12
VersaPoint™ I/O System Profibus-DP NIU User’s Manual – August 2005
GFK-1911B
8
Example 2, Reading Object 5FFF; Subindex 2 of a VersaPoint RS-232
Module on Slot 3, Accessing an I/O Module
This example illustrates how the write and read sequence provides the requested
value when a value is read. In this case, the write response does not contain any
data. It simply indicates that a write request was received at the Profibus-D/V1
NIU. The data is only delivered by the read action.
81
hex
means that PCP read has been executed. The status is 00
hex
, which
indicates that there were no errors. 01
hex
indicates the length of the subsequent
data and 07
hex
is the value stored under 5FFF, subindex 2, see "INIT-TABLE
object elements" on page 3-15.
Write request (master -> slave)
Data
Data Structure
5F 03 30 04 01 5f ff 02
Write/Slot/Index/Length/Read PCP/Index high/Index
low/Subindex
Write response (slave -> master)
Data
Data Structure
5F 03 30 04
Write/Slot/Index/Length
Read request (master -> slave)
Data
Data Structure
5E 03 30 28
Read/Slot/Index/Maximum length
Read response (slave -> master)
Data
Data Structure
5E 03 30 04 81 00 01 07
Read/Slot/Index/Actual length/4 bytes of object data
Summary of Contents for VersaPoint IC220PBI002
Page 4: ......
Page 10: ...Contents x VersaPoint I O System Profibus DP NIU User s Manual August 2005 GFK 1911B...
Page 80: ...5 14 VersaPoint I O System Profibus DP NIU User s Manual August 2005 GFK 1911B 5...
Page 100: ...6 20 VersaPoint I O System Profibus DP NIU User s Manual August 2005 GFK 1911B 6...
Page 166: ...A 10 VersaPoint I O System Profibus DP NIU User s Manual August 2005 GFK 1911B A...