
GEFRAN
——————
Interface Board DeviceNet
——————
24
3.2.2.6.1.2 Write APC parameter - Reply OK
If the APC parameter is written correctly, the response is:
DATA TYPE
FIELD
VALUE
MEANING
Byte
Service
Code
33hex OR
80hex
Set APC Parameter Reply
code- Object Specific
Service.
Word
Result
0
Result field equal to zero
means writing correctly
executed.
dn3970
3.2.2.6.1.3 Write APC parameter - Reply Error
If the writing of the APC parameter is rejected, the response is:
DATA TYPE
FIELD
VALUE
MEANING
Byte
Service
Code
33hex OR
80hex
Set APC Parameter Reply
code- Object Specific
Service
Word
Result
XXXX
1)
APC specific error code
dn3975
1) For error codes see APC-manual.
3.2.1.6.2 Read APC Parameter
In this example the reading of a APC-parameter is shown; the cases of positive or
wrong reading are distinguished.
3.2.1.6.2.1 Read APC Parameter Request
The data frame for the reading of a APC parameter is composed as follows:
DATA TYPE
FIELD
VALUE
MEANING
Byte
Service
Code
32hex
Get APC Parameter -
Object Specific Service
See Note
1)
Class ID
67hex
APC Parameter Access
Class Object
Word
Instance ID
XXXX
APC Parameter Index in
format Low byte-High byte
Byte
Data Type
2)
XX
APC specific data type code
Byte
N/U
0
Not used; has to be set to
zero
dn3980
1) Byte or Word depending on the type of allocation executed by the Master.
2) For data-type codes see APC-manual.