10. SPM | 128
10 SPM
10.1 General notes
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.
–
System data are defined by the firmware and the respective application.
–
The free user range can be used freely, for example, via the configuration
of logical links.
The SPM table can be accessed via OPC and ModBus communication and
fieldbus with SPM interface.
In addition, individual bits are copied back and forth between digital inputs
and outputs and the SPM via the I/O configuration.
Note:
If a text is defined e.g. from SPM address B401, this must be
defined in the OPC server from SPM address B400 so that the content
actually begins at B401.
10.2 Elementary data types
The elementary data types are characterized by their bit width and possible
value range.
All commands of the data type BOOL 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
-32768 to 32767
DINT
double integer
-2
31
to 2
31
-1
LINT
long integer
-2
63
to 2
63
-1
USINT
unsigned short inte
ger
0 to 255
UINT
unsigned integer
0 to 65535
UDINT
unsigned double inte
ger
0 to 2
32
-1
ULINT
unsigned long integer
0 to 2
64
-1