User manual

Klinkmann Automation SPA Bus Server 19
SPA Server Ver 1.x User Manual Rev 2.3 120XXM23
There are also following additional items:
F, f -- Slave identification code, Message;
An -- Alarms, Message, Read Only, where n is a channel number, n value
can be 0 ... 999. These items are used for requesting the current
alarms for the channel.
Supported data categories, the range of channels, data numbers and value limits depend
on SPA unit (device) associated with the topic. To know which channels and bus codes
(i.e., data categories and data numbers) are supported by specific SPA unit (device),
refer the documentation of SPA unit (device). These parameters must be described in the
SPA Server Unit Definition File. For details see SPA Server Unit Definition File section.
Monitoring and Controlling Communication with a SPA device
For each topic, there are following build-in items offered by SPA Server to monitor and
control the communication with SPA device.
STATUS
For each topic, there is a built-in discrete item that indicates the state of communication
with device. The discrete item STATUS is set to 0 when communication fails and set to 1
when communication is successful. The STATUS value is set to 0 after 3 consecutive
unsuccessful retries to communicate with this device.
From InTouch the state of communication may be read by defining an I/O Discrete
tagname and associating it with the topic configured for the device and using STATUS as
the item name.
From Excel, the status of the communication may be read by entering the following
formula in a cell:
=SPA|topic!STATUS
UPDATEINTERVAL
The UPDATEINTERVAL item is an Integer type Read/Write item used to access the
currently set Update Interval (see Topic Definition Command section). It indicates the
current requested update interval (in milliseconds). The value of this item can be read
through DDE, Suite Link or OPC. Client can poke new values to this item. The range of
valid values is from 10 to 2147483647 milliseconds.
MAXINTERVAL
The MAXINTERVAL item is an Integer type Read Only item used to access the
measured maximum update interval (in milliseconds) of all items for the corresponding
topic for the last completed poll cycle. The range of valid values is from 0 to 2147483647
milliseconds.
The UPDATEINTERVAL and MAXINTERVAL items can be used to tune the
performance of communication.
ITEMCOUNT