RSF Elektronik UFC 430 User Manual

Usb-interface module
Table of Contents

Advertisement

Quick Links

USER MANUAL
UFC 430
USB-INTERFACE MODULE
12/2017

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UFC 430 and is the answer not in the manual?

Questions and answers

Summary of Contents for RSF Elektronik UFC 430

  • Page 1 USER MANUAL UFC 430 USB-INTERFACE MODULE 12/2017...
  • Page 2: Table Of Contents

    TABLE OF CONTENTS General Information ..............................03 Important information ....................................03 Application ........................................03 Items supplied ........................................03 Specifications ................................04 Mechanical Design and Ambient Conditions ...............................04 USB Bus ...........................................04 Counter Interface (X1, X2, X3) ..................................04 I/O Interface (X4) ......................................04 Counter Operating Modes ....................................04 Latch Logic ........................................05 Hardware ...................................06 Connecting Elements and "Ready"...
  • Page 3: General Information

    Only use antistatic packaging material ƒ For mounting observe that the working place is properly grounded ƒ Do not engage or disengage any connectors while the power supply is switched on ƒ Application The UFC 430 module serves to record and evaluate encoder signals. It can also be used as an event counter. 1.3 Items supplied UFC 430 (interface module) ƒ Wall power supply (option) ƒ CD with operating instructions, demo program and driver software...
  • Page 4: Specifications

    2. SPECIFICATIONS 2.1 Mechanical Design and Ambient Conditions Dimensions of the UFC 430 module: approx. 200 x 100 x 25 mm ƒ Maximum permissible ambient temperature: + 40 °C ƒ 3 D-Sub terminal strips, female, 15-pin (HD) for counter Inputs ƒ 1 D-Sub terminal strip, male, 15-pin (HD) fot I/O signals ƒ...
  • Page 5: Counter Interface (X1, X2, X3)

    www.rsf.at 2.3 Counter Interface (X1, X2, X3) The definitions below apply for each of the encoder inputs! 3 RS422 (line driver) or analog Inputs (1 Vpp) for square-wave encoder signals and reference marks; ƒ Input frequency: ƒ Encoders with TTL signals: max. 500 kHz (aslope time ≥0.5 µs) Encoders with analog signals (1Vpp): • max. 200 kHz at times 20 interpolation •...
  • Page 6: Hardware

    3. HARDWARE 3.1 Connecting Elements and "Ready" LED Fig. 1: Connecting elements and "Ready" LED Description 1a; 1b; 1c X1; X2; X3 = D-Sub terminal strip, female, 15-pin for counter interface = D-Sub terminal strip, male, 15-pin for I/O interface = USB connector, type B = Low-voltage connector for external power supply Note! Table 1: Overview of the connecting elements...
  • Page 7: Connector Pin Assignments

    www.rsf.at 3.2 Connector Pin Assignments Connector pin assignment X1, X2, X3: Signal Input A+ Input A- Input B+ Input B- Input R+ Input R- Power supply +5V Shield Trigger signal S1 Trigger signal S2 Power supply +5V sensor GND sensor Interference signal S- not connected Table 3: Connector pin assignment X1, X2, X3 Connector pin assignment X4:...
  • Page 8: Description Of The Functions

    4.1 Counter Interface Fig. 2: Block diagram The UFC 430 module features three equivalent counter channels (X1, X2, and X3) each with an interpolator, a counter, two latch registers, one load register, one control and one status register. Counter operating modes...
  • Page 9: Table 6: Dll Functions, Load Register

    ƒ Encoder interference signals (that may be present on encoders with TTL signals) ƒ Encoder amplitude monitoring (only active for encoders with 1 Vpp signals and integrated in the UFC 430 module) ƒ Encoder trigger signals (option for linear encoders) ƒ...
  • Page 10: I/O Interface

    I/O Interface The UFC430 module features an external I/O port (X4) with 8 inputs and 4 outputs. All inputs of the port are assigned special functions. If you do not need these special functions, the inputs are available to your requirements. The outputs of the port have no special functions (exception: OUT 4) and therefore they are always available.
  • Page 11: Delay Timer For External Sync-In

    www.rsf.at 4.2.1 Delay Timer for external Sync-In Timer value (8-bit) Timer Timer off 1...255 Timer on Table 10: Delay-Timer Fig. 3: Delay timer t1 < t3 < t2 t3 = timer value * 128 µs The delay timer serves to activate a drop-out delay and thus a debouncing of the Sync-In input. If the timer value is zero, the delay timer is in active and the Sync signal directly follows the input. If the timer value is "<>...
  • Page 12: Dc Parameters

    4.2.2 DC Parameters Parameter Symbol Unit Input voltage HIGH Output voltage HIGH Output voltage HIGH Table 11: DC Parameters...
  • Page 13: Instructions For Installation

    UFC 430 module may be damaged ƒ Connect the UFC 430 module to a personal computer using a USB cable ƒ Connect the UFC 430 module to the main supply via a wall power supply (12 VDC) 5.2 Installing the Drivers WINDOWS XP / VISTA / 7 / 8 After the booting procedure the operating system automatically detects the UFC430 module.
  • Page 14: Dll Functions

    DLL FUNCTIONS 6.1 Overview of the DLL Functions 6.1.1 General Functions Description Brief reference Open device driver integer UFC_OpenDrv (void) Close device driver integer UFC_CloseDrv (void) Generate reset integer UFC_SetReset (unsigned char card) integer UFC_GetFirmwareVersion (unsigned char card, unsigned char *major, Read out firmware version unsigned char *minor, unsigned char *version, unsigned char *revision) integer UFC_GetHardwareVersion...
  • Page 15: Functions For Error Messages And Status

    www.rsf.at 6.1.3 Functions for Error Messages and Status Description Brief reference integer UFC_ClearError (unsigned char card, Clear error messages unsigned char Clear) integer UFC_GetCounterStatus (unsigned char card, Read out counter status unsigned char Axis, unsigned short *Status) Table 14: Functions for error messages and status 6.1.4 Functions for load and clear Counter Description Brief reference...
  • Page 16: Functions For Referencing

    6.1.6 Functions for referencing Description Brief reference integer UFC_SetRefINit (unsigned char card, Initialize reference mode unsigned char Axis, unsigned char Init) integer UFC_GetRefINit (unsigned char card, Read out reference mode unsigned char axis, unsigned char *Init) integer UFC_ClearRef (unsigned char card, Enable reference pulse(s) unsigned char Clear) integer UFC_RefPar (unsigned char card,...
  • Page 17: Reference Of The Dll Functions

    www.rsf.at 6.2 Reference of the DLL Functions The DLL uses the following data types: ƒ unsigned char: 8 bits (no sign) ƒ unsigned char *: Pointer to 8 bits (no sign) ƒ unsigned short: 16 bits (no sign) ƒ unsigned short *: Pointer to 16 bits (no sign) ƒ...
  • Page 18: Ufc_Getfirmwareversion

    UFC_GetFirmwareVersion Provides the firmware version of the UFC430 module Prototype: return = UFC_GetFirmwareVersion (unsigned char card, unsigned char *major, unsigned char *mINor, unsigned char *version, unsigned char *revision); return: (-2…1) card: Number of the module (0…7) *major: Firmware major *mINor: Firmware minor *version: Firmware version *revision Firmware revision UFC_GetHardwareVersion Provides the hardware version of the UFC430 module Prototype: return = UFC_GetHardwareVersion (unsigned char card, unsigned long *Version); return: (-2…1) card: Number fo the module (0…7) *Version: Hardware version UFC_GetSerialNumber...
  • Page 19: Functions For Counter And Encoder Mode

    www.rsf.at 6.2.2 Functions for Counter and Encoder Mode UFC_SetInterpolMode Write interpolation factor Prototype: return = UFC_SetInterpolMode (unsigned char card, unsigned char Axis, unsigned char Mode); return: (-2…1) card: Number of the module (0…7) Axis: Number of the axis (0…2) Mode: Counter operating mode (0–11) operating mode 0: Counter input without phase dicriminator (event counter) Track A = Counting-direction signal Track B = Counter clock signal Track R = Counter load or latch signal operating mode 1–3:...
  • Page 20: Ufc_Getdirectionmode

    UFC_SetDirectionMode Write counting direction Prototype: return = UFC_SetDirectionMode (unsigned char card, unsigned char Axis, unsigned char Mode); return: (-2…1) card: Number of the module (0…7) Axis: Number of the axis (0…2) Mode: Counting direction 0 = normal 1 = inverted UFC_GetDirectionMode Read out counting direction Prototype: return = UFC_GetDirectionMode (unsigned char card, unsigned char Axis, unsigned char *Mode); return: (-2…1) card: Number of the module (0…7) Axis:...
  • Page 21: Functions For Messages And Status

    www.rsf.at 6.2.3 Functions for Error Messages and Status UFC_ClearError Clear error messages (status bit 4) Prototype: return = UFC_ClearError (unsigned char card, unsigned char Clear); return: (-2…1) card: Number of the module (0…7) Clear: Bit 0 = 0 a Do not clear error for counter 1 (axis 0) 1 a Clear error for counter 1 (axis 0) Bit 1 = 0 a Do not clear error for counter 2 (axis 0) 1 a Clear error for counter 2 (axis 1) Bit 2 = 0 a Do not clear error for counter 3 (axis 0)
  • Page 22: Functions For Load And Clear Counter

    6.2.4 .Functions for load and clear Counter UFC_SetLoadClearMode Write counter load and clear mode Prototype: return = UFC_SetLoadClearMode (unsigned char card, unsigned char Axis, unsigned char Mode); return: (-2…1) card: Number of the module (0…7) Axis: Number of the axis (0…2) Mode: Counter load/clear mode (0–7) with hardware signal 0 = Hardware signals locked 1 = Clear counter with next encoder reference pulse 2 = Clear counter all encoder reference pulses 3 = Clear counter with integrated timer 4 = Load counter with next encoder reference pulse...
  • Page 23: Functions For Latching And Reading Out Count Values

    www.rsf.at UFC_LoadCounter A seperate load register is available for each counter channel. With this function the individual counters can be loaded with the contents of these registers. The counters can also be loaded by a number of hardware sources (see UFC_SetLoadClearMode on page 22). Prototype: return = UFC_LoadCounter (unsigned char card, unsigned char Load);...
  • Page 24 UFC_GetLatchMode Read out latch register mode Prototype: return = UFC_GetLatchMode (unsigned char card, unsigned char Axis, unsigned char Reg, unsigned char *Mode); return: (-2…1) card: Number of the module (0…7) Axis: Number of the axis (0…2) Reg: Latch register (0 or 1) *Mode: Selected counter latch mode (0–7) UFC_LatchImpuls Generate latch pulse Prototype: return = UFC_LatchImpuls (unsigned char card);...
  • Page 25: Funcions For Referencing

    www.rsf.at 6.2.6 Functions for referencing UFC_SetRefInit Initializing of external inputs as reference-pulse inhibitor. Prototype: return = UFC_SetRefInit (unsigned char card, unsigned char Axis, unsigned char Init); return: (-2…1) card: Number of the module (0…7) Axis: Number of the axis (0…2) INit: 0 a External input has no influence on the reference pulse 1 a External input acts as reference pulse inhibitor IN 1 (pin 1) for counter channel 1 (axis 0) IN 3 (pin 3) for counter channel 2 (axis 1) IN 5 (pin 5) for counter channel 3 (axis 2)
  • Page 26 UFC_RefPar Write to parameters for encoders with distance-coded reference marks Prototype: return = UFC_RefPar (unsigned char card, unsigned char Axis, unsigned short RefDis, unsigned short RefOffset, long Ref1, long Ref2, long PosOffset, long *EncOffset); return: (-2…1) card: Number of the module (0…7) Axis: Number of the axis (0…2) RefDis: Basic spacing of the reference marks RefOffset: Reference offset Ref1: Current count on first reference mark Ref2: Current count on second reference mark PosOffset: Counter offset...
  • Page 27: Functions For External Inputs And Outputs

    www.rsf.at 6.2.7 Functions for external Inputs and Outputs UFC_SetExtInit Initialization of the polarity for the external inputs and outputs at X4 Prototype: return = UFC_SetExtInit (unsigned char card, unsigned short Init); return: (-2…1) card: Number of the module (0…7) Init: Bit 0 = 0 a Output 4 (Casc-Out) not triggered by software latch impuls Output 4 (Casc-Out) triggered by software latch pulse Bit 1 = 0 a Output 4 (Casc-Out) not triggered by internal timer...
  • Page 28 UFC_SetExtOut Write external outputs (X4) Prototype: return = UFC_SetExtOut (unsigned char card, unsigned char Out); return: (-2…1) card: Number fo the module (0…7) OUT: Bit 0 = 0 a Output 1 inactive 1 a Output 1 active Bit 1 = 0 a Output 2 inactive 1 a Output 2 active Bit 2 = 0 a Output 3 inactive 1 a Output 3 active Bit 3 = 0 a Output 4 inactive...
  • Page 29: Functions For The Timer

    www.rsf.at 6.2.8 Functions for the Timer UFC_SetTimer Sets the preload value for the timer. If the preload value is set to "0", a running timer is stopped at the next zero crossover. If the preload value is <> 0, a non-running timer is immediately started with the specified value; a running timer receives the new value at the next zero crossover.
  • Page 30: List Of Figures

    LIST OF FIGURES Fig. 1: Connecting elements and "Ready" LED ..............................6 Fig. 2: Block diagram ......................................8 Fig. 3: Delay timer .........................................11 LIST OF TABLES Table 1: Overview of the connecting elements ..............................6 Table 2: Overview of the "Ready" LED ................................. 6 Table 3: Connector pin assignment X1;...
  • Page 31: History

    (1Vpp) ƒ Revision of the user manual 01/2007 - 02/2013 insert table of history ƒ 02/2013 insert technical drawing of UFC 430-controller housing ƒ update of the installation instructions ƒ 09/2017 Revision of distribution contacts LIST OF THE DLL FUNCTIONS UFC_ClearCounter ...............15, 22...
  • Page 32: List Of The Dll Functions

    DISTRIBUTION CONTACTS AUSTRIA RSF Elektronik Ges.m.b.H. A-5121 Tarsdorf 93 +43 62 78 81 92-0 e-mail: info@rsf.at +43 62 78 81 92-79 internet: www.rsf.at Corporate Head Quarters BELGIUM HEIDENHAIN NV/SA Pamelse Klei 47 +32 (54) 34 3158 e-mail: sales@heidenhain.be 1760 Roosdaal +32 (54) 34 3173 internet: www.heidenhain.be FRANCE HEIDENHAIN FRANCE sarl 2 Avenue de la Christallerie +33 1 41 14 30 00...

Table of Contents