SPOOL communication protocol

Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Literature
Changes and modifications
Document revisions

Supported device types and versions


This protocol allows reading of the weighted values of spools in the scales produced by ALYA Poprad. It can be used when several scales are connected to a line, since it contains the scale addressing.
For communication with one scale, you may use a simpler protocol ALYA Gina.
ALYA Spool enables to send a request to several scales (they can be selected by the station parameter Scales). Each scale can send a response in the format <STX><weight><tara><material><stand><winding><ETX><CRC>, where:


Example of response:

 <STX>  23.00  0.000000 3311<ETX>2

The address of the I/O tag is a number of a stand, on which the weight was measured (" 331" in example above)


Communication line configuration


Communication station configuration


Configuration dialog window - tab "Protocol parameters".
They influence some optional parameters of the protocol.

Table 1

ParameterMeaningUnitDefault value
Wait Timeout
Waiting between the readings of a response until it is completed.ss.mss00.050
Wait First Timeout
First waiting before reading the response after sending a request.ss.mss00.100
Max Wait Retry
The number of retries when reading the response until it is completed.-4
Retry Count
The number of retry requests in case of a communication error.-2
Scales
Comma-separated addresses of the scales which will be queried. The scale address is a capital letter. In periodic data reading, the D2000 KOM process tries to communicate with all configured scales and reads the values from them.
Example: A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P
-

I/O tag configuration


I/O tags: AI

I/O tag address - are numbers of stands.

I/O tag value is a weight of spools measured on the specified stand.


Literature


-

Changes and modifications


Document revisions


Communication protocols