Page tree
Skip to end of metadata
Go to start of metadata

Supported device types and versions 
Communication line configuration
Station configuration
I/O tag configuration
Document revisions

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:

  • data from barcode readers (cone number) is sent to the port specified by the UDP Port Reader configuration parameter (by default 3131).
    The D2000 KOM responds by confirming the message number.
  • data about the cones weighted by MMP (coil number, weight, width, height) are sent to a port one higher than 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.
  • Watchdog messages are sent to a port by two higher than the UDP Port Reader (by default 3133).
    The D2000 KOM responds with a message containing the confirmation of the message number.

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.

Station configuration


  • 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:

Parameter Description Unit Default Value
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.
s 120
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.

Value type Address Description
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):
  • ID - identifier of a message
  • CONE_NR - number of the cone
  • WEIGHT - weight of the cone mesaured by the multimeasurement workstation
  • WIDTH - width of the cone (diameter of the reel)
  • HEIGHT - height of the cone (width of the reel)
Should the message be extended, the D2000 supports defining up to 10 components without any modification of the protocol implementation.
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):
  • ID - identifier of a message (must be equal to identifier of a message received from the scales).
  • MACHINE - number of a site where a cone was reeled
  • PRODUCT - name of a product
  • LENGTH - length of a fibre reeled on a cone
  • QUALITY - qualitative rating of the coil
  • DATE - date and time when reeling was completed
  • OPERATOR - name of the operator of the site where a cone was produced
Should the message be extended, the D2000 supports defining up to 32 components without any modification of the protocol implementation.
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.

Document revisions


  • Ver. 1.0 - July 3rd 2017 - Document creation.
Write a comment…