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"...
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...
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 •...
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...
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...
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) ...
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.
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 "<>...
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.
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...
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) ...
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...
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:...
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:...
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)
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);...
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...
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...
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.
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;...
(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...
Need help?
Do you have a question about the UFC 430 and is the answer not in the manual?
Questions and answers