User manual
Klinkmann Automation SPA Bus Server 21
SPA Server Ver 1.x User Manual Rev 2.3 120XXM23
The following examples show the invalid item names:
ID2.0, SI2.0, MM2.1000000 -- Data number is out of range;
OI1000.2, VD1203.2, A2001 -- Channel number is out of range;
IU0.16, Md2.8, Sr10.1 -- Invalid data type;
d110, w183, l10, U22, m001 -- Invalid data category.
SPA Server Unit Definition File
The SPA Server Unit Definition File (file name Unit.def) contains the list of supported
SPA units, available data categories and bus codes for each unit. This file will be read at
Server startup. This file should be located in the same directory as the SPA Server
configuration file.The general format of the Unit Definition File is the following:
{SPA unit} comment
[Data category] comment
Name Access rights Data Type Min value Max value !comment
The following describes each field in this file.
{SPA unit}
The definition of SPA unit. Unit names defined inside {} will be displayed as a selectable
SPA device names at topic configuration time. One unit definition can be common for
several data category definitions. The maximal length of SPA unit name is 16 characters.
[Data category]
The definition of data category. The cata category must be one character (a...z, both
uppercase and lowercase letters can be used). One data category definition can be
common for several bus code definitions.
Bus code definition
The parameter definition contains 7 data fields and optional comment field:
1. Name - the bus code; it consists of data category character and data number (from 1
to 3 digits, leading zeros allowed);
2. Access rights - the access rights of bus code:
r - Read Only;
w - Write Only;
r/w - Read and Write;
3. Data type:
disc - Discrete;
int - Integer;
real - Real;
string - Message;
4. Min channel - the minimum number of channel;
5. Max channel - the maximum number of channel;
6. Min value - the minimum write value for integer or real parameters; not supported if
Data type is Discrete or Message;