GE Industrial Solutions 6KCV300lNS User Manual
Page 33

12.2
Description of reading value of DGF parameter
OBJECT ATTRIBUTE
VALUE
Index
5 E F B h
Object code
09
Index of the type of datum
22
Password
00
Access group
00
MEANING
Parameter reading value DGF
parameter
Record
Structure reading DGF
parameter
Non-existing
Non-existing
Access rights
I
01
I
Read-All
II
Local address
x x x x
Specific
Range of the descriptor values:
Subindex 1
: Unsigned1 6
Subindex 2
: Unsigned8
Subindex 3
: Unsigned1 6
Subindex 4
: Unsigned32
12.3
Example for access DGF parameters
12.3.1 Writing DGF parameter
2 -
3 -
Fill the elements of the InterBus-S parameter 5EFAh in the following way:
Element Command
a command writing DGF parameter.
Element Type with DGF parameter type.
Element
with DGF parameter index.
Element V-PAR with DGF parameter value (4 Bytes have always to be written; in the case of
DGF parameters with a length less then 4 Bytes fill the remaining Bytes with 0).
The elements with more than one Byte must always be filled starting from the less significant Byte to
the most significant one.
Carry out the InterBus-S ‘Write’ service by always setting the Interbus-S subindex to 0 and wait for
the response.
If the response is positive, the value of the DGF parameter has been correctly written.
If the response is negative, the error cause can be found by reading, with the Interbus-S “Read”
service , the Result element (operation result) of the Interbus-S parameter 5EFBh. The single element
can be read by setting the subindex to 1, or the whole parameter can be read by setting the subindex
to 0 (in this case the V-PAR element has no meaning).