Porovnávané verzie

Kľúč

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

ALYA VT200 communication protocol

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

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

  • Category of communication line: TCP/IP-UDP
  • Parameters of UDP line:
    • Host: IP address of scale configured in the parameters of scale
    • Port: UDP port of scale where requests are send. Default value (according to the documentation) is 3396.
    Note: The parameters of backup server (Host and Port) are not used in this protocol.

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: ALYA VT200.
  • Address of station is irrelevant and need not be defined. Only one station may be configured on one line.

...

I/O tag addressI/O tag typeMeaning
NETTOAiNet weight in kg.
Note: If a scale reports the unsteady status (see I/O tag STEADY), I/O tag will be Invalid.
TARAAiTare in kg.
Note: If a scale reports the unsteady status (see I/O tag STEADY), I/O tag will be Invalid.
Kotva
steady
steady
STEADY
DiInformation whether a scale is steady (True) or not yet (False).
ZERODiInformation whether a scale shows null weight (True) or not (False).
RANGECiScale range: 0, 1 or 2 according to the standard EN 45510
KEYCODETxtIKeystroke(s) read from keyboard.
Note: After reading keystroke(s) from a keyboard, they are deleted from a keyboard buffer so that during next reading from scale, this I/O tag is set to Invalid (unless parameter ND is set). Therefore, it is necessary to handle keystrokes within ESL script.
BARCODETxtIEAN-code read from a bar-code reader.
Note: After reading bar-code from a bar-code reader, it is deleted from the reader so that during next reading from scale, this I/O tag is set to Invalid (unless parameter ND is set). Therefore, it is necessary to handle bar-codes within ESL script.
DISPLAYTxtOI/O tag that is used for communication with monochromatic display on scale. The string must consist of binary data in the format which is stated in the manual from a producer.
Message format is <XH>&ltXL>&ltYH>&ltYL>&ltWH>&ltWL>&ltHH>&ltHL>&ltdata>, where:
  • XH - high byte for X axis (binary)
  • XL - low byte for X axis (binary)
  • YH - high byte for Y axis (binary)
  • YL - low byte for Y axis (binary)
  • WH -high byte for width of bitmap (binary)
  • WL - low byte for width of bitmap (binary)
  • HH - high byte for height of bitmap (binary)
  • HL - low byte for height of bitmap (binary)
  • data - binary data of bitmap
Notes:
  • X axis and bitmap width must be divisible by 8.
  • Axes of upper left corner of display are X=0, Y=0. Axes of lower right corner of display are X=239, Y=63.
  • One byte of data describes group of eight pixels in one line of display. So, from the axis (0,0) to (7,0) there is necessary one byte, the highest bit of which is described by a pixel (0,0) and the lowest bit by a pixel  (7,0).
  • All display can be described by (240/8) * 64 = 1920 bytes. But, maximum length of UDP packet is 1500 bytes, i.e. if whole display must be redrawn, it is necessary to send more queries (e.g. first half of display and second half of display).

...