Sunspec Data Types And Nan Values - SMA SUNNY TRIPOWER 60 Technical Information

Sunspec modbus interface
Hide thumbs Also See for SUNNY TRIPOWER 60:
Table of Contents

Advertisement

SMA Solar Technology AG
3.6

SunSpec Data Types and NaN Values

The following table shows the data types used in the STP60 SunSpec Modbus profile and the
possible NaN values. The SunSpec data types are listed in the Type column of the assignment
tables. They describe the data width and the format of the data value saved at a register address.
The format, such as bit field, describes how SunSpec data is to be interpreted. The formats are
important, for example, for the displaying of data or for its further processing:
Type
Description
acc32
Accumulated value (32 bit). Is used for all sequentially increas-
ing values.
acc64
Accumulated value (64 bit). Is used for all sequentially increas-
ing values. Only positive values are permitted. The overflow of
the number range takes place at 0x7FFF FFFF FFFF FFFF.
bitfield16 Bit field (16 bit). A combination of individual bits. Is used for
multi-value alarm messages or status. Value range 0 to 0x7FFF.
If the MSB is set in a bit field, all other bits are ignored.
bitfield32
Bit field (32 bit). A combination of individual bits. Is used for
multi-value alarm messages or status. Value range 0 to 0x7FFF
FFFF. If the MSB is set in a bit field, all other bits are ignored.
enum16
Number code (16 bit). The breakdown of the possible codes
can be found directly under the designation of the Modbus
register in the SunSpec Modbus profile assignment tables.
int16
Signed integer (16 bit).
int32
Signed integer (32 bit).
string
String (multiple of 2 bytes). A zero-terminating value or a value
of fixed length.
sunssf
SunSpec scale factor as signed integer (16 bit). Scale factors
are used as exponents of a power of ten. Negative scale fac-
tors push the decimal point to the left, positive scale factors to
the right.
uint16
Unsigned integer (16 bit).
uint32
Unsigned integer (32 bit).
uint64
Unsigned integer (64 bit).
Technical Information
Product Description
NaN value
0x0000 0000
0x0000 0000 0000
0000
0xFFFF
0xFFFF FFFF
0xFFFF
0x8000
0x8000 0000
0x0000 to nnnn
0x8000
0xFFFF
0xFFFF FFFF
0xFFFF FFFF FFFF FFFF
STP60-SunSpec_Modbus-TI-en-12
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents