Vicking electronics
Pag. 28
The terminal output function codes
The data received from the network terminals usually consist of three parts:
1) The address of the workmate on the network.
2) The numerical data entered on the keyboard or
the bar-code data or badge data or
automatically generated data like the value of an inputline.
This part will be empty if only a functionkey was pressed.
3) A function code.
This can be entered manually on the keyboard giving a special meaning to the previous data, or be
generated automatically to indicate the type of data like a barcode.
When programming in VIPRO the INPUT instruction will give you these 3 parts of the terminal data in 3
different variables.
With an ON-LINE concentrator the 3 parts are send in one string, the first 4 numbers are the address then
follows the data and the last character is the function code. It is possible that the data part is empty and when
the enter key was pressed there is no function code.
List of the possible function codes
VIPRO
ON-LINE
Description
0
no code
The enter key on the keyboard
This key terminates data entry on the keyboard.
1 to 22
96 to 117
Function keys on the keyboard.
These keys also terminate data entry on the keyboard. When they are pressed the
number that was entered will be transmitted followed by the function key value.
26
121
The Bar-code key on the keyboard.
These code is transmitted when you press the bar-code key.
In most applications this is regarded as a request to switch from manual input to bar-
code input.
30
125
Barcode scan on port 1.
This indicates that the data is from a barcode on the first barcode port.
23
118
Barcode scan on port 2.
This indicates that the data is from a barcode on the second barcode port.
29
124
Proximity badge scan on port 1.
This indicates that the data is from a magnetic badge or a proximity badge on the
first (internal) proximity port.
24
119
Proximity badge scan on port 2.
This indicates that the data is from a magnetic badge or a proximity badge on the
second (external) proximity port.
25
120
Workmate Start-up.
This code is transmitted when a terminal starts-up for the first time.
See ‘Transmit startup function key’ in the setup menu.
Workmates can be disconnected when the network is in operation, a newly
connected workmate signals with this code that it is present in the network. After
which the computer can send the appropriate message to the workmate.
This code is also use with the identify WORKmate model command.