Field
Description
• F32: floating on 32 bits (4 bytes, or 2 registers)
• F64: floating on 64 bits (8 bytes, or 4 registers)
• String: the variable is a character string. In that case the
• Bits: the variable is of the bit field type. In that case the "Address_1
• IP: the variable is of the IP V4 address type and is therefore coded
• IPV6: the variable is of the IP V6 address type and is therefore coded
• MAC: the variable is of the MAC address type in "EUI48" format. It
Note that the integer types can be modified by adding a suffix. The
authorised modifiers are:
• _W: the words are exchanged, i.e. the variable register content is
• _B: the bytes are exchanged, i.e. the variable register content is
• _WB: the words AND the bytes are exchanged. The 2 previous
Thus, for example, the "I32_W" notation indicates that it is a variable of
which bytes 1 and 2 will be exchanged with bytes 3 and 4.
Similarly, the "U16_B" notation indicates that bytes 1 and 2 of the variable
are exchanged. This is a "Little endian/Big endian" conversion.
Info4
Scale Factor
When the variable was generated automatically by SunSpec, this field
contains the variable name that determines its scale factor when
applicable.
When the configured variable value is calculated, the read variable will have
its decimal point position offset by as many digits as the value of its "scale
factor".
The formula is var * 10
and "sf" the variable value indicated by the "scale factor".
For example, for a variable "var1" with scale factor variable "sf var1".
If "var1" is equal to "1234" and "sf var1" equal to "3", the decimal point for
"var1" will be offset by 3 digits to the right to obtain "1234000".
If "var1" is equal to "1234" and "sf var1" equal to "-2", the decimal point
for "var1" will be offset by 2 digits to the left to obtain "12.34"
Modbus frames
Version 2.05
préliminaire
"Address_Size" notation should be used for the "Info2" field
bit_Number of bits" notation should be used for the "Info2" field
on 4 bytes (2 registers)
on 16 bytes (8 registers)
is therefore coded on 6 bytes (3 registers)
exchanged in 2 byte blocks
exchanged in at byte level, one by one
modifiers are applied.
sf
" with "var" being the variable value that is read
USER MANUAL – WebdynSunPM
st
66
Need help?
Do you have a question about the WebdynSunPM and is the answer not in the manual?