Home

USER MANUAL UFC 430

image

Contents

1. UFC GetCounterStatus Read out counter status Prototype return UFC_GetCounterStatus unsigned char card unsigned char Axis unsigned short Status return 2 1 card Number of the module 0 7 Axis Number of the axis 0 2 Status Bit0 0 gt Encoder track A inactive 1 Encoder track A active Bit 1 0 gt Encoder track B inactive 1 Encoder track B active Bit2 0 Encoder track R inactive 1 Encoder track R active Bit3 0 Encoder signal monitoring inactive 1 gt Encoder signal monitoring active Encoder input pin 14 of encoders with TTL signals amplitude monitoring for encoders with analog input 1 Vpp Bit4 0 Encoder frequency monitoring inactive 1 Encoder frequency monitoring active Bit 5 0 gt First reference mark not traversed 1 First reference mark traversed Bit6 0 Second reference mark not traversed 1 Second reference mark traversed Bit7 0 Reference pulse inhibit inacitve 1 gt Reference pulse inhibit active Bit8 0 Encoder trigger signal S1 inactive 1 Encoder trigger signal S1 active Bit9 0 gt Encoder trigger signal S2 inactive 1 gt Encoder trigger signal S2 active www rsf at 2 RSF Elektronik 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
2. f the input signal t2 is inactive longer than the timer t3 the Sync signal is deactivated as soon as the timer has run off s in active and the Sync signal directly follows the input The time t3 must be programmed longer than the time for the signal drops t1 If the CascOUT output X4 pin 14 is programmed such that it is triggered in synchronism with SynclN X4 pin 8 see DLL function UFC SetExtlnit on page 27 the delay timer can be measured at CascOUT RSF Elektronik 4 2 2 DC Parameters Parameter L ntgen Jm 0 7 V Input voltage 0 Output voltage Output voltage Table 11 DC Parameters 5 5 1 5 2 5 3 www rsf at INSTRUCTIONS FOR INSTALLATION Installing the Hardware Before installation please observe the safety precautions according to DIN EN 100 015 when handling ESD components electrostatic discharge Connect the encoder and possibly available I Os to the UFC 430 module Before doing so make sure that you have disconnected the UFC 430 module from the main supply since otherwise the encoders or the 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 Installing the Drivers WINDOWS XP VISTA 7 8 After the booting procedure the operating system automatically detects the UFC430 module Now the appropriate drivers need to be
3. 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 5 Load counter all encoder reference pulses 6 Clear counter with all encoder reference pulses and additionally load counter on negative zero crossover 7 Load counter with external signal X4 pin 8 UFC_GetLoadClearMode Read out counter and clear mode Prototype return UFC_GetLoadClearMode 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 Selected counter load clear mode 0 7 UFC_ClearCounter Clear counter Prototype return UFC_ClearCounter unsigned char card unsigned char Clear return 2 1 card Number of the module 0 7 Clear Bit0 0 Donotclear counter 1 axis 0 1 gt Clear counter 1 axis 0 Bit1 0 Donotclear counter 2 axis 1 1 gt Clear counter 2 axis 1 Bit2 0 Do not clear counter 3 axis 2 1 gt Clear counter 3 axis 2 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 l
4. Initialize reference mode unsigned char Axis unsigned char Init integer UFC_GetReflNit unsigned char card Read out reference mode unsigned char axis unsigned char Init integer UFC ClearRef unsigned char card unsigned char Clear Enable reference pulse s integer UFC_RefPar unsigned char card unsigned char Axis unsigned short RefDis unsigned short RefOffset ong Ref ong Ref2 ong PosOffset ong EncOffset Read out count values in consider integer UFC_GetPosRef unsigned char card ation of the distance coded unsigned char Axis refernce mark unsigned long Data Write to parameters for encoders with distance coded referencemarks Table 17 Functions for referencing 6 1 7 Functions for external Inputs and Outputs Initialize mode of external i UFC_SetExtINit unsigned char card inputs outputs X4 unsigned short Init Read out mode of external i UFC_GetExtINit unsigned char card inputs outputs X4 unsigned short Init FC SetExt unsigned char card unsigned char Out Write external outputs X4 FC GetExt unsigned char card unsigned short Input D Read out external inputs X4 Table 18 Functions for external inputs and outputs 6 1 8 Functions for the Timer integer UFC_SetTimer unsigned char card Write timer value unsigned short Timer integer UFC GetTimer unsigned char card unsigned short T
5. char card unsigned char major unsigned char mlNor unsigned char version unsigned char revision return 2 1 card Number of the module 0 7 major Firmware major mlNor 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 Provides the serial numer of the UFC430 module USB ID expansion Prototype return UFC GetSerialNumber unsigned char card unsigned long Number return 2 1 card Number of the module 0 7 Number Serial number of the module UFC_GetVoltExtern Provides the voltage read out external power supply Prototype return UFC_GetVoltExtern unsigned char card unsigned short Volt return 2 1 card Number of the module 0 7 Volt Suppy voltage of the module 0 1 V UFC_GetVoltEncoder Provides the amplitude of the encoder supply voltage Prototype return UFC_GetVoltEncoder unsigned char card unsigned short Volt return 2 1 card Number of the module 0 7 Volt Encoder supply voltage 0 1 V www rsf at 6 2 2 Functions for Counter and Encoder Mode UFC SetlnterpolMode Write interpolation factor Prototype return UFC_SetInterpolMode unsigned char c
6. rsf at unsigned char card unsigned char Axis unsigned short Status uns uns unsigned char module unsi igned char mode gned char axis unsigned char card unsi igned char Mode gned char Axis Clear counter integer UFC_ClearCounter unsigned char card unsi gned char Clear Load contents of load register to counter Write load register Table 15 Functions for load and clear counter integer UFC LoadCounter integer UFC SetLoadReg 6 1 5 Functions for latching and reading out Count Values Write latch register mode Read out latch register mode integer UFC SetLatchMode integer UFC GetLatchMode uns uns unsigned char card igned char Load unsigned char card unsi unsi gned char Axis gned long Data unsigned char module unsi unsi unsi gned char axis gned char reg gned char mode unsigned char card unsi igned char Reg gned char Axis nsigned char Mode Generate latch pulse integer UFC_Latchlmpuls unsigned char card Copy count value to latch register Read out latch register integer UFC_LatchCounter integer UFC_GetLatchReg Table 16 Functions for latching and reading out count values unsigned char card unsigned char Latch unsigned char card unsigned char Axis unsigned char Reg unsigned long Data RSF Elektronik 6 1 6 Functions for referencing integer UFC SetReflNit unsigned char card
7. A 4 lt RSF Elektronik USER MANUAL UFC 430 USB INTERFACE MODULE 02 2013 RSF Elektronik TABLE OF CONTENTS 1 General informati n PR 03 LERNEN Doi Term M OON LT meneren ene deedeetee dee eeen eeen 03 I MES Jag EE 03 tes supplied 0 0000000 E E 03 2 UII e EE ee EAA TE A 04 2 1 Mechanical Design and Ambient Conditions sssssssseeeette tette tetti ttt ittis 04 224 USBBIS aaasta mumm 04 23 CounterImterface X I KZ X9 iic in mter AAA roe Cre a a tractet eater rara 04 VP MEN Nc a KA P 04 25 Counter Operating Modes tne EEN EEN 04 Xo E re Ero o NET dean nd 05 3 E OU 06 3 1 Connecting Elements and Ready LED terrere 06 O72 36 eter Pil ASS EE 07 4 Descriptions Of the FUNCTIONS Leona ete entre UDU Ee eebe Ene Cet Sim EA KMA eden 08 41 Counter Interface 08 AD Mi 10 421 Delay Timer Tor erleedegen ee eneen eneen Mn 11 222 DOIParamelerS ct eech s mplida ta eege cate oes aaa ie 12 5 Instructions for Installation Re Een 13 NN Ge gef EE 13 52 Installing the DIMES octodecim tr arbre heater etiim dat ong on a dara neta nee cedens 13 5 3 Installing the enclosed Demonstration Software sssssssseeeeteette tette 13 6 DEL FUNGUONS RE SR DEC 14 6 1 Overview of the DLL function 14 Galie Generali FUNCIONS ennn nennen 14 6 1 2 Functions Tor Co nter arid Encoder Modessa asan aasa ipasa pe qi etica 14 6 1 3 lt FUNCHONS Tor Err
8. C_GetSerialNumber nennen UFC_GetSwitchinit nennen UFC GETIN o rccte rte remet U U U U U U U U U U U U U U U U U U FC GetVoltEncoder nennen eeeeen FC_GetVoltExtern Pare ME anr 204 san tore ee tea 46812110 Te EG MOad COUNTER oat trt t ttr rm n P tr dan ORONO ID A EEE FERE ALL aena N E FC SetDirectionMode FG SCENE Enait ER ECH RT FC GetinterpclMode FC Gel atchMode nennen FC SetLoadClearMode sss FC SetLoadReg FC SRAM nnee entente MESE FC SetSwitchlnit sss EESTI RR RE NIE s AisA www rsf at DISTRIBUTION CONTACTS AUSTRIA Corporate Head Quarters FRANCE GREAT BRITAIN ITALY NETHERLANDS SWEDEN SWITZERLAND CHINA JAPAN KOREA USA RSF Elektronik Ges m b H HEIDENHAIN FRANCE sarl HEIDENHAIN GB Ltd HEIDENHAIN ITALIANA S r l HEIDENHAIN NEDERLAND B V HEIDENHAIN Scandinavia AB RSF Elektronik Schweiz AG RSF Elektronik HEIDENHAIN K K HEIDENHAIN LTD HEIDENHAIN CORPORATION A 5121 Tarsdorf 93 2 Avenue de la Christallerie 92310 S vres 200 London Road Burgess Hill West Sussex RH15 9RD Via Asiago 14 20128 Milano MI Copernicuslaan 34 6710 BB EDE Stors tragr nd 5 SE 12739 Sk rholmen Vieristrasse 14 CH 8603 Schwerzenbach Tian Wei San Jie Area A Beijing Tianzhu Airport Industrial Zone Shunyi District 101312 Beijing PR China Hulic Ko
9. EE 13 F 14 F 15 F 16 F I F 18 F 19 F UNC UNC UNC UNC UNC UNC UNC tions for counter and encoder mode EEN EEN LIONS for ele tons Tor Joad and clear COUMEN s cocco tm dennen tent ie atra m tro eta dna tions latching and reading out count values ttti tenti tions for referencing sssseeetetetenttettette tette tette ttt ttes tions Tor extermal mputs drid OULDULS 0 aan cc cti teet taedia den que qi pet d past ie tions for the mer www rsf at HISTORY Revision of the user manual 05 2006 12 2006 10 2006 accurate listing of input frequencys for encoders with TTL signals and analog signals 1Vpp Corrected the formular for the timer Revision of the user manual 12 2006 01 2007 iod Corrected input frequency for encoders with analog signals 1Vpp Revision of the user manual 01 2007 02 2013 insert table of history insert technical drawing of UFC 430 controller housing update of the installation instructions 02 2013 abs S RSF Elektronik LIST OF THE DLL FUNCTIONS UFC ClearCounter sss UFC _ClearError nennen UITEEN OSD UFC GetCounterStatus nes UFC_GetDirectionMode neen HS GetEXL arcto iret ER ER rs UFC GetExtlInit nennen UFC_GetFirmwareVersiOn nnen UFC _GetHardwareVersion nnee UFC GetInterpolMode nnee UFC_GetLatchMode eneen UFC_GetlatchReg nnen ernaar UFC GetLoadClearMode nnen ee WE UFC _GetReflnit nnen UF
10. ard 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 Counter input with phase discriminiator for encoders with TTL signals only 1 times evaluation 2 times evaluation 3 times4 evaluation operating mode 4 11 Counter input with phase disriminator only for encoders with 1 Vpp signals 4 times20 interpolation 5 times25 interpolation 6 times40 interpolation 7 times50 interpolation 8 times80 interpolation 9 times100 interpolation 10 times200 interpolation 11 times400 interpolation UFC GetlnterpolMode Read out interpolation factor Prototype return UFC_GetInterpolMode 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 Selected counter operating mode 0 11 RSF Elektronik 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_GetDirec
11. ead out encoder supply voltage Table 12 General functions UFC_GetVoltEncoder 6 1 2 Functions for Counter and Encoder Mode Write interpolation factor integer UFC SetInterpolMode unsigned char card unsigned short Volt unsigned char module unsigned char axis unsigned char mode Read out interpolation factor integer UFC_GetinterpolMode unsigned char card unsigned char Axis unsigned char Mode Write counting direction integer UFC SetDirectionMode unsigned char card unsigned char Axis unsigned char Mode Read out counting direction Initialize encoder switch limit integer UFC_GetDirectionMode integer UFC SetSwitchlnit unsigned char card igned char Axis igned char Mode unsigned char card igned char Axi igned char Init Read out encoder limit switch initialization integer UFC_GetSwitchinit Table 13 Functions for counter and encoder mode unsigned char card unsigned char Axis unsigned char Init 6 1 3 Functions for Error Messages and Status unsigned char card unsigned char Clear Clear error messages Read out counter status integer UFC_ClearError integer UFC_GetCounterStatus Table 14 Functions for error messages and status 6 1 4 Functions for load and clear Counter Write counter load and clear mode Read out counter load and clear mode integer UFC SetLoadClearMode integer UFC_GetLoadClearMode www
12. ference parameters www rsf at 6 2 7 Functions for external Inputs and Outputs UFC SetExtlnit Initialization of the polarity for the external inputs and outputs at X4 Prototype return UFC SetExtlnit unsigned char card unsigned short Init return 2 1 card Number of the module 0 7 Init BitO 0c Output 4 Casc 0 1 Output 4 Casc 0 Bit 0c Output 4 Casc 0 1e Output 4 Casc 0 Bit2 0c Output 4 Casc 0 1e Output 4 Casc 0 Bit3 0c Output 4 Casc 0 1e Output 4 Casc 0 Bit4 0r Input 1 LO active 1e Input 1 Hl active Bitb 0r Input 2 LO active 1e Input 2 Hl active Bit6 0r Input 3 LO active 1e Input 3 Hl active Bit7 0c Input 4 LO active 1e Input 4 Hl active Bit8 0c Input 5 LO active 1e Input 5 Hl active Bit9 0c Input 6 LO active 1e Input 6 Hl active Bit 10 0c Input 7 LO active 1e Input 7 Hl active Bit11 0c Input 8 LO active 1e Input 8 Hl active UFC_GetExtInit ut not triggered by software latch impuls ut triggered by software latch pulse ut not triggered by internal timer ut triggered by internal timer ut not triggered X4 pin 8 Sync In ut triggered by X4 pin 8 Sync In ut LO active ut Hl active Read out initialization of the polarities for the external inputs and outputs at X4 Prototype return UFC GetExtlnit unsigned char card unsigned short Init return 2 1 card Numbe
13. ference signal 2 TTL inputs for encoder trigger signals Encoder power supply 5 2 V max 0 2 A UO Interface X4 8 inputs 3 30 V that can be used for ref pulse inhibit counter load signal synchrones or asynchrones latch signal or for special assignment 4 outputs TTL to cascade several cards or for special assignment Counter Operating Modes 3 counter channels 32 bits each one load and two latch registers for each channel To count the square wave signals of encoders with TTL signals To count square wave signals and additional interpolation of encoders with analog signals 1 Vpp Event counter Integrated timer for pulse widths frequency and speed measurements as well as cyclic storage of counter values in the latch registers Latch Logic Asynchronous latching of the counter values for each encoder channel by software reference mark of the encoder or external hardware signal Synchronous storage of several counters by software timer or external signal Output signal for cascading several modules can be programmed for software timer or external hardware synchronisation Storing time 62 5 ns RSF Elektronik 3 HARDWARE 3 1 Connecting Elements and Ready LED a URdy en el Jo si ES of SL A CH 2 Enc1 Enc 2 Enc 3 E Je SINT Fig 1 Connecting elements and Ready LED X1 X2 X3 D Sub terminal strip female 15 pin for counter interface X4 D Sub terminal strip male 15 p
14. h e mail cao shizhi rsf cn internet www rsf cn e mail sales heidenhain co jp internet www heidenhain co jp e mail info heidenhain co kr internet www rsf co kr e mail info heidenhain com internet www rsf net Bley el ZEN Certified acc to PB Elektronik b Ze DINENISO 14001 m Vu b 43 0 6278 8192 79 m e mail info rsf at M internet www rsf at
15. hree counter operating modes are available Event counter with direction input and clear input Counting of square wave signals with times 1 times 2 or times 4 evaluation for encoders with TTL signals Counting of square wave signals with times 1 times 2 or times 4 evaluation and additional times 20 25 50 or times 100 interpolation can be programmed Used DLL function Name Jr je UFC SetinterpolMode 19 Switch between the three operating modes and simultaneously set the interpolation factor Table 5 DLL functions counter operating modes www rsf at Load register For each counter channel a 32 bit load register is available The counter preset value must be written to the load register from where it is transferred to the counter by means of a software command or by a hardware event Used DLL functions Write to load register Software commend to transfer the value from the load register to the counter UFC SetLoadClearMode 22 Select a hardware source to transfer the contents of the load register to the counter Table 6 DLL functions load register Latch register For each counter channel two latch registers are available Before the count values can be read out they must be stored in one of the latch registers The values can be stored either individually for each counter channel or simultaneously for several counter channels either by a software command or by a hardware event Used DLL func
16. imer Read out timer value Table 19 Functions for the timer 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 integer 16 bits no sign unsigned long 32 bits no sign unsigned long Pointer to 32 bits no sign Every function returns a 16 bit integer return integer return 0 gt Data transfer faulty or module time out return 1 gt Data transfer successful return 1 gt Driver not open return 2 gt Driver still open but UFC430 module no longer connected Up to 8 modules cards 0 7 can be connected card unsigned char Each module features three counter inputs axes 0 2 Axis unsigned char 6 2 General Functions UFC OpenDrv Open device driver Prototype return UFC OpenDrv void return 0 Driver not found 1 Driver opened UFC CloseDrv Close device driver Prototype return UFC CloseDrv void return 1 Driver closed UFC SetReset Creates a software reset in the specified module Prototype return UFC_SetReset unsigned char card return 2 1 card Number of the module 0 7 RSF Elektronik UFC GetFirmwareVersion Provides the firmware version of the UFC430 module Prototype return UFC GetFirmwareVersion unsigned
17. in for 1 0 interface X5 USB connector type B X6 Low voltage connector for external power supply Note Table 1 Overview of the connecting elements No Poesen Rdy Lights up as soon as the UFC430 module is ready for operation P Lights up as soon as the external power is present Table 2 Overview of the Ready LED 3 2 Connector Pin Assignments Connector pin assignment X1 X2 X3 www rsf at Power supply 5V GND 2 3 4 5 6 7 8 9 Shield i em Trigger signal S1 Trigger signal S2 i NM Power supply 5V sensor GND sensor E 99 Interference signal S Table 3 Connector pin assignment X1 X2 X3 Connector pin assignment X4 N4 N5 N6 N7 N8 Power supply 5V GND Out 1 Out 2 Table 4 Connector pin assignment X4 Ol m ASE Elektronik 4 DESCRIPTION OF THE FUNCTIONS 4 1 Counter Interface Counter Channel Interpolator Latch Register Counter Latch Register Il Laad Register USB Interface Control Register X1 Counter Interface Status Register 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 T
18. installed Insert the CD labelled UFC430 Driver into your CD ROM drive Follow the instuctions on the screen After the drivers were successfully installed an entry is made to the registry and the following files are copied to the system directory e g C WINdows System32 Drivers UFC430 SYS The enclosed disk contains also the DLLs The corresponding DLL should be included directly in the application Installing the enclosed Demonstration Software The demonstration program uses the previously installed drivers No software installation is required here You can start the demonstration program immediately from the CD ROM or after having copied it from your computer hard disk RSF Elektronik 6 DLL FUNCTIONS 6 1 Overview of the DLL Functions 6 1 1 General Functions Open device driver integer UFC_OpenDrv void Close device driver integer UFC_CloseDrv void Generate reset integer UFC_SetReset igned char card Read out firmware version integer UFC_GetFirmwareVersion igned char card igned char major igned char minor igned char version igned char revision Read out hardware version UFC_GetHardwareVersion igned char card igned long Version Read out serial number USB ID expansion Read out external supply voltage UFC_GetSerialNumber UFC_GetVoltExtern igned char card igned long Number igned char card unsigned short Volt R
19. it for X2 Asynchronous latch signal for X2 Ref pulse inhibit for X3 Asynchronous latch signal for X3 Load signal for X1 X3 Synchronous latch signal for X1 X3 SynclN Free Free Free Cascading signal to cascade several modules CascOUT Table 8 1 0 functions The following DLL functions are used to set the 1 0 functions Select a hardware source to transfer the contents of EE EE the load register to the counter FC_SetReflnit Activates ref pulse inhibit FC SetExtlnit itializing of 1 0 port Select a hardware source to transfer the contents of SEHR the count value to the latch register FC SetExtOut Sets the outputs Table 9 DLL functions external 1 0 port www rsf at 4 2 1 Delay Timer for external Sync In Timer value 8 bit Timer Timer off Timer on Table 10 Delay Timer eync IN x4 Pin 8 eync Signal timer 0 eync Signal timer 0 Fig 3 Delay timer 1 t3 t2 3 ti Notes select polarity delay timer 8 bit Sync Signal active inactive active inactive active inactive retrigger retrigger mer value 128 us The delay timer serves to activate a drop out delay and thus a debouncing of the Sync In input f the timer value is zero the delay timer f the timer value is lt gt 0 the timer is triggered each time the input signal is activated
20. jimachi Bldg 9F 3 2 Kojimachi Chiyoda ku Tokyo 102 0083 202 Namsung Plaza 9th Ace Techno Tower 130 Digital Ro Geumcheon Gu Seoul Korea 153 782 333 East State Parkway Schaumburg IL 60173 5337 Date 02 2013 Art Nr 1063885 01 Dok Nr D1063885 00 A 01 Technical adjustments in reserve E RSF Elektronik Ges m b H DX A 5121 Tarsdorf M 8 43 0 6278 8192 0 E ER Linear Encoders CableSystems Precision Graduations Digital Readouts ENC BEC E ER 29 Z9 H 6 D S D 43 62 78 81 92 0 43 62 78 81 92 79 33 1 41 14 30 00 33 1 41 14 3030 44 1444 247711 44 1444 870024 39 02 27075 1 39 02 27075 210 31 318 58 18 00 31 318 58 18 70 46 8 531 933 50 46 8 531 933 77 41 44 955 10 50 41 44 955 1051 86 1080 42 02 88 86 1080 42 02 90 81 3 3234 7781 81 33262 2539 82 22028 74 30 1847 49011 91 DIN EN ISO 9001 e mail info rsf at internet www rsf at e mail info heidenhain fr internet www heidenhain fr e mail sales heidenhain co uk internet www heidenhain co uk CD mail info heidenhain it ernet www heidenhain i EI mail verkoop heidenhain nl ernet www heidenhain nl Se CD mail sales heidenhain se ernet www heidenhain se EI e mail info rsf ch internet www rsf c
21. o be used as an event counter Items supplied UFC 430 interface module Wall power supply option CD with operating instructions demo program and driver software www rsf at ASE Elektronik 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 1 0 signals USB connector type B Low voltage socke 191 4 USB 8 15V 8 UFC430A H IE g FT ooo t 200 2 2 USB Bus USB interface 2 0 The functions of a USB bus are not described in this manual 2 3 2 6 www rsf at 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 gt slope time 20 5 us Encoders with analog signals 1Vpp max 200 kHz at times 20 interpolation max 160 kHz at times 25 interpolation max 200 kHz at times 40 interpolation max 160 kHz at times 50 interpolation max 200 kHz at times 80 interpola tion max 160 kHz at times 100 interpolation max 80 kHz at times 200 interpolation e max 40 kHz at times 400 interpolation 1 TTL input for encoder inter
22. oaded by a number of hardware sources see UFC SetLoadClearMode on page 22 Prototype return UFC LoadCounter unsigned char card unsigned char Load return 2 1 card Number of the module 0 7 Load BitO 1 Counter 1 axis 0 is loaded with the contents of its load register Bit1 1 gt Counter 2 axis 1 is loaded with the contents of its load register Bit2 1 gt Counter 3 axis 2 is loaded with the contents of its load register UFC SetLoadReg Write to load register Prototype return UFC SetLoadReg unsigned char card unsigned char Axis unsigned long Data return 2 1 card Number of the module 0 7 Axis Number of the axis 0 2 Data 32 Bit value for load register 6 2 5 Functions for latching and reading out count values UFC SetLatchMode Write latch register mode Prototype return UFC_SetLatchMode 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 Counter latch mode 0 7 with hardware signal 0 Hardware signals locked 1 Latch current count with software pulse UFC LatchImpuls 2 Latch current count with integral timer 3 Latch current count via external Sync In at X4 pIN 8 4 Latch current count via external signal at X4 IN 2 Pin 2 for counter channel 1 axis 0 IN 4 Pin 4 for counter channel 2 axis 1 IN 6 Pin 6 f
23. or Messages le 15 6 14 Functions tor loadanid ele nt 15 6 1 5 Functions for latching and reading out Count Values ttti 15 616 ENROUOFIS TOL EEL ING ud a tuse dee lees ts ee 16 6 1 7 Functions for extemal vgl eseu IEN 16 bl Functions TOR WE ET EE 16 6 2 Reference of the DLL Functons terrere rtt 17 62 General DEE er a m a matma a EE eee es il 6 2 2 Functioris or Counter and Encoder MOG snoeren 19 6 2 3 F tictlorisTor Messages and S alls cusa prem em GEO 21 6 2 4 Functions for load and clear Counter ettet ttt tette enteren 22 6 2 5 Functions for latching and reading out Count Values sss sse ttn teens 23 52 6 FUNCIONS TOL TOTOFERIG IIO serenitate CIR CORRER TORTOR UE Leer Tt 25 6 2 7 Functions for external Inputs and Outputs entente treten treten ntes 27 6 2 8 Functions for the mer 29 CEO DM A E er feR Ter A EE E E 30 List of Table 30 LL ee eren E ES 31 List of the DLL Functions nter tette ttti AADEL tte ttti ttti rtt ttti 32 1 1 GENERAL INFORMATION Important Information Danger to components if these notes are not observed Please observe the safety precautions according to DIN EN 100 015 when handling ESD components electrostatic discharge 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 als
24. or counter channel 3 axis 2 5 Latch current count with next encoder reference pulse 6 Latch current count with second encoder reference pulse 7 Latch current count with all encoder reference pulses RSF Elektronik 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 Latchlmpuls Generate latch pulse Prototype return UFC Latchlmpuls unsigned char card return 2 1 card Number of the module 0 7 UFC_LatchCounter For each counter channel two seperate latch registers reg 0 and 1 are available With this function the individual count values can be loaded into the latch registers by software The count values can also be loaded into a latch register by a number of hardware sources see UFC_SetLatchMode on page 23 Prototype return UFC_LatchCounter unsigned char card unsigned char Latch return 2 1 card Number of the module 0 7 Latch Bit0 1 gt Store value of counter 1 axis 0 in the corresponding latch reg 0 Bit1 1 Store value of counter 1 axis 0 in the corresponding latch reg 1 Bit2 1 Store value of counter 2 axis 1 in the corresponding latch reg 0 Bit3 1 Store value of counter 2 axis 1 in the cor
25. r of the module 0 7 INit Setting the polarities 0 65535 RSF Elektronik 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 Bit0 0c Output 1 inactive 1 Output 1 active ut 2 inactive t 2 active Bit 0 Ou 1c Out ut 3 inactive t3 active Bit2 0 gt Out 1c Ou E c gt 3 Le ut 4 inactive t 4 active Bit3 0 Ou 1c Out c CH CH E UFC GetExtIn Read out external inputs X4 Prototype return UFC GetExtln unsigned char card unsigned short Input return 2 1 card Number fo the module 0 7 Input Bit0 0c Input 1 inactive 1 Input 1 active Bit1 0c Input 2 inactive 1 Input 2 active Bit2 0c Input 3 inactive 1 Input 3 active Bit3 0c Input 4 inactive 1 Input 4 active Bit4 0c Input 5 inactive 1 Input 5 active Bit5 0c Input 6 inactive 1 Input 6 active Bit6 0c Input 7 inactive 1 Input active Bit7 0c Input 8 inactive 1 Input 8 active 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 c
26. responding latch reg 1 Bit4 1 Store value of counter 3 axis 2 in the corresponding latch reg 0 Bit 5 1 gt Store value fo counter 3 axis 2 in the corresponding latch reg 1 UFC_GetLatchReg Read out latch register Prototype return UFC_GetLatchReg unsigned char card unsigned char Axis unsigned char Reg unsigned long Data return 2 1 card Number of the module 0 7 Axis Number of the axis 0 2 Reg Latch register 0 or 1 Data Contents of the latch register www rsf at 6 2 6 Functions for referencing UFC SetReflnit Initializing of external inputs as reference pulse inhibitor Prototype return card Axis INit return UFC SetReflnit unsigned char card unsigned char Axis unsigned char Init 2 wen of the module 0 7 Number of the axis 0 2 0 gt External input has no influence on the reference pulse 1 gt 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 UFC GetReflnit Read out initialization of the external inputs for ref pulse inhibit Prototype return card Axis Init return UFC GetRefiNit unsigned char card unsigned char Axis unsigned char Init 2 1 Number fo the module 0 7 Number of the axis 0 2 Setting for ref pulse inhibit 0 or 1 UFC ClearRef Ref pulse enable deletes the reference s
27. rossover Time Preload value 1 bus Prototype return UFC SetTimer unsigned char card unsigned short Timer return 2 1 card Number fo the module 0 7 Timer Preload value 0 65535 UFC_GetTimer Returns the run time remaining until the next zero crossover of the timer During the zero crossover of the timer a signal is generated that can be used for a variety of functions depending on the initialization e g synchronous latching of count values load counter or generating a pulse at the CascOut output Prototype return UFC_GetTimer unsigned char card unsigned short Timer return 2 1 card Number fo the module 0 7 Timer Remaining the time 0 65535 abs S RSF Elektronik LIST OF FIGURES Fig Connecting elements and Ready LED cote rentrer traer ritmi ea nta etre trad ire dons 18 2 BOCK ACT EE SUE UI VEI DE LIST OF TABLES Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table Table 1 Overview of the connecting elements ettet 2 0 85er al KE Se Conector assi MEHN 4 Connector pin assignment X4 nter tentent ttti ttti rtt iter 5 DLL functions counter operating modes ssssssssssssseeette tette ttti itte ED We al TOT ES Loo EE TAN TUME le Ee E EE E luede 9 DLL functions external I O port 10 Delay fn TEDO PAMAMEENS snc oc rr E EE ter egt cta EE RR OE ER EE AR ER REO UE Eeler
28. tatus Prototype return card Clear return UFC ClearRef unsigned char card unsigned char Clear 2 1 Number fo the module 0 7 Bit0 0 Do not clear ref status of counter 1 axis 0 1 gt Clear ref status for counter 1 axis 0 Bit1 0 Do not clear ref status of counter 2 axis 1 1 gt Clear ref status for counter 2 axis 1 Bit2 0 Do notclear ref status of counter 3 axis 2 1 gt Clear ref status for counter 3 axis 2 RSF Elektronik 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 Refl Current count on first reference mark Ref2 Current count on second reference mark PosOffset Counter offset EncOffset Encoder offset UFC_GetPosRef Read out count values in consideration of the distance coded reference mark Prototype return UFC_GetPosRef unsigned char card unsigned char Axis unsigned char Reg unsigned long Data return 2 1 card Number of the module 0 7 Axis Number of the axis 0 2 Reg Latch register 0 or 1 Data Contents of latch register set against the re
29. tionMode 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 Number of the axis 0 2 Mode Selected counting direction UFC SetSwitchlnit Initialization of the encoder limit switches Prototype return UFC SetSwitchlnit 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 gt Encoder limit switch LO active 1c Encoder limit switch Hl active UFC GetSwitchlnit Read out initialization of the encoder limit switches Prototype return UFC GetSwitchlnit 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 Setting of encoder limit switch 0 or 1 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 Bit0 0 gt Do not clear error for counter 1 axis 0 1 gt Clear error for counter 1 axis 0 Bit1 2 0c Do not clear error for counter 2 axis 0 1 gt Clear error for counter 2 axis 1 Bit2 0 Do not clear error for counter 3 axis 0 1 Clear error for counter 3 axis 2
30. tions Select a hardware source to transfer the contents of the count value to the latch register Generates a pulse that can be applied simultaneously to all latch registers and to the OUT 4 output X4 pin 14 UFC LatchCounter Software command to transfer a count value into a latch register Table 7 DLL functions latch register Status register The following information can be obtained from the status register Counter input signals tracks A B and R 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 Monitoring of the encoder chain of steps Reference status 1st or 2nd reference mark traversed RSF Elektronik 4 2 1 0 Interface The UFC430 module features an external 1 0 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 If OUT 4 is not required it is also at your dispostion The special functions of the external 1 0 port are listed in the table below PIN Signal Special function Ref pulse inhibit for X1 Asynchronous latch signal for X1 Ref pulse inhib

Download Pdf Manuals

image

Related Search

Related Contents

Americana Appliances CDR-850 Stereo System User Manual  Fujitsu AMILO Pro V1000 Notebook  quelles architectures pour une ville durable  インドネシア語技能検定試験  VIPA System 200V  Sony KIT KDL-40NX710 LCD TV    

Copyright © All rights reserved.
Failed to retrieve file