Owner`s manual

80 | P a g e
<< x
Binary shift left. Shift the value x binary digits to the left. This is equivalent to multiplying
the decimal number by 2
x
. Ex:
[4116] = 0x0001
Then
[4116] << 1 = 0x0002.
>> x
Binary shift right. Shift the value x binary digits to the right. This is equivalent to dividing
the decimal number by 2
x
.
[4116] = 0x0002
Then
[4116] >> 1 = 0x0001.
|
OR two numbers together (aligned to LSB)
&
AND two numbers together (aligned to LSB)
^
XOR two numbers together (aligned to LSB)
String
||
Concatenate.
[4116] = 0x4142.
[4116]
MSB
|| [4116]
LSB
=> 0x41 || 0x42 => ‘A ||‘B’ => “AB”
Examples:
Using the example of the Average PV Voltage register: dispavgVpv @ 4116
Suppose using a MODBUS scanner you retrieve the following (integer) value from the dispavgVpv
register at address 4116:
4116: 1201
The address itself: 4116
Full 16-bit value at the address: [4116] = 1201 (0x04B1 hex)
The top-most (MSB) octet of the register: [4116]
MSB
= 0x04 hex
The bottom-most (LSB) octet of the register [4116]
LSB
= 0xB1 hex
Applying the Conversion ([4116] / 10) Volts:
o [4116] = 1201
o 1201 / 10 = 120.1 Volts
File Transfer and Function Execution modes:
Coming soon (next revision of this document) will be information on how to use the MODBUS File
Transfer and Function execution commands. File Transfer will be necessary, for instance, to transfer
wind power curves to/from the Classic or logging and audio data to/from the Classic and/or MNGP.