background image

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 

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. 

Содержание WORKmate II

Страница 1: ...WORKmate II USER MANUAL VICKING electronics B 3583 Paal Beringen Schemkensstraat 6 Tel 32 11 450 590 Fax 32 11 450 591 E mail vicking gencom be...

Страница 2: ...ing the top cover Dimensions Width 113mm Length 235mm Depth 94mm Weight 450 gram LCD display with 4 lines of 16 characters with backlighting The characters are 5 5 mm high Splash water proof membrane...

Страница 3: ...r this The I O board features a DIN connector to connect to the concentrator network Attention The RJ45 connector is the same type that is used in Ethernet networks be careful not to connect the WORKm...

Страница 4: ...oth connections can be used at the same time There are 4 ways to connect a proximity reader to the WORKmate Internal proximity reader A proximity module can optionally be mounted directly on the WORKm...

Страница 5: ...nd has a backlighting that can be used in three modes 1 Always switched off the default setting 2 Always switched on 3 Automatic mode The backlight switches off if no key is pressed for a while Serial...

Страница 6: ...ys Relais 1 with a normal open NO and a normal closed NC contact Relais 2 with only a normal open contact NO They are software compatible with the outputs in the DIO20 Be careful when switching induct...

Страница 7: ...s 2 proximity readers 2 Switch inputs 2 Transistor outputs 1 RS232 port standard Badge readers Special mode for badge readers The inputs and communication are shut down in this mode No special mode fo...

Страница 8: ...sponds the result is that the WORKmate 36 doesn t react to anything The old WORKmate 36 needed to go to a special mode when you wanted to read a magnetic card or a barcode because of the limitations o...

Страница 9: ...M 36 The older WORKmate in a small low cost housing with 36 keys o W M 24 A WORKmate in a large waterproof housing with a larger display and 24 keys o DIO20 A WORKmate type terminal without display a...

Страница 10: ...counter Y N N Y 126 Command Read level inputlines directly 1 parameter byte Y N Y Y 127 Command Send to extra serial line Y Y Y N Table of all the displayable characters of the WORKmate 32 SP 40 48 0...

Страница 11: ...d contact will be open The I O board must be installed for this command to be effective ONLINE example Transmit 29Relay 1 on08 Clear screen display Relay 1 on switch relay 1 on OFFLINE direct example...

Страница 12: ...5 seconds OFFLINE direct example CHAIN RELON 22 10 PRINT ADRES RELON SEND OFFLINE parameter example Field 3 in a TXT file record contains the timecode TXT record 5 000010 PRINT ADRES POINT 5 3 SEND Re...

Страница 13: ...he terminal output function codes The timecode byte is in units of 0 5 sec and can have a value of 1 to 127 ONLINE example Transmit 29Relay 2 puls23 08 Clear screen display Relay 2 puls puls relay 2 f...

Страница 14: ...h other with rising frequency This can be used to attract the attention of the user during special conditions 6 dec 48 dec Switch red LED on 6 dec 49 dec Switch red LED off is also switched off with c...

Страница 15: ...used to show a message for a certain time for example when the user types in wrong data a error message is shown after the timeout is elapsed the program returns to the question The workmate sends a f...

Страница 16: ...or 30 dec Pos Position the cursor on the screen The values for the position code Pos are shown in the following table Columns 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88...

Страница 17: ...dec 45 dec ONLINE example Transmit 127Total time01 10 02 71 Send to serial line command send text Total time Carriage return Line feed send 40 times OFFLINE direct example CHAIN SERIAL 127 CHAIN CRLF...

Страница 18: ...job should normally be finished After zero the alarm time can go negative so you know the overtime for a job 3 dec 45 dec format timeposition HHMMSS format sets the way the alarm counter is formatted...

Страница 19: ...Clear screen display Read barcode Activate barcode OFFLINE direct example CHAIN BARCOD 16 PRINT ADRES BARCOD SEND OFFLINE parameter example Make field 3 in a TXT file record 00 no reader 01 barcode 0...

Страница 20: ...s active till the input changes or the input 1 inactive detect command is send ONLINE example Transmit 04 Wait till input 1 becomes active OFFLINE direct example CHAIN IN1LOW 4 PRINT ADRES IN1LOW SEND...

Страница 21: ...xample CHAIN IN2LOW 14 PRINT ADRES IN2LOW SEND OFFLINE parameter example Is not possible with parameters Input 1 inactive detect 15 dec Timecode The workmate sends a function code when input 2 on the...

