13 SPM
13.1 General information
The memory accessible to the user is the SPM (Scratch Pad Memory). This memory is used
to store lots of internal data from which weights, statuses and reports can be read and
control data can be written.
The SPM table can be accessed via OPC or ModBus communication. In addition,
individual bits are copied back and forth between digital inputs and outputs and the SPM
via the I/O conguration.
13.2 Elementary data types
The elementary data types are characterized by their bit width and possible value range.
All commands of the BOOL data type are executed with a rising edge.
Data type Description Value range
BOOL bool 0 (FALSE) or 1 (TRUE)
SINT short integer -128 to 127
INT integer -32.768 to 32767
DINT double integer
-2
31
to 2
31
-1
LINT long integer
-2
63
to 2
63
-1
USINT unsigned short integer 0 to 255
UINT unsigned integer 0 to 65535
UDINT unsigned double integer
0 to 2
32
-1
ULINT unsigned long integer
0 to 2
64
-1
REAL real number ±1.18E-38 to 3.4E38 (with
about 7 signicant digits)
LREAL long real number ±1.18E-308 to 3.4E308 (with
approx. 16 signicant digits)
TIME time duration
1 ms to ±2
47
ms
DATE date (only) 1.1.1900 to 31.12.2099
TIME_OF_DAY time of day (only) 00:00:00.00 to 23:59:59.99
DATE_AND_TIME Date and time of day see DATE and TIME_OF_DAY
STRING variable-long character
string
max. 255 characters (ISO)
WSTRING variable-long wide cha-
racter string
max. 255 characters (Unicode)
BYTE bit-sequence 8 …
WORD bit-sequence 16 …
DWORD bit-sequence 32 …
13 SPM Transmitter Series PR 5220
EN-211 Minebea Intec