background image

Manual USB Terminal Element 

WERMA Signaltechnik GmbH + Co. KG 
Manual for USB Terminal Element KombiSIGN 71 and 
KOMPAKT 71 with USB Interface 
 
Version 2.2. – 2014 
 

 

 

Summary of Contents for KombiSIGN 71

Page 1: ...Manual USB Terminal Element WERMA Signaltechnik GmbH Co KG Manual for USB Terminal Element KombiSIGN 71 and KOMPAKT 71 with USB Interface Version 2 2 2014 ...

Page 2: ......

Page 3: ... Version 11 5 2 2 Name 11 5 2 3 Write 12 5 2 4 Read 13 5 3 HyperTerminal 13 6 Operation with Dynamic Link Library DLL 16 6 1 Introduction 16 6 2 Related files and executables 16 Runtime files 16 6 3 DLL Functions 16 6 3 1 Function Overview 16 6 3 2 Basic Functions 17 6 3 2 1 SetUsbDevice 17 6 3 2 2 SetDeviceStatus 17 6 3 2 3 GetDeviceStatus 18 6 3 2 4 GetDeviceSerial 19 6 3 2 5 GetDeviceLocation 1...

Page 4: ...he element can also be simply commissioned by means of VCP Virtual COM Port actuation This ensures for simple integration into any customer specific software Up to five signal towers with a maximum of five signalling elements each can be connected per PC An optimized electronic circuit allows each of the elements to be triggered either as a permanent or blinking light This means that up to ten dif...

Page 5: ...uantity Pre assembled tower red yellow green with USB terminal element 1 USB cable 1 8 m 1 Software CD 1 Instruction leaflet 1 2 2 System requirements 500 MHz Pentium II processor or higher 256 MB RAM 512 MB is recommended 150 MB free hard disk space CD DVD drive USB port Windows 2000 service pack 4 Windows XP Windows Vista Windows 7 or Windows 8 Windows Server 2000 service Pack 4 Windows Server 2...

Page 6: ...ons Caution Please also refer to the instruction leaflet for your WERMA signal tower The USB terminal element is not suitable for safety critical applications For use with 24 V WERMA signal elements with max 90 mA KOMPAKT 71 ...

Page 7: ...ower elements can be triggered directly from a PC or Laptop via a standard USB interface The USB port must deliver min 500 mA if not a USB Hub with external power supply must be used 3 Automatic Driver Installation Insert the USB terminal element CD and install the file Setup_Win_2k_XP_Vista_7 This setup installs the drivers for Windows 2000 Windows XP Windows Vista Windows 7 and Windows 8 Note Yo...

Page 8: ...equired if the USB terminal element is not recognised Windows will open the following window Close this window and open the Device Manager Computer Properties Device Manager Click with the right mouse button on USB TERMINAL ELEMENNT and then click on Update Driver Software ...

Page 9: ...ws my computer for driver software and insert the CD of the USB terminal element into your CD ROM drive Specify the location of the driver by clicking Browse Select the Driver folder in the CD ROM drive and confirm by clicking Next ...

Page 10: ...10 The driver for the USB terminal element has been successfully installed Click Close to finish the update Note The USB terminal element is now ready for operation ...

Page 11: ...ne Flow control No 5 2 Commands Note Every command has to end with a return or line feed 5 2 1 Version Type Command Description Version V Information about the version V CR Return Information of the version Example V CR Version 1 2 0 5 2 2 Name Type Command Description Name N Information about the name N CR Return Information of the name Example N CR USB TERMINAL ELEMENT ...

Page 12: ...e no change on that tier WRXXXXX CR Return Tier 5 Tier 4 Tier 3 Tier 2 Tier 1 Write Example WR120X3 CR OK Tier 1 On Tier 2 Blinking mode 1 Tier 3 Off Tier 4 Don t care Tier 5 Blinking mode 2 Note Blinking mode1 and Blinking mode 2 differ by blinking alternately see diagram ON OFF Permanent ON OFF Blinking mode 1 ON OFF Blinking mode 2 Time ...

Page 13: ...he USB terminal element can be triggered Using the same settings the USB terminal element can be triggered from other applications Note As of Windows Vista HyperTerminal is no longer included But you can download this free from the Internet or use another terminal program Example with HyperTerminal 1 Connect the USB terminal element to a USB port on your computer 2 Start the HyperTerminal Start Pr...

