GE Industrial Solutions 6KCV300lNS User Manual
Page 34

GEI-100445
123.2 Example writing DGF parameter
Index:
102h.
Type:
Integer.
Value:
Fill the elements of the InterBus-S parameter 5EFAh as follows:
ELEMENT
Command
VALUE
x x
MEANING
Command writing DGF parameter
V-PAR
DGF Parameter type: Integer
02101
DGF parameter index
34121100100
DGF parameter value to be written
If the response is positive, the DGF parameter has been correctly written.
If the response is negative, the error cause can be found by reading the
parameter
in
our example it has the following
values:
ELEMENT
Result
V-PAR
VALUE
LL-HH
02101
MEANING
Result of the operation as
low Byte high Byte
DGF parameter type: Integer
DGF parameter index
No meaning
12.3.3 Reading DGF parameter
2 -
3 -
4 -
5 -
Fill the elements of the InterBus-S parameter 5EFAh as follows:
Element Command with command reading DGF parameter.
Element Type with DGF parameter type.
Element
with DGF parameter index.
The elements with more than one Byte have always to be filled from the less significant Byte to the
most
one.
Carry out the Interbus-S
service by setting the InterBus-S subindex to 0 and wait for the
response.
Either with a negative or a positive response, read the Inter&us-S parameter 5EFBh by carrying out
the
service .
If the response is positve the value of the DGF parameter is in the V-PAR element
If the response is negative, the error cause can be found by reading the Result element (operation
result) of the Interbus-S parameter 5EFBh. The elements can be read one by one, by setting the
subindex to 1, or the entire structure can be read by setting the subindex to 0 (in this case the
V-PAR element has no meaning).