onlinecomponents.com
Parameter Data Channel (PCP)
6170
B
70
The error codes can be queried on the INTERBUS master. They assist in trouble-
shooting in program development or indicate error situations in normal operation.
13.5
Example of a PCP Service
The PCP services are part of the commands which you can send to the INTER-
BUS master from your application program.
The following example shows the structure of a Write service that is used to con-
figure a slave, see chapter 13.3.8. With this service you tell the AS-i master which
slave type (including parameters and data direction) the AS-i master can expect at
which slave address.
Configure Slave 2 CO
Index:
5FC6 (AS-i slave 2)
AS-i slave type : 3
Data direction: 8 ( = 3 input bits (IO0..IO2), 1 output bit (IO3))
Parameters:
5
Structure of the associated Write service
Error codes for Write.rsp (-)
Error class
6 Access
Error code
5 Object-Attribute-Inconsistent
Additional code 10h incorrect subindex
12h length of service parameter “data” too great
13h length of service parameter “data” too small
0082
Write service (request)
0004
Quantity of subsequent command parameters
00
KR
Invoke ID ; communication reference CR
5FC6
Index for slave 2
00
02
Subindex ; number of following data bytes
38
05
Slave type, data direction; parameters
Summary of Contents for 27 41 40 6
Page 2: ...o n l i n e c o m p o n e n t s c o m...
Page 4: ...o n l i n e c o m p o n e n t s c o m...
Page 6: ...o n l i n e c o m p o n e n t s c o m 6170B 4...
Page 10: ...o n l i n e c o m p o n e n t s c o m Table of Contents 6170B 4...
Page 12: ...o n l i n e c o m p o n e n t s c o m The Symbols Used 6170B 6...
Page 14: ...o n l i n e c o m p o n e n t s c o m Safety 6170B 8...
Page 16: ...o n l i n e c o m p o n e n t s c o m General Information 6170B 10...
Page 26: ...o n l i n e c o m p o n e n t s c o m Operating the AS i INTERBUS Gateway 6170B 20...
Page 42: ...o n l i n e c o m p o n e n t s c o m AS i INTERBUS Gateway 6170B 36...
Page 46: ...o n l i n e c o m p o n e n t s c o m Appendix Displaying the Figure Display 6170B 40...
Page 50: ...o n l i n e c o m p o n e n t s c o m Technical Data 6170B 44...