Elatec GmbH
Page 2 of 50
Content
1.
Introduction..................................................................................................................... 4
2.
Functional Overview....................................................................................................... 4
3.
Modes of Operation......................................................................................................... 5
3.1
USB-Device .............................................................................................................................. 6
3.1.1
Keyboard Emulation (USB HID Device).........................................................................................6
3.1.2
Emulating a Virtual Serial Port ........................................................................................................6
3.2
V24-Device............................................................................................................................... 6
3.2.1
Serial Communication Parameters ...................................................................................................6
3.2.2
Pin Assignment ................................................................................................................................7
4.
Installation ...................................................................................................................... 7
4.1
V24-Device............................................................................................................................... 7
4.2
USB-Device (Keyboard Emulation) ...................................................................................... 8
4.3
USB-Device (Virtual Serial Port) .......................................................................................... 9
5.
Configuration ................................................................................................................ 11
5.1
Entering the Configuration Mode....................................................................................... 11
5.2
Writing a Configuration to a TWN3 Device ...................................................................... 12
5.3
Resuming Normal Operation............................................................................................... 13
5.4
Selecting Mode of Operation ............................................................................................... 14
5.5
Setting Up the Keyboard Emulation................................................................................... 15
5.5.1
Table of Scan Codes ......................................................................................................................15
5.5.2
Sending ALT Codes.......................................................................................................................17
5.5.3
Key Repeat Rate ............................................................................................................................17
5.6
Installing Scripts ................................................................................................................... 18
5.7
Miscellaneous Settings.......................................................................................................... 19
5.8
Updating the Firmware........................................................................................................ 20
5.9
Preferences ............................................................................................................................ 21
5.10
Export and Import of Configurations............................................................................. 22
5.11
Installing USB-Drivers for Configuration ...................................................................... 23
6.
Transparent Mode......................................................................................................... 24
6.1
HID Prox Transparent Protocol.......................................................................................... 25
6.2
IndiTag Transparent Protocol............................................................................................. 25
7.
Scripting ........................................................................................................................ 26
7.1
Language Description........................................................................................................... 26
7.1.1
Source Code...................................................................................................................................26
7.1.2
Comments ......................................................................................................................................26
7.1.3
Case Sensitivity..............................................................................................................................26
7.1.4
Preprocessor Directives .................................................................................................................26
7.1.4.1
#include Directive......................................................................................................................27
7.1.5
Functions........................................................................................................................................27
7.1.5.1
Return Values.............................................................................................................................27
7.1.5.2
Arguments..................................................................................................................................27