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
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 wordKeyword | Full name | Meaning | Unit | Default value |
---|
| Local Port | The UDP port where the D2000 KOM |
awaits awaits responses from the scale. Permitted values are in the range 1-65535. | - | 3396 |
| Data Timeout | Timeout for receiving |
message scale on call from the scale when the D2000 KOM process sends a request. | sec.mss | 0.500 |
| No Delete | Setting 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 configuration
...
I/O tag address | I/O tag type | Meaning |
---|
NETTO | Ai | Net weight in kg. Note: If a scale reports the unsteady status (see I/O tag STEADY), the I/O tag will be Invalid. |
TARA | Ai | Tare in kg. Note: If a scale reports the unsteady status (see I/O tag STEADY), the I/O tag will be Invalid. |
| Di | Information on whether a scale status is steady (True) |
or not yet or unsteady (False). |
ZERO | Di | Information on whether a scale shows |
null zero weight (True) or not (False). |
RANGE | Ci | Scale range: 0, 1 or 2 according to the |
standard 4551045510 standard |
KEYCODE | TxtI | Keystroke(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. |
BARCODE | TxtI | EAN-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. |
DISPLAY | TxtO | The 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 <XH><XL><YH><YL><WH><WL><HH><HL><data><XH><XL><YH><YL><WH><WL><HH><HL><data>, 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 All - The whole display can be described by (240/8) * 64 = 1920 bytes.
|
But- However, 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).
|
Literature
...
- Ver. 1.0 – July 14, 2015 – created the creation of the document
...