Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

The protocol supports communication with the ALYA communication computer to collect data from barcode readers and ALYA multimeasurement multi-measurement workstation (MMP).
Communication takes place via three UDP channels:

  • Kotva
    barcode
    barcode
    data from barcode readers (the 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.
  • Kotva
    scales
    scales
    data about the cones weighted by MMP (coil the cone 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.
  • Kotva
    xping
    xping
    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 the ALYA communication computer buffers the collected data and resends it periodically.

...

  • Communication protocol "ALYA MMP".
  • Station The station address is not configured.

Station protocol parameters

Dialog Dialogue window station configuration - tab "Protocol parameters" tab.
They influence some optional protocol parameters. The following station protocol parameters can be enteredspecified:

ParameterDescriptionUnitDefault Value
Kotva
port
port
Reader UDP Port
UDP port number for receiving messages from the barcode readers.-3131
Kotva
timeout
timeout
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.
s120
Kotva
nr
nr
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
Kotva
ping
ping
Ping Active
Activation of MMP activity tracking - see the description of the Data Timeout parameter.YES/NOYES

Kotva
merany_bod
merany_bod
I/O tag configuration

...

Value typeAddressDescription
I/O tag for handling barcode readers.
TxtI, Ci0Cone number from the message received from barcode readers (CONE_NR)
I/O tags for handling input from the scales.
Ai, Ci, Di, TxtI1 .. 10Individual 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 - the number of the cone
  • WEIGHT - the weight of the cone mesaured measured by the multimeasurement workstationmulti-measurement workstation (MMP)
  • WIDTH - the width of the cone (diameter of the reel)
  • HEIGHT - the 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.
Di0Trigger A trigger I/O tag for the message from the scales.
It is sets set to True with the a new timestamp when a new message from the scales arrived arrives and the input I/O tags from the previous row of the table have their values set by D2000 KOM.
I/O tags for handling the answer for the scales.
Co, TxtO, Ao1 .. 32Individual components of a response to the scales. According to the specification, there are sevent seven components (addresses 1-7):
  • ID - identifier of a message (must be equal to the identifier of a message received from the scales).
  • MACHINE - the number of a site where a cone was reeled
  • PRODUCT - the name of a product
  • LENGTH - the length of a fibre reeled on a cone
  • QUALITY - the qualitative rating of the coil
  • DATE - date and time when reeling was completed
  • OPERATOR - the 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.
Dout0Trigger I/O tag for the response to the scales. By writing to the trigger the application activates sending the response that contains the oputput output 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 the rupture of the fibre to the scales.
Co, TxtO, Ao1The first component of a spontaneous messages message about a rupture of the fibre sent to the scales.
Kotva
tr2
tr2
TxtO
2The second component and at the same time a trigger of a spontaneous messages message about a rupture of the fibre sent by by D2000 KOM process to the scales.
The message contains components with addresses 1 and 2.

Kotva
revizie
revizie
Document revisions

...

  • Ver. 1.0 - July 3rd, 2017 - Document creation.

...