Page 14: ...ct the corresponding port e g COM6 5 Set the bits per second in the following window to 9600 and flow control to none 6 Open the Properties File Properties and the register Settings and press the button ASCII Setup ...

Page 15: ...can save these settings on your PC in order to retrieve them as required Now you can pass the commands to the USB terminal element Note the following points Make sure it is spelt correctly correct case In the event of false entries press the Return button and start again It is not possible to make corrections during the entry ...

Page 16: ... Runtime files The DLL Library should reside in a file located in the same folder with user project EXE file This file communicates with the USB module slma dll Contains functions which provide control over the USB module slma_x64 dll Use this DLL for 64 bit systems Contains functions which provide control over the USB module 6 3 DLL Functions 6 3 1 Function Overview 1 Please note that Linux Mac O...

Page 17: ...ceStatus int SetDeviceStatus in int DevIdx in char Pos1 in char Pos2 in char Pos3 in char Pos4 in char Pos5 SetDeviceStatus sets the status for all outputs Parameters DevIdx Index to the desire device currently available in the system The first index is 1 Further Functions SetIOStatus Sets the status ON or OFF for all Outputs SetSingleIO Sets the status ON OFF Blinking mode 1 Blinking mode 2 of a ...

Page 18: ... 2 3 GetDeviceStatus int GetDeviceStatus in int DevIdx out char Pos1 out char Pos2 out char Pos3 out char Pos4 out char Pos5 GetDeviceStatus gets the status for all outputs Parameters DevIdx Index to the desire device currently available in the system The first index is 1 Pos1 Pos2 Pos3 Pos4 Pos5 Pointer to a variable that will contain the status of the output Macro Value As Char Value in ASCII De...

Page 19: ...tch code SerialCode Pointer to a variable that will contain the device serial code Return Value 1 if successful otherwise the return value is 1 6 3 2 5 GetDeviceLocation int GetDeviceLocation in int DevIdx out int Loc GetDeviceLoation gets the Location ID of the USB port where the device is connected The Location ID is unique and can be used to distinguish between various devices currently install...

Page 20: ...r to a variable that will contain the device minor firmware version value Build Pointer to a variable that will contain the device build firmware version value Return Value 1 if successful otherwise the return value is 1 6 3 2 7 GetLibVersion int GetLibVersion out int Major out int Minor GetLibVersion gets the currently used library version Parameters Major Pointer to a variable that will contain ...

Page 21: ...set to ON status The value 0 indicates the OFF status This parameter can be a combination of the following Output port indexes The value range is between 0 31 Macro Value Description OFF 0 No port enable O1 1 Output 1 enable O2 2 Output 2 enable O3 4 Output 3 enable O4 8 Output 4 enable O5 16 Output 5 enable Return Value 1 if successful otherwise the return value is 1 6 3 3 2 SetSingleIO int SetSi...

Page 22: ...t index is 1 OutMask Pointer to a variable that will contain the current Output status mask This parameter can be the sum of the following Output port indexes Macro Value Description OFF 0 No port enable O1 1 IO 1 enable also if Blinking mode1 or Blinking mode 2 is set O2 2 IO 2 enable also if Blinking mode1 or Blinking mode 2 is set O3 4 IO 3 enable also if Blinking mode1 or Blinking mode 2 is se...

Page 23: ...ently available in the system The first index is 1 IOIdx Specifies the index of current desire Output This value range between 1 to 5 Status Specifies a pointer to variable that will contain the Output status The value set in the variable can be as following 0 Output is OFF 1 Output is ON 2 Output is Blinking mode 1 3 Output is Blinking mode 2 Return Value 1 if successful otherwise the return valu...

Page 24: ...ssage that the DLL was not found Connect the USB terminal element to a USB port on your PC Click on Search Devices to find all connected USB terminal elements max four elements in the demo On the left side you can see all the USB terminal elements which are connected to the PC By clicking on Permanent light Blinking mode 1 or Blinking mode 2 you get different light effects for each tier and each s...

Page 25: ...310 640 008 0514 WERMA Signaltechnik GmbH Co KG D 78604 Rietheim Weilheim Fon 49 0 7424 9557 0 Fax 49 0 7424 9557 44 info werma com www werma com ...

Reviews: