Supported device types and versions
The protocol supports communication with the ALYA communication computer to collect data from barcode readers and ALYA multimeasurement workstation (MMP).
Communication takes place via three UDP channels:
- UDP Port Reader configuration parameter (by default 3131).
The D2000 KOM responds by confirming the message number.
data from barcode readers (cone number) is sent to the port specified by the
- UDP Port Reader parameter (by default 3132).
The D2000 KOM responds with a message containing the confirmation of the message number and other data depending on the configuration.
All these data will be sent based on the values of the respective output I/O tags.
data about the cones weighted by MMP (coil number, weight, width, height) are sent to a port one higher than the
- UDP Port Reader (by default 3133).
The D2000 KOM responds with a message containing the confirmation of the message number.
Watchdog messages are sent to a port by two higher than the
If the D2000 KOM does not confirm the message to the ALYA communication computer, it buffers the collected data and resends it periodically.
Communication line configuration
- Category of communication line: API.
- Communication protocol "ALYA MMP".
- Station address is not configured.
Station protocol parameters
Dialog window station configuration - tab "Protocol parameters".
They influence some optional protocol parameters. The following station protocol parameters can be entered:
|Reader UDP Port||UDP port number for receiving messages from barcode readers.||-||3131|
|Data Timeout||Timeout for receiving a message from barcode readers, scales or a watchdog.
If the Ping Active parameter is set to YES and the configured timeout elapses without receiving any message, the communication is considered to be interrupted and the station goes into communication error.
|Nr. of Values for Output||The number of variables that the D2000 KOM sends in response to the message about weighted cones from the scales.||-||15|
|Ping Active||Activation of MMP activity tracking - see the description of the Data Timeout parameter.||YES/NO||YES|
I/O tag configuration
Supported value types of I/O tags: Ai, Ci, Di, TxtI, Ao, Co, Dout, TxtO.
|I/O tag for handling barcode readers .|
|TxtI, Ci||0||Cone number from the message received from barcode readers (CONE_NR)|
|I/O tags for handling input from the scales.|
|Ai, Ci, Di, TxtI||1 .. 10||Individual components of the received message from the scales. According to the specification, there are five components (addresses 1-5):
|Di||0||Trigger I/O tag for the message from the scales.
It is sets to True with the new timestamp when a new message from the scales arrived and the I/O tags from the previous row of the table have their values set.
|I/O tags for handling the answer for the scales.|
|Co, TxtO, Ao||1 .. 32||Individual components of a response to the scales. According to the specification, there are sevent components (addresses 1-7):
Note: component with address 2 cannot by of TxtO type, to avoid the collision with a trigger for the fibre rupture message.
|Dout||0||Trigger I/O tag for the response to the scales. By writing to the trigger the application activates sending the response that contains the oputput I/O tags from the previous row of the table.
The number of values in the reply is determined by the configuration parameter Nr. Of Values for Output.
|I/O tags for sending spontaneous messages about rupture of the fibre to the scales.|
|Co, TxtO, Ao||1||The first component of a spontaneous messages about rupture of the fibre sent to the scales.|
|TxtO||2||The second component and at the same time a trigger of a spontaneous messages about rupture of the fibre sent by D2000 KOM process to the scales.
The message contains components with addresses 1 and 2.
- Ver. 1.0 - July 3rd 2017 - Document creation.