Страница 22: ...ounter commands Both inputs on the Input Output board have counters associated with them these count the pulses that arrive on the inputs in different ways Up counter 1 Counts each pulse on input 1 Th...

Страница 23: ...t a counter 124 dec N CNT CNT must be a valid counter value from 00000000 to 99999999 always 8 digits long N 48 dec to set the Up counter 1 N 49 dec to set the Down counter 1 N 50 dec to set the Up co...

Страница 24: ...n the function variable When you reset up counter 1 this function is disabled This timeout function can only be used with up counter 1 The difference with the standard up counter is that the pulses mu...

Страница 25: ...alue down counter 2 The value of the counter will be transmitted this will always be 8 digits long with a function code of 0 When you want to reset an up counter after reading its value you have to tr...

Страница 26: ...START JOB PERS _ The cursor is placed in the beginning of the points to indicate to the user that he can enter maximum 4 digits This string is needed for the above display 29START JOB30 80PERS 30 85 E...

Страница 27: ...firm a numerical input With the online concentrator the enter key has no code you get only the address and the data Key A9 is the barcode key this key is only use as a function key in the WORKmate II...

Страница 28: ...7 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...

Страница 29: ...me out is aborted and this codes will not be transmitted This code is also transmitted when the time of the timed relay and the timed output is elapsed this time is not aborted by entering data on the...

Страница 30: ...A good test is to activate a CCD scanner or connect another WORKmate on the same cable and look if the voltage drops The setup menu If the address of the WORKmate is not set it will jump to the setup...

Страница 31: ...ly used for a reader directly connected via the left DIN connector Define external function key Default disabled You can connect a push button to the input pin on the right DIN connector input 3 With...

Страница 32: ...barcode is received but it has an error for example an internal checksum error Press the backspace key to abort the reader test Keyboard test With this test you can if all the keys of the keyboard wo...

Страница 33: ...not correct 4 Monitor You can monitor data transmitted to another WORKmate address It is not possible to see the data from WORKmate to concentrator Control codes are shown as a symbol followed by an...

Страница 34: ...he bottom part when the WORKmate is mounted on a wall Two hooks hold the bottom and top part together Din connector Green LED Red LED RJ45 connector to concentrator network Two M3 screws hold the bott...

Страница 35: ...113 235 115 15 82 41 30 24 Used as a table model Wall mounting Break out panel for cable entry Holes for wall mounting Dimensions WORKmate II back side...

Страница 36: ...53mm 177mm 160mm 71mm 4mm Wall mounting plate for barcode bage reader DLS2000...

Страница 37: ...solated inputs You can directly connect a switch or an external voltage Relay 1 output with a normal open NO and a normal closed NC contact COM is the common pin Relay 2 output with only a normal open...

Страница 38: ...I The Input modes with example Relay connection examples NC NO NO COM COM In this mode the input is completely isolated from the WORKmate It can be used with long wires the input voltage must be betwe...

Страница 39: ...network Standard UTP cable can be used Connection to the concentrator network with screw contacts To connect the cable wires directly to the WORKmate Cable to connect the input output board to this bo...

Страница 40: ...s 4 7K internal pullup Signal ground Signal ground Ground Right DIN connector Left DIN connector DIN connector RS232 Clear to send CTS Is mostly used with a serial printer Connect to DTR pin of the pr...

Страница 41: ...d the serial cable 2 6 1 4 2 5 3 7 8 4 TxD 2 RxD 5 RxD 3 TxD 2 Ground 5 Ground Male DIN connector Female 9 pins SUB D connector Male solder side Female solder side 5 1 9 6 Using the RS232 port with a...

Страница 42: ...ed to the 5 pins Molex connector CON1 see overview main board This connector is compatible with Omron magnetic card readers The proximity readers used by Vicking electronics use a magnetic card track2...

Страница 43: ...ethod is for long distances maximum 50 meter The proximity reader is connected to the WORKmate through a doorlock interface The reader is now optically isolated from the whole concentrator network Mak...

Страница 44: ...ge 6 Green 1 Orange White 3 Green White 8 Brown 7 Brown White Standard RJ45 connector RJ45 connector 1 2 3 4 5 6 Connection in T block 1 Yellow WM transmitter loop WM transmitter loop 3 Brown WM recei...

Страница 45: ...O board This is used when the network cable enters the WORKmate via the back side The cable can be pulled through a pipe or the wall and cut to size because no connectors are needed with this method C...

Отзывы: