Heilig & Schwab USB Counter 026 User Manual

Usb counter

Advertisement

User Manual
USB Counter
Heilig & Schwab GmbH & Co. KG
Haystraße 24
55566 Bad Sobernheim
GERMANY
T: +49 (0) 67 51 / 93 12-0
F: +49 (0) 67 51 / 93 12-15
info@heilig-schwab.de
www.heilig-schwab.de

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USB Counter 026 and is the answer not in the manual?

Questions and answers

Summary of Contents for Heilig & Schwab USB Counter 026

  • Page 1 User Manual USB Counter Heilig & Schwab GmbH & Co. KG Haystraße 24 55566 Bad Sobernheim GERMANY T: +49 (0) 67 51 / 93 12-0 F: +49 (0) 67 51 / 93 12-15 info@heilig-schwab.de www.heilig-schwab.de...
  • Page 2 USB-Counter 026 / USB-Counter 048 Neither the whole nor any part of this documentation may be reproduced, passed on to third parties, stored in a database system or translated into another language without the written permission of Heilig & Schwab GmbH & Co. KG. ©...
  • Page 3: Table Of Contents

    Setting the reference direction__________________________________________________ 21 4 COUNTER STATUS _____________________________________________________ 22 4.1 LED _______________________________________________________________ 22 DISPLAY USB Counter 026 ___________________________________________________________ 22 USB Counter 026-2 __________________________________________________________ 22 USB Counter 026-3 __________________________________________________________ 22 USB Counter 048 ___________________________________________________________ 22 5 TECHNICAL DATA______________________________________________________ 23 5.1 USB 2.0 __________________________________________________________________ 23 USB-B socket ______________________________________________________________ 23 5.2 S...
  • Page 4: Important Notice

    USB-Counter 026 / USB-Counter 048 1 Important Notice 1.1 Compatibility Statement Manufacturer and product name Manufacturer: Heilig & Schwab GmbH & Co. KG Haystraße 24 55566 Bad Sobernheim Germany Product: 1-axis USB Counter Model: USB-Counter 026 / 026-2 / 026-3 / 048 EMC Specifications The USB counter meets the standards below: Interference emission...
  • Page 5: Purpose

    USB-Counter 026 / USB-Counter 048 1.2 Purpose The USB Counter is used to connect incremental rotary encoders, linear encoders and scanning probes directly to a computer's USB port. TTL or voltage signal (~ 1 V The USB-counter 026 analyzes a TTL signal or a voltage signal.
  • Page 6: Delivery Schedule And System Requirements

    USB-Counter 026 / USB-Counter 048 1.3 Delivery schedule and system requirements Delivery schedule The following is included in the package: Item Amount Name Notes USB-Counter 026 USB Counter USB-Counter 026-2 optional for item 1 USB-Counter 026-3 optional for item 1 USB-Counter 048 optional for item 1 USB cable, A/B, 1.0 m...
  • Page 7: Installation

    USB-Counter 026 / USB-Counter 048 2 Installation It is also assumed that before installing the USB Counter you will have read this user manual and observed the relevant safety and operating instructions. The USB Counter can quickly be integrated into your application using the driver software for the various Windows operating systems that is included in the package.
  • Page 8: Connecting The Usb Counter

    USB-Counter 026 / USB-Counter 048 2.2 Connecting the USB Counter The USB Counter is connected to a free USB port on a PC or notebook using the USB A-B cable. The cable can be connected while the PC or notebook is running (hot plugging).
  • Page 9: Configuration

    USB-Counter 026 / USB-Counter 048 3 Configuration 3.1 The DLL “HS_UC.DLL” library functions DLL function call Meaning HS_UC_Init Loads the driver and checks whether the USB Counter is available. Initialises the USB Counter. Defines den counter type (TTL / ~ 1 V / ~ 11 µA HS_UC_GetVersion Reads out DLL versions and firmware.
  • Page 10: Initialising The Usb Counter

    USB-Counter 026 / USB-Counter 048 Initialising the USB Counter Function name: HS_UC_Init long HS_UC_Init (long CounterNo, Syntax: long Type); Loads the driver and checks whether the USB Counter is available. Description: Initialises the USB Counter and sets the reference parameters to the default setting.
  • Page 11: Reading Out Versions

    USB-Counter 026 / USB-Counter 048 Reading out versions Function name: HS_UC_GetVersion long HS_UC_GetVersion (long CounterNo, Syntax: char* DllVersion, char* FirmwareVersion); Reads out DLL versions and firmware. Description: Device number (1…15) Parameter value: CounterNo Pointer to the string where the DLL version is DllVersion entered.
  • Page 12: Reading Out The Counter Value

    USB-Counter 026 / USB-Counter 048 Reading out the counter value Function name: HS_UC_GetCounterVal long HS_UC_GetCounterVal (long CounterNo, Syntax: long *CountVal, long *CountStat); Reads out the counter value and status of the USB Counter. Description: Device number (1…15) Parameter value: CounterNo Pointer to the counter value variable.
  • Page 13: Reading Out The Offset Counter Value

    USB-Counter 026 / USB-Counter 048 Reading out the offset counter value Function name: HS_UC_GetCounter long HS_UC_GetCounter (long CounterNo, Syntax: long *Count, long *Status); Reads out the counter value and status of the USB Counter. Description: The counter value is included with the reference value and the multi- plier.
  • Page 14: Resetting Reference

    USB-Counter 026 / USB-Counter 048 Resetting reference Function name: HS_UC_ResetRef long HS_UC_ResetRef (long CounterNo); Syntax: Resets the USB Counter reference. Description: The reference point must be passed once again. Device number (1…15) Parameter value: CounterNo Return value: Error © Heilig & Schwab GmbH & Co. KG Page 14...
  • Page 15: Setting The Counter Value Multiplier

    USB-Counter 026 / USB-Counter 048 Setting the counter value multiplier Function name: HS_UC_SetMultiplier long HS_UC_SetMultiplier (long CounterNo, Syntax: long Multiplier); Sets the multiplier. Description: Note: The counter direction can be reversed easily using the multiplier. The multiplier must then be set to -1. Device number (1…15) Parameter value: CounterNo...
  • Page 16: Configuring Distance Coding

    USB-Counter 026 / USB-Counter 048 Configuring distance coding Function name: HS_UC_SetDistCode long HS_UC_SetCistCode (long CounterNo, Syntax: long Distance, long Pitch, long Interpolation long Offset, long Direction); Configures the parameters for distance-coded rulers. Description: Device number (1…15) Parameter value: CounterNo Basic reference mark spacing in mm Distance (Default = 20 mm) Signal period in µm (Default = 20 µm)
  • Page 17: Setting Reference Mode

    USB-Counter 026 / USB-Counter 048 Setting reference mode Function name: HS_UC_SetRefMode long HS_UC_SetMode (long CounterNo, Syntax: long RefMode); Sets the reference and latch mode of the USB Counter. Description: Device number (1…15) Parameter value: CounterNo Reference mode RefMode 00h: No reference detection (Default) 01h: Single reference detection 02h: Cyclical reference detection 03h: Distance-coded reference...
  • Page 18: Closing The Usb Counter Program

    USB-Counter 026 / USB-Counter 048 Closing the USB Counter program Function name: HS_UC_Close long HS_UC_Close (long CounterNo); Syntax: Closes the USB Counter program. Description: Device number (1…15) Parameter value: CounterNo Return value: Error © Heilig & Schwab GmbH & Co. KG Page 18...
  • Page 19: Resetting The Usb Port

    USB-Counter 026 / USB-Counter 048 Resetting the USB port Function name: HS_UC_ResetUSBPort long HS_UC_ResetUSBPort (long CounterNo) Syntax: Resets the USB port. Description: The effect is the same as disconnecting then reconnecting the device from USB. After this, the USB Counter has to be initialised. Device number (1…15) Parameter value: CounterNo...
  • Page 20: Reading Out The Serial Number

    USB-Counter 026 / USB-Counter 048 Reading out the serial number Function name: HS_UC_GetSerialnumber long HS_UC_GetSerialnumber (long CounterNo, Syntax: char* Serialnumber); Reads out the serial number. Description: Device number (1…15) Parameter value: CounterNo Pointer to the string where the serial number Serialnumber is entered.
  • Page 21: Setting The Reference Direction

    USB-Counter 026 / USB-Counter 048 Setting the reference direction Function name: HS_UC_SetRefDir long HS_UC_SetRefDir (long CounterNo, Syntax: long RefDir); Sets the reference direction of the USB Counter. Description: Device number (1…15) Parameter value: CounterNo Reference direction RefDir 00h: Both directions (Default) 01h: Positive direction 02h: Negative direction Return value:...
  • Page 22: Counter Status

    USB-Counter 026 / USB-Counter 048 4 Counter status 4.1 LED display USB Counter 026 A red LED indicates the operating mode. Red LED: → The identification of the USB counter is ok. Red LED: → Error in connection. USB Counter 026-2 A yellow LED indicates the operating mode.
  • Page 23: Technical Data

    USB-Counter 026 / USB-Counter 048 5 Technical Data 5.1 USB 2.0 USB-B socket Signal Notes + 5 V Data – Data + USB-B socket With USB devices the maximum cable length is 5 metres. The USB repeater cable is an “active extension cable” used to ex- tend a USB connection.
  • Page 24: Signal Input

    USB-Counter 026 / USB-Counter 048 5.2 Signal input TTL input Signal Notes Shield (Reference + 5 V 9 pin sub D socket connector Reference) • Signal: ≥ 2 V, U ≤ 0.8 V (EIA Standard RS 422) • Signal division: Interpolation by factor 4 •...
  • Page 25: Voltage Input

    USB-Counter 026 / USB-Counter 048 Voltage input (~ 1 V Signal Notes Shield + 5 V 9 pin sub D socket connector • Signal: 0.8 – 1.2 V , typ. 1 V (sinusoidal) • Signal division: Interpolation by factor 256 •...
  • Page 26: Acu-Rite Ttl Input

    USB-Counter 026 / USB-Counter 048 ACU-RITE TTL input Signal Notes n. c. (A+) (A-) (B+) (B-) + 5 V 9 pin sub D socket connector (R+) (Reference (R-) Reference) • Signal: ≥ 2 V, U ≤ 0.8 V (EIA Standard RS 422) •...
  • Page 27: Unipolar Ttl Input

    USB-Counter 026 / USB-Counter 048 Unipolar TTL input Signal Notes n. c. n. c. Shield n. c. + 5 V 9 pin sub D socket connector Reference) The unipolar TTL signal is a matter of two 90° staggered TTL signals (U ).
  • Page 28: Current Input (~ 11 Μa Pp )

    USB-Counter 026 / USB-Counter 048 Current input (~ 11 µA Signal Notes Shield (Referenz + 5 V 9 pin sub D socket connector Referenz) • Signal: 5 - 16 µA , typ. 11 µA (sinusoid) • Signal spacing: 256 x interpolation •...
  • Page 29: Mechanical And Physical Specifications

    USB-Counter 026 / USB-Counter 048 5.3 Mechanical and physical specifications Notes Housing Two-piece plastic housing Material ABS, black Dimensions Length: 72 mm Width: 52 mm Height: 24 mm Weight 41 g (without cable) Storage temperature - 30° to + 70° C Operating temperature 0°...
  • Page 30: Guarantee Terms

    USB-Counter 026 / USB-Counter 048 6 Guarantee terms The manufacturer guarantees his hardware and software products for a period of two years from delivery date. During this guarantee period the manufacturer will either repair in the manufacturing firm or replace products that prove to be faulty. The guarantee terms do not apply if: •...

This manual is also suitable for:

Usb counter 026-2Usb counter 026-3Usb counter 048

Table of Contents