Porovnávané verzie

Kľúč

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

...

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

This protocol enables to read the reading of the weighted values from the VT200 scale VT200 produced by ALYA Poprad. In addition to reading net weight and tare, it enables reading signs characters from the keyboard, reading of EAN-code codes, and controlling the built-in monochromatic LCD display with a resolution of 240x64 pixels.

Kotva
komunikacna_linka
komunikacna_linka
Communication line configuration

...

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

...

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

...

Station protocol parameters

Key wordKeywordFull nameMeaningUnitDefault value
Kotva
lp
lp
LP
Local PortThe UDP port where the D2000 KOM awaits  awaits responses from the scale. Permitted values are in the range 1-65535.-3396
Kotva
dt
dt
DT
Data TimeoutTimeout for receiving message a response from scale on call from the scale when the D2000 KOM process sends a request.sec.mss0.500
Kotva
nd
nd
ND
No DeleteSetting the value to True will cause the D2000 KOM process  process not to send buffer delete requests during the reading of keystrokes and barcodes. Parameter The parameter is useful only during tuning of communication.-False

...

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

Kotva
literatura
literatura
Literature

...

  • Ver. 1.0 – July 14, 2015 – created the creation of the document

Info
titleRelated pages:

Communication protocols

...