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 and ModBus communication. In addition,
individual bits are copied back and forth between digital inputs and outputs and the SPM
via the I/O conguration.
Note:
If a text is dened e.g. from SPM address B401, this must be dened in the OPC server
from SPM address B400 so that the content actually begins at B401.
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 12/31/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)
X3 Process Indicator PR 5410 13 SPM
Minebea Intec EN-314