Home

IF52 Manuale d`uso in italiano - User`s guide in

image

Contents

1. o 0 X ok tia Bo SS LD mo HW La Soon ZS Wu aa ee lt gt Example for Linearisation 2 MAN IF52 L E 1 0 odt 10 Funzioni di conversione e di linearizzazione 25 56 lika ii 11 Funzioni di test Premere il comando TEST del menu TOOLS per aver accesso alle funzioni di test disponibili nella pagina cliccare sui singoli campi per avviare il test Tra le funzioni disponibili e posizione attuale dell encoder e impostazione degli switch DIL e tensioni di alimentazione interne e stato uscita parallela 35 Test Menu IF52 Normal Output Normal Operation 13 Bit SSI Slave Mode GRAY Format Inoltre si possono registrare i seguenti registri utilizzando la funzione MONITOR 2 Monitor Definitions C 32_O1a if 52 mdf Display Setting x Operand Used in Testprog 7 Operand Operand General Setting Linear In 100 Linear Out 100 Round Loop Parallel Mode Linearisation Mode in Bee SSI Specific Setting SSI Low Bit SSI High Bit SSI Baud Rate Hz SSI Wait Time s SSI Offset SSI Hold Polarity SOND a w Na SE a RON A o SSI Error Bit Setting SSI Error Bit SSI Error Bit Polarity Linearisation Setting it MAN 1F52 1 E 1 0 odt 11 Funzioni di test 26 56 lika 12 Lista parametri EEE Parametro Valore min Valore max Segno i default caratteri seriale XOperand 10 0000 10 0000 10000 6
2. Pin 25 Function B OFF Pin 25 Error bit output ON Pin 25 normal data output bit 25 The switch settings shown above are suitable for Master operation of a 25 bit SSI encoder with Gray coded output The parallel output operates with fixed updating time and pin 25 is used to indicate valid and stable output data NOTE Changes in the switch settings will become effective only after the next power up cycle MAN IF52 L E 1 0 odt 6 DIL switch settings 37 56 lika 7 Extended functions with PC set up For normal use in standard applications the unit is ready to work after correct wiring and setting of the DIL switches If this case the case you can jump the following section Anyway using a PC and our operator software OS3 2 the full set of functions for setting up the unit is available You can download this software and full instructions free of charge from Lika Electronic website at the address www lika biz e Connect your PC to the converter using a serial RS 232 cable having the wire connection as shown in section 5 6 Serial interface on page 36 e Start the OS3 x software then the following screen will appear Eile Comms Tools 2 PARAMETERS y INPUTS RS BUS PIO OUTPUTS PO w Selttest passed H x Operand 01 0000 Initialization ended Y Operand 01 0000 Normal SSI Mode a Operand 00000000 Error Bit active Hold Load default value General
3. Operand xOperand Toperand Operand Serial Readout SSI encoder data x For further information refer to page 41 10 2 Scaling the parallel output data 10 2 1 Converting the SSI encoder data to the parallel output using neither scaling nor linearisation When you need to convert the SSI encoder data to the parallel output using neither scaling nor linearisation set the parameters as follows EXAMPLE Linearisation Mode 0 Round Loop 0 Parallel Mode 0 Binary output 1 Gray coded output 2 BCD output Parallel inversion HIGH signal normal output polarity 1 LOW signal inverted output polarity Settings of Linearisation registers are not important in this case 10 2 2 Converting the SSI encoder data to the parallel output using both scaling and linearisation When you need to convert the SSI encoder data to the parallel output using both scaling and linearisation set the parameters as follows EXAMPLE In the example a 16 bit SSI encoder provides 2 information 65536 information which needs to be converted into a 0 10000 range at output Linearisation Mode 1 MAN IF52 1 E 1 0 odt 10 Scaling and linearisation functions 50 56 lika e Round Loop 0 Parallel Mode 0 Binary output 1 Gray coded output 2 BCD output Parallel inversion 0 HIGH signal normal output polarity 1 LOW signal inverted output polarity Linear In 65 536 Linear Out 10 000
4. Data stable signal I 1 1 H eet Zone 1 Parallel output data subject to change Zone 2 Parallel output data is stable MAN IF52 _E 1 0 odt 5 Electrical connections 35 56 lika e 5 6 Serial interface The unit provides a RS 232 interface Serial communication allows to read out the encoder position and to set parameters and variables via PC according to need i e GND int 00 a I i L l SUB D 9 connector Le gt 1 RS232 ai OO em 1 female on unit side et 1 I RD I SI J I gt I I l 1 female PC connection cable ab MAN IF52 _E 1 0 odt 5 Electrical connections 36 56 lika 1F52 6 DIL switch settings The DIL switch located on the top of the unit provides customer specific settings of desired operating modes ao 12345678 E Set Default OFF Unit loads default settings with every power up cycle ON No loading of default settings upon power up Update Mode OFF Update of parallel output in a fixed preset time pattern ON Update of parallel output after every SSI telegram Pin 25 Function A OFF Pin 25 indicates that output data is stable LOW ON Pin 25 is a normal data output bit 25 or error bit SSI Code OFF Gray Code ON Binary Code SSI Resolution 3 OFF 4 OFF not valid 3ON 4 OFF 25 bit encoder 3 OFF 40N 21 bit encoder 3ON 40N 13 bit encoder SSI Mode OFF Slave Operation ON Master Operation
5. Description IF52 is the small low cost yet high performing converter for industrial applications suitable for use in installations where the information delivered by a sensor or an encoder fitted with SSI interface needs to be converted into a parallel signal or a serial RS 232 data format Also it allows to convert serial RS 232 data into a parallel format The unit has been designed as a compact module with 12 screw terminals and two 9 position and 25 position SUB D connectors female The housing is suitable for standard DIN rail mounting Table of contents 1 Safety summary 2 Identification 3 Introduction 4 Mounting instructions 5 Electrical connections 6 DIL switch settings 7 Extended functions with PC set up 8 Serial readout of the actual encoder position 9 Parameter settings 10 Scaling and linearisation functions 11 Testing functions 12 Parameters list MAN IF52 L E 1 0 odt 29 56 lika e 1 Safety summary 1 1 Safety e Always adhere to the professional safety and accident prevention regulations applicable to your country during device installation and operation e installation and maintenance operations have to be carried out by qualified personnel only with power supply disconnected and stationary mechanical parts e device must be used only for the purpose appropriate to its design use for purposes other than those for which it has been designed could result in serious pers
6. L LI L L L MAN 1F52 L E 1 0 odt 4 Mounting instructions 32 56 lika e 5 Electrical connections WARNING Turn OFF the power supply before connecting the device The subsequent diagram shows the assignment of the screw terminals We recommend the Minus wire of the power supply to be connected to earth potential GND terminals 4 and 6 are connected internally Depending on the input voltage and the load of the auxiliary voltage output the total power consumption of the unit is about 200 mA NC a gt O COM 5 27V max SSI Data 0 co NO sS Clock L SSI Data gt O K Y gt SSI Clock Hold gt O 3 a Q GND NC 6 2 g mA 18 30 VDC typ 200 mA NC O Bo GND 5 1 Encoder connections with Master operation We recommend the shield to be connected to GND and earth potential on both sides SSI encoder Master mode IF 52 converter MAN IF52 _E 1 0 odt 5 Electrical connections 33 56 lika 5 2 Encoder connections with Slave operation In this mode IF52 converter operates in parallel to another unit acting as a alistener to the existing data communication Quite according to need the common potential of the master can be connected to terminal 4 GND or remain open for fully differential operation Po Master Slave mode IF 52 converter 4 GND 1 1 Encoder 5 3 HOLD input A HIGH signal se
7. P1 x 000 0 P1 y 000 0 P2 x 100 0 P2 y 100 0 10 2 3 Free programmable linearisation When you need to process the SSI encoder data and transform them into a curve in the parallel output side Linearisation set the parameters as follows EXAMPLE In the example a 16 bit SSI encoder provides 65536 information to be transformed into a programmable curve Linearisation Mode 1 Round Loop 0 Parallel Mode 0 Binary output Gray coded output BCD output Parallel inversion HIGH signal normal output polarity 1 LOW signal inverted output polarity P1 x P16 x as required P1 y P16 y as required This programmable feature allows the user to convert a linear motion to a non linear parallel output and vice versa There are 16 programmable interpolation MAN 1F52 _E 1 0 odt 10 Scaling and linearisation functions 51 56 lika points available which can be set in any desired distance over the full conversion range Between two points the unit uses linear interpolation Therefore it is advisable to use more points in a section with strong curves and only a few points where the curvature is lower To specify your desired linearisation curve you must set the Linearisation Mode register to either 1 or 2 first Use registers P1 x to P16 x to specify the coordinates on the x axis These are the original SSI data generated by the sensor These settings must be expressed in percen
8. set parameter Operand to 00000 MAN IF52 I_E 1 0 odt 9 Parameter settings 46 56 lika SSI Offset This register defines the electrical zero position of the encoder with respect to the mechanical zero position When the ROUND LOOP function is not active Round Loop 0 the SSI Offset value is subtracted from the SSI position reading which can also cause negative results When the ROUND LOOP function is active SS Offset displaces the mechanical zero position but always within positive values only See also Round Loop item and the relevant example SSI Hold polarity It sets the polarity of the HOLD signal available in terminal 10 See 5 3 HOLD input on page 34 0 HOLD signal is active HIGH A 1 HOLD signal is active LOW 9 4 SSI error settings SSI Error Bit This register defines the position of the error bit if available for the encoder you use Errors indicated by the encoder can be read out via serial code 9 semicolon nine error indication 2000hex In case of error the ERROR BIT ACTIVE items in the OUTPUTS box will appear red in your PC screen It is also possible to use pin 25 of the parallel output for error indication see section 6 DIL switch settings on page 37 00 no error bit available 13 bit 13 represents the error bit 25 bit 25 represents the error bit and so on SSI Error Bit Polarity This register defines the polarity of the error bit 0 Bit is LOW in case of error 1 Bit is HIGH i
9. Low Bit deve essere impostato a 01 Non difficile comprendere che esistono due modi per considerare solamente 12 dei 13 bit disponibili e Se impostiamo il registro SSI High Bit a 12 mentre manteniamo il registro SSI Low Bit a 01 sopprimiamo il bit pi alto In questo caso avremo il corrispondente di un encoder che fornisce 0 4095 informazioni nella rotazione da 0 a 180 e di nuovo lo stesso numero di informazioni 0 4095 nella successiva seconda parte di rotazione da 180 a 360 La risoluzione rimane invariata per quanto concerne il numero di informazioni per giro e D altro canto per possiamo mantenere invariato a 13 il registro SSI High Bit e impostare invece il registro SSI Low Bit a 02 In questo secondo caso andiamo a sopprimere il bit pi basso Ne consegue che a ogni rotazione di 0 360 l encoder provveder 0 4095 informazioni una sola volta quindi il numero totale di informazioni per giro risulter dimezzato SSI Baud Rate Questo registro imposta la velocit di comunicazione dell interfaccia SSI con encoder SSI Il range di impostazione va da 100 Hz a 1MHz Esiste la possibilit di impostare qualsiasi frequenza desiderata compresa tra 0 1 kHz e 1000 0 kHz Si badi per che per ragioni tecniche nella gamma pi alta di frequenza in modalit Master l unit potr generare solo una delle seguenti frequenze in maniera accurata 1000 0 kHz 8880kHz 800 0 kHz 666 0 kHz 6150kHz 5710kHz 5330kHz 500
10. Round Loop bisogna poi necessariamente impostare un nuovo valore anche nel registro SSI Offset e Utilizzando la funzione ROUND LOOP anche possibile invertire la direzione di conteggio dell encoder impostando il bit Direction come necessario Parallel Mode Questo registro permette di definire il codice con cui sono espressi i dati inviati all uscita parallela e la fonte dei dati in ingresso al convertitore secondo le impostazioni della seguente tabella Modalit parallela Uscita parallela Fonte dati 0 Codice Binario 1 Codice Gray Encoder SSI 2 Codice BCD 3 Codice Binario Interfaccia seriale RS 4 Codice Gray 932 5 Codice BCD Linearisation Mode Questo registro imposta il modo di linearizzazione 0 Linearizzazione disabilitata i registri da P1 a P16 non incidono sulle caratteristiche d uscita Linearizzazione nel range 0 100 Linearizzazione sul range completo da 100 a 100 Si vedano gli esempi nella sezione 10 2 3 Programmazione libera della inearizzazione a pagina 23 ZN Linear In E il valore massimo originario trasmesso dal dispositivo in ingresso Nell esempio di pagina 23 si veda il paragrafo 10 2 2 Conversione del dato encoder SSI in un valore parallelo utilizzando sia la funzione di scaling che quella di linearizzazione il dispositivo in ingresso un encoder SSI a 16 bit che fornisce 2 informazioni cio 65536 informazioni dati in ingresso devono ess
11. SS Offset register e Using the ROUND LOOP function it is also possible to change the counting direction of the encoder by setting the Direction bit correspondingly Parallel Mode This register sets the code of the parallel output and the input source of the converter according to the following table Parallel Mode Parallel output Data source 0 Binary format 1 Gray format SSI encoder 2 BCD format 3 Binary format 4 Gray format Serial RS 232 interface 5 BCD format Linearisation Mode This register sets the linearisation mode 0 Linearisation off registers P1 to P16 do not affect the output characteristics 1 Linearisation in a range of O 100 2 Linearisation over full range 100 to 100 See examples in the section 10 Scaling and linearisation functions on page 50 Linear In This is the original max value provided by the input source In the example of page 50 see paragraph 10 2 2 Converting the SSI encoder data to the parallel output using both scaling and linearisation the input source is a 16 bit SSI encoder that delivers 2 information i e 65536 information Input data needs to be converted into a O 10000 range at output Thus Linear In 65536 while Linear Out 10000 MAN IF52 I_E 1 0 odt 9 Parameter settings 43 56 lika Linear Out This is the scaled max value which needs to be issued to output In the example of page 50 see paragraph 10 2 2 Convert
12. SSI CLK and STATUS SSI DATA items indicate that the clock and data lines work correctly red status is ok It may happen that because of the update cycle of your PC indicators in the OUTPUTS box blink However you should see predominant red items when the lines operate properly 7 2 OUTPUT VALUE box When the encoder position is changing the bar in the OUTPUT VALUE box must show increasing or decreasing encoder values Should the color bar or the percentage display jump or hunt please check once more for correct setting of the DIL switch 7 3 HOLD key The HOLD key operates in parallel to the hardware input terminal 10 HOLD and allows freezing the parallel output from the PC screen Indicator in the RS field of the INPUTS box indicates that the HOLD function is active either by software or by hardware command 2 Testing the clock lines is primarily useful with Slave operation Though the test works also in Master mode the result is only intended to show that the internal generation of the clock works properly However in Master mode this test cannot indicate faulty clock drivers or bad wiring of the clock lines MAN IF52 1 E 1 0 odt 7 Extended functions with PC set up 39 56 lika 2 8 Serial readout of the actual encoder position You can read out the actual SSI position of the encoder at any time using a serial connection A PC is required to set the communication parameters IF52 uses the DRIVECOM communication
13. settings ranging between 0 and the Round Loop value Register Direction allows to set the counting direction of the round loop counter 0 up 1 down The following drawings explain the coherence among original SSI encoder data Round Loop setting SSI Offset and Direction registers MAN 1F52 L E 1 0 odt 9 Parameter settings 41 56 lika e 8192 Original SSI encoder signal ai lk a i Encoder 13Bit zi Direction 0 SSI Offset 1024 Round Loop 2048 parallel output signal 0 T de yl 360 degrees SSI Offset 1024 Round Loop 2048 8192 po Original SSI encoder signal _ a Encoder 13Bit Direction 1 SSI Offset 1024 Round Loop 2048 Round Loop signal 0 ik ea y 360 degrees SSI Offset 1024 Round Loop 2048 The ROUND LOOP function is also suitable for suppression of the encoder overflow when you do not want to change the mechanical configuration As shown in the subsequent Figure you need to set the Round Loop register to the full encoder resolution and then shift the zero transition by setting the SSI Offset correspondingly Original encoder signal oe Encoder 13Bit e adi Direction 0 o SSI Offset 2048 yo Round Loop 8192 Round Loop signal parallel Output 180 360 MAN 1F52 _E 1 0 odt 9 Parameter settings 42 56 lika ES NOTE e Every time you change the value in the Round Loop setting then you are required to enter a new value also in
14. standard according to ISO 1745 Details about this protocol can be found in the file Serial Protocol 1a pdf which is available for download from Lika Electronic website The serial access code for the actual encoder position is 8 ASCII characters colon and 8 MAN IF52 I_E 1 0 odt 8 Serial readout of the actual encoder position 40 56 lika 9 Parameter settings 9 1 Display settings X Operand Operand Operand These operands are used to convert the position information transmitted by the encoder into other engineering units like millimetres or inches etc These operands only affect the serial readout of encoder data not the parallel data output With the settings X Operand 1 0000 Operand _ 1 0000 and Operand 0 0000 the serial readout value equals to the encoder value xOperand TE Operand Serial Readout SSI encoder data x 9 2 General settings Round Loop As a general rule this setting should be set to 00000 Any other settings will replace the real encoder position with a repeating cycle count EXAMPLE When we set this register to 2048 the internal position register will only move in a range between O and 2047 When we exceed the lower limit zero with reverse direction again 2047 will appear When we exceed the upper limit 2047 with forward direction we restart at O again The zero position of the round loop counter can be set in the register SS Offset which allows
15. 0KHz 470 0kHz 400 0 kHz 380 0 kHz 363 0 kHz 347 0 kHz 333 0 kHz 320 0 kHz 307 0 kHz 296 0 kHz 285 0 kHz 275 0 kHz 266 0 kHz 258 0 kHz 250 0 kHz MAN 1F52 _E 1 0 odt 9 Parametri di impostazione 17 56 lika In modalit operativa Master impostazioni diverse risulteranno nella generazione del valore immediatamente inferiore o immediatamente superiore deducibili dalle frequenze riportate nella tabella sopra Con impostazioni tutte lt 250 0 kHz l errore tra la velocita impostata e quella generata risultera irrilevante NOTA E obbligatorio impostare il baud rate anche in modalita operativa Slave In questo caso pero il valore utilizzato solamente per determinare il tempo di pausa necessario per la corretta sincronizzazione la pausa rilevata dopo 4 cicli clock L unita si sincronizza automaticamente con ogni segnale di clock remoto nella gamma di frequenza specificata SSI Wait Time Questo registro imposta il tempo di pausa tra due telegrammi SSI in un range che va da 0 001 a 10 000 sec Durante un funzionamento normale a motivo dei tempi di ciclo del processore la pausa reale potrebbe discostarsi di 512 usec dal valore impostato La sequenza pi veloce possibile di 1 3 psec con impostazione a 0 000 In modalit Slave la pausa tra i protocolli SSI dipende dal Master remoto e il registro SSI Wait Time imposta il ciclo di valutazione dei telegrammi dati Se per esempio si imposta questo registro a 100 msec il siste
16. 1 O TT Zona 1 Dati uscita parallela soggetti a cambiamenti Zona 2 Dati uscita parallela fissi MAN 1F52 _E 1 0 odt 5 Connessioni elettriche 7 56 lika e 5 6 Interfaccia seriale RS 232 Il dispositivo equipaggiato con una interfaccia seriale RS 232 La comunicazione seriale permette la lettura della posizione dell encoder e l impostazione dei parametri e delle variabili da PC secondo la necessit i e GND int 00 a I i L l SUB D 9 connector Le gt 1 RS232 ai OO em 1 female on unit side et 1 W RD I SI J I gt I I l gt female PC connection cable ab MAN IF52 _E 1 0 odt 5 Connessioni elettriche 8 56 lika 6 Impostazione degli switch DIL Gli switch DIL sono alloggiati nella parte superiore dell unit e permettono di configurare i parametri dell apparecchiatura specifici per il funzionamento voluto ao 12345678 Lui Impostazione default OFF L unit carica i valori di default a ogni ciclo di accensione ON L unit non carica i valori di default all accensione Modalit aggiornamento OFF Aggiornamento dell uscita parallela con tempo di ciclo fisso ON Aggiornamento dell uscita parallela dopo ogni telegramma SSI Funzione pin 25 A OFF Il pin 25 indica che i dati in uscita sono fissi segnale BASSO ON Il pin 25 una normale uscita dati bit 25 o bit di errore Codice SSI OFF Codice Gray ON Codice Binario Risoluzione SSI 3 OFF 4 OFF Non vali
17. 16 y Questi sono i valori che l uscita parallela andr a generare al posto dei valori dell asse X Per fare un esempio il valore impostato in P2 y sar sostituito al valore encoder P2 x ecc NOTA e Per ottenere una linearizzazione coerente i registri X devono essere impostati su valori costantemente crescenti dove il valore minore in P1 x mentre il valore maggiore in P16 x In altri termini devono rispettare rigorosamente la seguente condizione P1 x lt P2 x lt lt P15 x lt P16 x e Tutti i parametri utilizzano un formato percentuale nella rappresentazione xx xxx della scala completa 0 000 significa quindi valore d uscita zero 100 000 significa valore d uscita massimo nel range completo e Con registro Linearisation Mode impostato a 1 obbligatorio impostare il parametro P1 x a 0 e il parametro P16 x a 100 La linearizzazione definita all interno di una gamma esclusivamente positiva dove il range negativo altro non sar che una rappresentazione specchiata del range positivo con asse sullo zero e Con registro Linearisation Mode impostato a 2 obbligatorio impostare il parametro P1 x a 100 e il parametro P16 x a 100 MAN IF52 _E 1 0 odt 10 Funzioni di conversione e di linearizzazione 24 56 lika IF52 Questo permette all utilizzatore di definire anche curve non simmetriche nei piani cartesiani rispetto all asse zero 100 Y SSI data 20 JE ON parallel data
18. 4 00 Operand o 100000 1000 6 4 oO Operand 99999999 99999999 o 8 o 02 LinearIn 99999999 99999999 o 8 o 03 Linear Out 99999999 99999999 10000 8 o 04 Round Loop o 9999999 o 8 o o Parallel Mode 0 2 0 1 O 06 Linearisation Mode o 2 o 1 0 o SSI Low Bit o 1 2 0 08 SSI High Bit 1 26 2 0 09 SSI Baud Rate 100 1000000 100000 7 0 10 SSI Wait Time o 1000 o 5 3 1m SSI Offset 0 99999999 o 8 0 r SSI Hold polarity 0 1 0 1 0 13 SSI ErrorBit_ 0o 256 o 2 0 u A O oe O O P109 100000 100 000 100000 6 3 AO P1 y 100 000 100 000 100000 6 3 At P160 100000 100 000 100000 6 3 DO P16 100000 100 000 100000 6 3 DI e a Parallel inversion O 1 pi 1 0 47 Parallel value 999999 33554431 4 8 5 0 48 Unit Number 0 99 n 2 0 fe Serial Baud Rate 0 6 tt Serial Format o 9 o 1 o 92 MAN IF52 _E 1 0 odt 12 Lista parametri 27 56 Versione documento Descrizione Prima pubblicazione e lika Lika Electronic Via S Lorenzo 25 36010 Carr VI Italy Tel 39 0445 806600 Fax 39 0445 806699 Italy eMail info lika it www lika it World eMail info lika biz www lika biz lika ES User s manual IF52
19. HOLD funziona in parallelo al segnale d ingresso hardware del morsetto 10 HOLD e permette di congelare i valori sull uscita parallela direttamente dal PC L indicatore luminoso nel campo RS del box INPUTS segnala che la funzione HOLD attiva non importa se questo avvenga tramite comando hardware o software 1 Il test delle linee clock si rivela principalmente utile nella modalit operativa Slave Posto che il test funziona anche in modalit Master in questo caso il risultato altro non mostra che il corretto funzionamento nella generazione interna di clock Tuttavia in modalit Master il test non in grado di indicare i segnali di clock difettosi n l errato cablaggio degli ingressi clock MAN 1F52 _E 1 0 odt 7 Funzioni estese impostabili via PC 11 56 lika 8 Lettura della posizione encoder mediante interfaccia seriale E possibile leggere in qualsiasi momento la posizione SSI dell encoder utilizzando l interfaccia seriale E necessario un PC per la configurazione dei parametri di comunicazione L unit 1F52 utilizza il protocollo di comunicazione standard DRIVECOM conforme alla norma ISO 1745 Maggiori dettagli sul protocollo sono disponibili nel documento Serial Protocol 1a pdf che pu essere scaricato dal sito web di Lika Electronic Il codice di accesso seriale per la lettura della posizione encoder 8 caratteri ASCII per i due punti e 8 MAN IF52 _E 1 0 odt8 Lettura della posizione encoder mediant
20. Setting DIP Switch 1 ra Status SSI CLK E Linear In 100 00000000 DIP Switch Status SSI Data E Linear Out 100 00010000 DIP SWEN 2 a Fane T Round Loop 00000000 DIP Switch 4 E Parallel Mode 0 P H Linearisation Mode 0 DID writer H ul DIP Switch r SSI Specific Setting SERRE H CONTROLS SSI Low Br pan Activate Data Read SSI High Bit 13 m SSI Baud Rate Hz 0100000 Stan x Transmit SSI Wait Time s 00 000 SSI Offset 00000000 Transmit AII SSI Hold Polarity o ELUTE DU E LE 57 Store EEProm SSI Error Bit Setting TT II SSL Error Bit 00 Reset OFF SSI Error Bit Polarity 0 100 0 100 Linearisation Setting in CON T vi COMI 9600 7 1 E Unit11 e Incase your text and colour fields remain empty and the headline shows the message OFFLINE then you must check your serial settings To do this press the COMMS command in the menu bar Ex factory the unit features the following serial standard settings Unit No 11 Baud rate 9600 1 start 7 data parity even 1 stop bit e If the serial settings of the unit should be unknown you can run the SCAN function from the TOOLS menu to find out them MAN IF52 1 E 1 0 odt 7 Extended functions with PC set up 38 56 lika e 7 1 Auto test In the main page of the operator software OS3 2 several items are available in the OUTPUTS box When the SELFTEST PASSED item lights red this indicates that the unit has initialized correctly and is ready to work STATUS
21. aria il consumo totale dell unit arriva a circa 200 mA NC O a gt O COM 5 27V max SSI Data gt O oo EGO SSI Clock SSI Data gt O K Y gt SSI Clock Hold gt O KL GND NC 6 2 AIN 18 30 VDC typ 200 mA NC O o Q GND 5 1 Collegamento dell encoder in modalit Master Raccomandiamo di collegare la calza del cavo dell encoder a GND e alla messa a terra su entrambi i lati SSI encoder Master mode F52 converter Clock 3 s men MAN IF52 _E 1 0 odt 5 Connessioni elettriche 5 56 lika 5 2 Collegamento dell encoder in modalita Slave In questa modalit il convertitore F52 funziona in parallelo a un altra apparecchiatura ponendosi per cos dire in ascolto della comunicazione dati esistente In base alle necessit il potenziale di riferimento del Master pu essere collegato al morsetto 4 GND oppure rimanere non collegato utilizzando cos un modo di funzionamento differenziale senza potenziale di riferimento PO Master Slave mode IF 52 converter 4 GND 4 Encoder 5 3 Ingresso HOLD E possibile inviare un segnale ALTO a questo ingresso per congelare il dato sull uscita parallela La funzione HOLD diventa attiva 500 usec dopo il fronte di salita del segnale e rimane attiva per la durata del segnale Con impostazione da PC la polarit del segnale pu essere
22. azione sulle caratteristiche tecniche del dispositivo fare riferimento al catalogo del prodotto 3 Introduzione IF52 un convertitore compatto ed economico e tuttavia estremamente performante adatto per tutte le applicazioni industriali in cui l informazione trasmessa da un sensore o un encoder con interfaccia SSI debba essere convertita in un segnale parallelo oppure in una stringa dati in formato seriale RS 232 L unit stata progettata per ospitare in un alloggiamento di dimensioni contenute una morsettiera a 12 poli e due connettori SUB D femmina di cui uno 9 poli e l altro 25 poli La custodia si presta all installazione con sistema di fissaggio secondo le norme DIN Encoder e sensori compatibili E possibile collegare all unit IF52 encoder monogiro e multigiro e trasduttori similari provvisti di interfaccia SSI standard da 6 a 25 bit di risoluzione con codice Binario o Gray L unit pu funzionare sia in modalit Master con segnale di clock generato dall unit 1F52 che in modalit Slave dove il segnale di clock generato dal dispositivo remoto Nota sulla risoluzione dell encoder L unit permette l impostazione per risoluzioni standard di 13 21 e 25 bit In generale per sensori che dispongano di risoluzioni diverse possibile impostare la risoluzione immediatamente superiore per esempio impostare l unit a 21 bit quando si collega un trasduttore a 16 bit A seconda del costruttore e delle caratterist
23. ber of registered turns when you use this function EXAMPLE In the following example two different results when blanking out one bit in a 13 bit single turn encoder are explained MAN 1F52 L E 1 0 odt 9 Parameter settings 44 56 lika e Without blanking a 13 bit encoder would provide 0 8191 information at each 0 360 turn of the encoder shaft This would assume a setting of SSI High Bit 13 and SSI Low Bit 01 It is easy to understand that there are two different ways to use only 12 of the 13 bits available e When we set SSI High Bit to 12 while SSI Low Bit remains 01 we have blanked the high order bit The result corresponds to an encoder providing O 4095 information while we turn from 0 180 and again the same O 4095 information while we continue from 180 to 360 The resolution remains unchanged as far as the number of steps per revolution is concerned e We can also keep the SSI High Bit value unchanged 13 and set SSI Low Bit to 02 instead This means we blank the low order bit now As a result within one turn of O 360 we receive the encoder information O 4095 one time only thus the total number of steps per revolution is down by half SSI Baud Rate This register sets the communication speed of the SSI interface with SSI encoders Setting range 100 Hz to 1MHz You are free to set any desired frequency between 0 1 kHz and 1000 0 kHz For technical reasons however in the upper frequenc
24. d uscita normale 1 segnale BASSO polarit dati d uscita invertita Le impostazioni dei registri di linearizzazione non sono importanti in questo caso MAN 1F52 _E 1 0 odt 10 Funzioni di conversione e di linearizzazione 22 56 lika 10 2 2 Conversione del dato encoder SSI in un valore parallelo utilizzando sia la funzione di scaling che quella di linearizzazione Quando si vuole convertire il dato encoder SSI in un valore parallelo utilizzando sia la funzione di scaling che quella di linearizzazione impostare i parametri come segue ESEMPIO Nell esempio un encoder SSI a 16 bit fornisce 2 informazioni 65536 informazioni che devono essere convertite in uscita in un range lineare compreso tra 0 e 10000 Linearisation Mode 1 Round Loop 0 Parallel Mode 0 codice d uscita Binario 1 Codice d uscita Gray 2 Codice d uscita BCD Parallel inversion segnale ALTO polarita dati d uscita normale 1 segnale BASSO polarit dati d uscita invertita Linear In 65 536 Linear Out 10 000 P1 x 000 0 P1 y 000 0 P2 x 100 0 P2 y 100 0 10 2 3 Programmazione libera della linearizzazione Quando dovete elaborare i dati provenienti dall encoder SSI trasformandoli per ottenerne la rappresentazione grafica di una curva sul lato dell uscita parallela Linearizzazione impostare i parametri come segue ESEMPIO dati provengono da un encoder a 16 bit che fornisce 65536 informazioni da trasformare in
25. do 3 ON 4 OFF Encoder a 25 bit 3 OFF 4 ON Encoder a 21 bit 3 ON 4 ON Encoder a 13 bit Modalita SSI OFF Modalita Slave ON Modalita Master Funzione pin 25 B OFF Pin 25 uscita bit di errore ON Pin 25 normale uscita dati bit 25 La configurazione degli switch mostrata nella Figura sopra si riferisce a un encoder SSI con risoluzione di 25 bit e uscita in codice Gray in modalita operativa Master L uscita parallela opera con cicli di aggiornamento fissi e il pin 25 utilizzato per indicare che i dati in uscita sono fissi NOTA Le modifiche nell impostazione degli switch diventano effettive solo alla successiva riaccensione del dispositivo MAN 1F52 _E 1 0 odt 6 Impostazione degli switch DIL 9 56 lika 7 Funzioni estese impostabili via PC In semplici applicazioni con funzioni di base dopo il cablaggio elettrico e l impostazione degli switch DIL l unit si pu considerare pronta per entrare in funzione In questo caso la parte che segue che pu essere per voi superflua Tuttavia utilizzando un PC e il software operatore 053 2 si possono attivare funzioni pi evolute per una impostazione pi raffinata del dispositivo Il software e le relative istruzioni d uso si possono scaricare gratuitamente accedendo al sito di Lika Electronic all indirizzo www lika it e Collegare il PC al convertitore utilizzando un cavo seriale RS 232 cablato secondo lo schema disponibile nella sezio
26. e actual encoder position e DIL switch settings e internal supply voltages e parallel output state Normal Output Normal Operation 13 Bit SSI Slave Mode GRAY Format Furthermore the following registers can be recorded by using the MONITOR function 5 Monitor Definitions E 312 Maiif 52 mdf Display Setting x Operand Used in Testprog 7 Operand Operand General Setting Linear In 100 Linear Out 100 Round Loop Parallel Mode Linearisation Mode in Bee SSI Specific Setting SSI Low Bit SSI High Bit SSI Baud Rate Hz SSI Wait Time s SSI Offset SSI Hold Polarity SOND a w Na SE a RON A o SSI Error Bit Setting SSI Error Bit SSI Error Bit Polarity Linearisation Setting it MAN IF52 I_E 1 0 odt 11 Testing functions 53 56 lika 12 Parameters list XOperand 100000 10 0000 10000 6 4 00 Operands 10000 1000 6 4 0 Operand 99999999 90999999 O 8_ o 02 Linear In 99999999 99999999 Oo 8 o 03 Linear Out 99999999 99999998 10000 8 0 04 Round Loop f o f 9999999 o 8 o 05 Parallel Mode 0 2 o 1 o 06 LinearisationMode 0 2 o 1 o o sSitowBit 0 25 1 2 o 0 SSI High8it 1 26 2 o 09 SSI Baud Rate 100 1000000 100000 7 o 10 SSI Wait Time o f 10000 o 5 3 n ssiO
27. e interfaccia seriale 12 56 lika e 9 Parametri di impostazione 9 1 Impostazioni di visualizzazione X Operand Operand Operand Questi operandi sono utilizzati per convertire l informazione della posizione trasmessa dall encoder in una differente unit di misura come per esempio i millimetri o i pollici La conversione riguarda esclusivamente il valore della lettura numerica seriale e non attiene in alcuna misura all uscita parallela Con le seguenti impostazioni X Operand 1 0000 Operand 1 0000 e Operand 0 0000 il valore letto serialmente corrisponde al valore effettivo dell encoder xOperand Operand Serial Readout SSI encoder data x Operand 9 2 Impostazioni generali Round Loop Come regola generale questo registro dovrebbe essere impostato a 00000 Ogni altra impostazione sostituisce la posizione reale dell encoder con un ciclo ripetitivo di conteggio ESEMPIO Se si imposta questo registro a 2048 la rappresentazione interna della posizione si muove all interno del range O 2047 Quando si supera il limite inferiore di zero con un conteggio decrescente di nuovo appare il valore 2047 Al contrario quando si oltrepassa il limite superiore 2047 con un conteggio crescente si raggiunge il valore O e cosi via La posizione zero del contatore round loop pu essere impostata nel registro SSI Offset che permette dei valori compresi tra O e l impostazione Round Loop Il registro Directio
28. ere convertiti in uscita in un range lineare compreso tra 0 e 10000 Avremo perci Linear In 65536 mentre Linear Out 10000 MAN 1F52 L E 1 0 odt 9 Parametri di impostazione 15 56 lika Linear Out E il valore scalato che deve essere inviato in uscita corrispondente al valore massimo trasmesso dal dispositivo in ingresso Nell esempio di pagina 23 si veda il paragrafo 10 2 2 Conversione del dato encoder SSI in un valore parallelo utilizzando sia la funzione di scaling che quella di linearizzazione il dispositivo in ingresso un encoder SSI a 16 bit che fornisce 2 informazioni cio 65536 informazioni dati in ingresso devono essere convertiti in uscita in un range lineare compreso tra O e 10000 Avremo perci Linear In 65536 mentre Linear Out 10000 9 3 Impostazioni specifiche SSI SSI Low Bit Questo registro definisce il bit che si deve considerare piu basso LSB quando si utilizzi la funzione di soppressione dei bit bit blanking function Si veda il paragrafo Considerazioni sull uso della funzione di soppressione dei bit bit blanking function alla pagina seguente Deve essere impostato a 01 perch siano considerati tutti i bit encoder SSI High Bit Questo registro definisce il bit che si deve considerare pi alto MSB quando si utilizzi la funzione di soppressione dei bit bit blanking function Si veda il paragrafo Considerazioni sull uso della funzione di soppressione dei bit bit blanking func
29. ffset_ f o 9999999 o 8 0 12 SSI Hold polarity 0 o 1 0 18 SSI ErrorBit__ 0 2 o 2 o t4 A O oe FA O Pit gt 100 000_ 100 000 100000 6 3 Ao ify 100 000_ 100 000 100000 6 3 A P1609 r 100000 100 000 100000 6 3 Do Pie 100 000_ 100 000 100000 6 3 DI me SS TE a pi Parallel inversion 0 1 1 1 o 4 Parallel value 999999 33554431 8 5 0 4 Unit Number o 9 n 2 oto Serial Baud Rate 0 6 o 1 o 8 Serial Format o 9 o 1 o 9 MAN 1F52 _E 1 0 odt 12 Parameters list 54 56 This page intentionally left blank lika Lika Electronic Via S Lorenzo 25 36010 Carr VI Italy Tel 39 0445 806600 Fax 39 0445 806699 Italy eMail info lika it www lika it World eMail info lika biz www lika biz
30. iche dello specifico apparecchio talora pu rendersi necessaria la soppressione dei bit in eccesso utilizzando la funzione di bit blanking descritta in seguito si veda il paragrafo Considerazioni sull uso della funzione di soppressione dei bit bit blanking function a pagina 17 Tuttavia generalmente il dispositivo lavora correttamente anche senza alcuna particolare soppressione dei bit MAN 1F52 _E 1 0 odt 3 Introduzione 3 56 lika e 4 Istruzioni di montaggio ATTENZIONE Effettuare il montaggio meccanico esclusivamente in assenza di tensione Il convertitore IF52 deve essere installato e protetto all interno di un quadro elettrico Dispone di sistema di fissaggio secondo le norme DIN e pu perci essere agevolmente montato su guide DIN mediante le clip predisposte nella parte posteriore che non richiedono ulteriori supporti 91 fe tire 14 AAA O 000000000000 0000000000000 L L L L L L MAN IF52 _E 1 0 odt 4 Istruzioni di montaggio 4 56 lika e 5 Connessioni elettriche ATTENZIONE Effettuare le connessioni elettriche esclusivamente in assenza di tensione L immagine riportata appena qui sotto mostra l assegnazione dei poli della morsettiera Raccomandiamo di collegare il polo negativo Meno dell alimentazione dell unita alla messa a terra terminali GND 4 e 6 sono collegati internamente A seconda della tensione d ingresso e del carico dell uscita di tensione ausili
31. ing the SSI encoder data to the parallel output using both scaling and linearisation the input source is a 16 bit SSI encoder that delivers 2 information i e 65536 information Input data needs to be converted into a 0 10000 range at output Thus Linear In 65536 while Linear Out 10000 9 3 SSI specific settings SSI Low Bit This register defines the lowest bit LSB for evaluation when the bit blanking function is used See Hint for the use of the bit blanking function below in this page It must be set to 01 for evaluation of the full encoder range SSI High Bit This register defines the highest bit MSB for evaluation when the bit blanking function is used See Hint for the use of the bit blanking function below in this page It must be set to the total number of encoder bits for evaluation of the full encoder range EXAMPLE In the following example a 13 bit encoder is shown with SS High Bit set to 12 and SSI Low Bit set to 03 resulting in evaluation of bits 03 to 12 only and blanking out positions 01 02 and 13 Most significant bit Least significant bit Hi_bit 12 Lo bit 03 13 12 11 10 09 08 07 06 05 04 03 02 01 A 1 MSB evaluated bits LSB Hint for the use of the bit blanking function Bit blanking results in a different evaluation of the encoder information thus you should be fully aware of what happens with the resolution and the num
32. invertita diventando cio attiva sul fronte di discesa del segnale BASSO si veda il registro SSI Hold polarity a pagina 19 L ingresso HOLD presenta caratteristiche PNP HTL BASSO aperto o 0 3V ALTO 10 30V MAN IF52 _E 1 0 odt 5 Connessioni elettriche 6 56 lika e 5 4 Uscite parallele L unit presenta 25 uscite di tipo Push Pull protette contro i corto circuiti La tensione di alimentazione comune e indipendente delle uscite deve essere fornita tramite il morsetto 1 COM La tensione massima applicabile a COM non deve essere superiore a 27V altrimenti la protezione permanente contro i corti circuiti non pu essere garantita La caduta di tensione tra COM e un uscita a livello logico ALTO all incirca di 1V senza carico Typical output circuit SUB D 25 COM female on unit side l R 600 Ohms OUT GND 5 5 Uscita DATA STABLE L uscita del bit 25 pu essere configurata come segnale DATA STABLE per mezzo dello switch DIL 6 FUNZIONE PIN 25 A si veda la sezione 6 Impostazione degli switch DIL a pagina 9 In questo caso un segnale con livello logico BASSO indica che i dati sull uscita parallela sono fissi e non cambieranno Il fronte di salita del segnale garantisce ancora dati fissi e pu essere utilizzato per il Latch remoto dei dati paralleli La durata del livello logico BASSO del segnale almeno un terzo del valore impostato nel registro SSI Wait Time segnale Data stable 1 Li I I 1
33. lika e Manuale d uso IF52 Descrizione IF52 un convertitore compatto ed economico e tuttavia estremamente performante adatto per tutte le applicazioni industriali in cui l informazione trasmessa da un sensore o un encoder con interfaccia SSI debba essere convertita in un segnale parallelo oppure in una stringa dati in formato seriale RS 232 L unit stata progettata per ospitare in un alloggiamento di dimensioni contenute una morsettiera a 12 poli e due connettori SUB D femmina di cui uno 9 poli e l altro 25 poli La custodia si presta all installazione con sistema di fissaggio secondo le norme DIN Elenco sezioni 1 Norme di sicurezza 2 Identificazione 3 Introduzione 4 Istruzioni di montaggio 5 Connessioni elettriche 6 Impostazione degli switch DIL 7 Funzioni estese impostabili via PC 8 Lettura della posizione encoder mediante interfaccia seriale 9 Parametri di impostazione 10 Funzioni di conversione e di linearizzazione 11 Funzioni di test 12 Lista parametri MAN IF52 L E 1 0 odt 1 56 lika e 1 Norme di sicurezza 1 1 Sicurezza Durante l installazione e l utilizzo del dispositivo osservare le norme di prevenzione e sicurezza sul lavoro previste nel proprio paese l installazione e le operazioni di manutenzione devono essere eseguite da personale qualificato in assenza di tensione e parti meccaniche in movimento utilizzare il dispositivo esclusivamente per la funzione per c
34. ma prendera in considerazione un solo telegramma ogni 100 msec anche qualora il Master avesse trasmesso molti pi telegrammi Soprattutto nel caso di applicazioni con cicli di controllo ad anello chiuso potrebbe risultare molto vantaggioso avere degli aggiornamenti dell uscita con ciclo fisso switch DIL 7 UPDATE MODE OFF Questo possibile solo in modalit Master e l impostazione SS Wait Time deve essere gt 0 corrisponde direttamente ai tempi di ciclo degli aggiornamenti La Figura in basso raffigura un tipico ciclo con aggiornamenti fissi e impostazione del registro SSI Wait Time a 3 msec Nella modalit di lavoro con cicli di aggiornamento fissi il valore massimo del registro SSI Wait Time limitato a 90 msec Parallel Parallel Update Update Auswertung Al SSI Telegram sins SI Telegram Omsec 1msec 2msec 3msec Ar SSI Wait Time 3 msec oi NOTA e Il ciclo pi breve per gli aggiornamenti fissi di 2 msec a causa dei tempi interni di processamento dei dati SS Wait Time impostato a MAN 1F52 L E 1 0 odt 9 Parametri di impostazione 18 56 lika e 0 001 Durante la comunicazione tra Pc e unita il ciclo aumenta a 5 msec e segna tempi TM1 e TM2 indicati nella Figura sopra possono essere visualizzati utilizzando la funzione MONITOR del software operatore E intuitivo che la somma dei due tempi deve corrispondere al valore impostato nel registro SS Wait Time altrimenti necessario aumentare il baud ra
35. n case of error MAN 1F52 L E 1 0 odt 9 Parameter settings 47 56 lika 9 5 Linearisation settings in PO1 x P16 y Linearisation registers and further information are available in section 10 2 3 Free programmable linearisation on page 51 9 6 Set up settings Direction This parameter changes the internal direction of counting 0 or 1 provided the unit operates in the ROUND LOOP mode See Round Loop item on page 41 Parallel inversion When you change the value in this register from 0 to 1 data in the parallel output will be inverted Parallel value The numerical value set next to this item appears directly at the parallel output provided that the Parallel Mode register has been set to a value greater than 2 previously The serial access code of the Parallel value item is 48 and the setting can be changed at any time via serial network 9 7 RS 232 settings Unit Number You can choose any serial address number between 11 and 99 Default factory setting 11 The address must not contain any 0 because such numbers are reserved for collective addressing Serial Baud Rate 1200 19200 38400 MAN IF52 I_E 1 0 odt 9 Parameter settings 48 56 lika Serial Format HE MAN IF52 I_E 1 0 odt 9 Parameter settings 49 56 lika 2 10 Scaling and linearisation functions 10 1 Scaling the serial readout Serial readout can be scaled by using the parameters X Operand Operand and
36. n of one telegram only every 100 msec even though the Master may have transmitted many telegrams more Especially with applications of closed loop control loops it may be advantageous to have fixed updating cycles of the output DIL switch 7 UPDATE MODE OFF This is possible in Master mode only and the SS Wait Time setting it must be gt 0 directly corresponds to the time pattern of updates The Figure below explains the timing with use of fixed updating cycles mode when the SSI Wait Time item is set to 3 msec With fixed updating cycles work mode the SS Wait Time item is limited to 90 msec max Parallel Parallel Update Update Auswertung d SSI Telegram Calculations SI Telegram Omsec 1msec 2msec 3msec Ar SSI Wait Time 3 msec oi NOTE e The shortest time allowed for fixed updating cycles is 2 msec due to internal processing times SS Wait Time set to 0 001 While your PC is communicating with unit it is 5 msec e The time marks TM1 and TM2 shown in the Figure above can be displayed using the MONITOR function of the PC operator software It is easy to understand that the sum of both times must be equal to the SS Wait Time setting otherwise you must increase the Baud rate or choose a longer update cycle The serial access codes are 3 for TM1 and 5 for TM2 e In critical cases you can reduce the internal processing times of the unit by omitting the conversion of serial RS 232 encoder data For this just
37. n permette invece di impostare la direzione di conteggio del contatore round loop 0 crescente 1 decrescente Le immagini che seguono esemplificano chiaramente il rapporto tra i dati originali dell encoder l impostazione Round Loop e i registri SSI Offset e Direction MAN 1F52 _E 1 0 odt 9 Parametri di impostazione 13 56 lika 8192 Original SSI encoder signal we ae fi Encoder 13Bit a Direction 0 SSI Offset 1024 Round Loop 2048 parallel output signal 360 degrees SSI Offset 1024 Round Loop 2048 8192 pol Original SSI encoder signal a N lt Encoder 13Bit a Direction 1 SSI Offset 1024 paz Round Loop 2048 di Round Loop signal 0 d fe al 360 degrees SSI Offset 1024 Round Loop 2048 La funzione ROUND LOOP si rivela particolarmente utile anche per eliminare l overflow dell encoder quando non si intenda apportare modifiche alla configurazione meccanica Come mostrato nella Figura qui sotto necessario impostare il registro Round Loop alla risoluzione completa dell encoder e quindi spostare la transizione zero impostando il parametro SSI Offset di conseguenza Original encoder signal wwe Encoder 13Bit gt ll Direction 0 o SSI Offset 2048 pe Round Loop 81927 Round Loop signal parallel Output 180 360 MAN 1F52 _E 1 0 odt 9 Parametri di impostazione 14 56 lika e NOTA e Ogni volta in cui si cambia il valore del registro
38. ne 5 6 Interfaccia seriale RS 232 a pagina 8 e Avviare il software OS3 x apparir la seguente schermata Eile Comms Tools 2 PARAMETERS INPUTS OUTPUTS RS BUS PI O PO mi Selttest passed H x Operand 01 0000 Initialization ended Y Operand 01 0000 Normal SSI Mode l Operand 00000000 Error Bit active Hold Load default value General Setting HIE TET M Status sst cik E Linear In 100 00000000 DIP Switch 2 Status SSI Data H Linear Out 100 00010000 DIP SWEN 3 a Fane T Round Loop 00000000 DIP Switch 4 E Parallel Mode 0 MESAS H Linearisation Mode 0 DID writer H ul DIP Switch r SSI Specific Setting SERRE H CONTROLS SSI Low Bit Di Aa Daa ae SSI High Bit 13 SSI Baud Rate Hz 0100000 Stan Transmit SSI Wait Time s 00 000 SSI Offset 00000000 Transmit AII SSI Hold Polarity o ELUTE DU E LE 57 Store EEProm SSI Error Bit Setting TT II SSL Error Bit oo Reset OFF SSI Error Bit Polarity 0 Linearisation Setting in SEO SENINGS vi COMI 9600 7 1 E Unit11 e Nel caso in cui i campi di testo e le segnalazioni colorate rimanessero vuoti e nell intestazione comparisse il messaggio OFFLINE sar necessario controllare le impostazioni della porta seriale Per fare questo premere il comando COMMS nella barra di menu Le impostazioni di default dell unit impostate dai tecnici di Lika Electronic sono le seguenti Numero unit 11 Bit per sec
39. nt to this input freezes the parallel output data The HOLD function becomes active 500 usec after the rising edge of the signal and remains active for the duration of the signal With PC setup the polarity of the signal can be inverted i e becoming active in the falling edge of the LOW signal see SSI Hold polarity register on page 47 The HOLD input provides PNP HTL characteristics LOW open or 0 3V HIGH 10 30V MAN IF52 _E 1 0 odt 5 Electrical connections 34 56 lika 5 4 Parallel outputs The unit provides 25 push pull outputs which are short circuit proof The separate common output voltage for the outputs must be applied to screw terminal 1 COM The maximum voltage to COM should not exceed 27 volts otherwise no continuous short circuit proof of the outputs can be guaranteed The voltage drop between COM and an output in HIGH state is approx 1 volt unloaded Typical output circuit SUB D 25 COM female on unit side R 600 Ohms GND 5 5 DATA STABLE output The output for bit 25 can be configured as a DATA STABLE signal by means of the DIL switch 6 PIN 25 FUNCTION A see section 6 DIL switch settings on page 37 In this case a LOW state indicates that parallel output data is stable and will not change The rising edge of the signal still guarantees stable data and can be used for remote Latch of the parallel data The LOW duration of the signal is at least 1 3 of the SSI Wait Time setting
40. on the device side and on user s side The best solution to minimize the interference must be carried out by the user 1 3 Mechanical safety e Install the device following strictly the information in the section 4 Mounting instructions e do not disassemble the unit e do not tool the unit e delicate electronic equipment handle with care do not subject the device and the shaft to knocks or shocks e respect the environmental characteristics of the device MAN 1F52 LE 1 0 odt 1 Safety summary 30 56 lika e 2 Identification Device can be identified through the ordering code and the serial number printed on the label applied to its body Information is listed in the delivery document too Please always quote the ordering code and the serial number when reaching Lika Electronic s r l for purchasing spare parts or needing assistance For any information on the technical characteristics of the product refer to the technical catalogue 3 Introduction IF52 is the small low cost yet high performing converter for industrial applications suitable for use in installations where the information delivered by a sensor or an encoder fitted with SSI interface needs to be converted into a parallel signal or a serial RS 232 data format Also it is possible to convert serial RS 232 data into a parallel format The unit has been designed as a compact module with 12 screw terminals and two 9 position and 25 position SUB D connector
41. onal and or the environment damage e high current voltage and moving mechanical parts can cause serious or fatal injury e warning Do not use in explosive or flammable areas e failure to comply with these precautions or with specific warnings elsewhere in this manual violates safety standards of design manufacture and intended use of the equipment e Lika Electronic s r l assumes no liability for the customer s failure to comply with these requirements 1 2 Electrical safety e Turn OFF power supply before connecting the device e connect according to explanation in section 5 Electrical connections e in compliance with 2004 108 EC norm on electromagnetic compatibility following precautions must be taken 4 before handling and installing the equipment discharge electrical charge from your body and tools which may come in touch with the device power supply must be stabilized without noise install EMC filters on device power supply if needed always use shielded cables twisted pair cables whenever possible avoid cables runs longer than necessary avoid running the signal cable near high voltage power cables mount the device as far as possible from any capacitive or inductive noise source shield the device from noise source if needed minimize noise by connecting the unit to ground GND Make sure that ground GND is not affected by noise The connection point to ground can be situated both
42. ondo 9600 start 1 Bit di dati 7 Parit pari Bit di stop 1 e Se si ignorassero le impostazioni della seriale dell unit possibile avviare la funzione SCAN nel menu TOOLS per rilevarle MAN 1F52 L E 1 0 odt 7 Funzioni estese impostabili via PC 10 56 lika e 7 1 Auto test Nel box OUTPUTS disponibile nella pagina principale del software operatore 053 2 sono presenti diverse segnalazioni che si rivelano particolarmente utili nella fase di messa in servizio dell unit Quando la luce rossa della segnalazione SELFTEST PASSED si accende questo sta a indicare che l unit stata inizializzata correttamente ed quindi pronta per entrare in funzione Gli indicatori luminosi STATUS SSI CLK e STATUS SSI DATA segnalano che le linee clock e data funzionano regolarmente rosso stato ok Pu accadere che a motivo dei cicli di aggiornamento del vostro PC gli indicatori luminosi nel box OUTPUTS potrebbero non essere fissi ma lampeggiare Se le linee funzionano correttamente tuttavia la presenza della luce rossa si mostra predominante 7 2 Box OUTPUT VALUE Quando varia il valore della posizione encoder la barra nel box OUTPUT VALUE oscilla mostrando valori in incremento e in decremento Nel caso in cui la barra colorata oppure il visualizzatore del valore percentuale dovessero saltare da un valore all altro o oscillare sar necessario controllare nuovamente le impostazioni dello switch DIL 7 3 Pulsante HOLD Il pulsante
43. osso E altres possibile utilizzare il pin 25 dell uscita parallela per la segnalazione degli errori si veda la sezione 6 Impostazione degli switch DIL a pagina 9 00 nessun bit di errore disponibile 13 bit di errore presente sul bit 13 25 bit di errore presente sul bit 25 e cos via MAN 1F52 _E 1 0 odt 9 Parametri di impostazione 19 56 lika SSI Error Bit Polarity Questo bit definisce la polarita del bit di presenza errore 0 Il bit ha valore logico BASSO in caso di presenza errore 1 Il bit ha valore logico ALTO in caso di presenza errore 9 5 Impostazioni di linearizzazione in PO1 x P16 y registri di linearizzazione e le relative spiegazioni sono riportati nella sezione 10 2 3 Programmazione libera della linearizzazione a pagina 23 9 6 Impostazioni di set up Direction Questo parametro inverte la direzione interna di conteggio 0 0 1 a condizione che l unit operi in modalit ROUND LOOP Si veda il parametro Round Loop a pagina 13 Parallel inversion Quando si modifica il valore in questo registro da O a 1 i dati nell uscita parallela saranno invertiti Parallel value Il valore numerico impostato in questo parametro appare direttamente sull uscita parallela sempre che il registro Parallel Mode sia stato prima impostato a un valore maggiore di 2 Il codice di acceso seriale del parametro Parallel value 48 il valore pu essere modificato in qualunque momento tramite la linea
44. s female The housing is suitable for standard DIN rail mounting Applicable encoders and sensors Single turn or multi turn absolute encoders and all similar sensors using a standard SSI interface 6 to 25 bits of resolution with binary or Gray code can be connected to IF52 The unit can operate in either Master mode clock signal is generated by IF52 unit or in Slave mode clock signal is generated by a remote device Remark about encoder resolution The unit provides settings for the standard resolutions of 13 bits 21 bits and 25 bits As a general rule for sensors with other resolutions you can use the next higher setting i e set the unit to 21 bits when you use a 16 bit sensor Depending on the brand and specification of the encoder in some cases it may be necessary to blank out the surplus bits by using the bit blanking function described later see Hint for the use of the bit blanking function on page 44 Anyway generally the unit works properly even without special bit blanking MAN 1F52 L E 1 0 odt 3 Introduction 31 56 lika e 4 Mounting instructions WARNING Mount the unit with power supply disconnected IF52 converter must be installed and protected inside the electric panel It provides DIN rail mounting and can quickly snap onto a DIN rail with built in DIN rail clips that require no additional brackets or supports 91 714 gt gt O 000000000000 0000000000000
45. segnali del dispositivo vicino a cavi di potenza installare il dispositivo il pi lontano possibile da eventuali fonti di interferenza o schermarlo in maniera efficace minimizzare i disturbi collegando l unit a un buon punto di terra GND Assicurarsi che il punto di terra sia privo di disturbi Il collegamento a terra pu essere effettuato sul lato dispositivo e o sul lato utilizzatore compito dell utilizzatore valutare la soluzione migliore da adottare per minimizzare disturbi MAN 1F52 _E 1 0 odt 1 Norme di sicurezza 2 56 lika e 1 3 Awertenze meccaniche e Montare il dispositivo rispettando rigorosamente le istruzioni riportate nella sezione 4 Istruzioni di montaggio e non disassemblare il dispositivo e non eseguire lavorazioni meccaniche sul dispositivo e dispositivo elettronico delicato maneggiare con cura evitare urti o forti sollecitazioni sia all albero che al corpo del dispositivo e utilizzare il dispositivo in accordo con le caratteristiche ambientali previste dal costruttore 2 Identificazione Il dispositivo identificato mediante un codice di ordinazione e un numero di serie stampati sull etichetta applicata al dispositivo stesso i dati sono ripetuti anche nei documenti di trasporto che lo accompagnano Citare sempre il codice di ordinazione e il numero di serie quando si contatta Lika Electronic s rl per l acquisto di un ricambio o nella necessit di assistenza tecnica Per ogni inform
46. seriale 9 7 Impostazioni seriale RS 232 Unit Number Si pu scegliere un qualunque indirizzo compreso tra 11 e 99 Impostazione di default 11 L indirizzo non dovr contenere zeri in quanto tali cifre sono riservate per l indirizzamento collettivo MAN 1F52 _E 1 0 odt 9 Parametri di impostazione 20 56 lika Serial Baud Rate 1200 19200 por AAA 38400 Serial Format Bit di dati Bit di stop ARTE I IR nnn L pari 3 dispari 2 a 7 nessuna Ca ein PAIR 6 a pai 1 oo pos dori 14 se 8 nessuna toy 9 8 nessuna 2 MAN 1F52 _E 1 0 odt 9 Parametri di impostazione 21 56 lika 10 Funzioni di conversione e di linearizzazione 10 1 Conversione della lettura seriale E possibile la conversione della lettura seriale mediante i parametri X Operand Operand e Operand xOperand sand Operand Serial Readout SSI encoder data x Per maggiori informazioni riferirsi alla pagina 13 10 2 Conversione dei dati paralleli 10 2 1 Conversione del dato encoder SSI in un valore parallelo senza scaling n linearizzazione Quando si vuole convertire il dato encoder SSI in un valore parallelo senza scaling n linearizzazione impostare parametri come segue ESEMPIO Linearisation Mode 0 Round Loop 0 Parallel Mode 0 codice d uscita Binario 1 Codice d uscita Gray 2 Codice d uscita BCD Parallel inversion segnale ALTO polarit dati
47. tage of the full scale Now enter the desired values to registers P1 y to P16 y These are the values that the parallel output will generate instead of the x values As an example the value set next to P2 y will be used instead of the encoder value P2 x etc NOTE X registers must use continuously increasing settings i e P1 x item must have the lowest setting and P16 x item must have the highest setting e All entries use a percentage format which is xx xxx of the full scale Setting 0 000 means zero output while setting 100 000 means full scale output e With Linearisation Mode set to 1 it is compulsory to set P1 x register to 0 and P16 x register to 100 Linearization is defined in the positive range only and the negative range will be a mirror image of the positive range with reference to zero e With Linearisation Mode set to 2 it is compulsory to set P1 x register to 100 and P16 x register to 100 This enables the user to set curves which are not symmetric to the zero position 100 Y SSI data AN a v POT V AT V O y parallel data X oo sexe ae 23 S2 aS LO Hun HW 2 La ses ES Wu aa ee TO lt gt Example for Linearisation zz MAN IF52 _E 1 0 odt 10 Scaling and linearisation functions 52 56 lika ii 11 Testing functions When you select the TEST command in the TOOLS menu you are able to verify the following data by clicking on the corresponding field
48. te oppure scegliere cicli di aggiornamento piu lunghi codici di accesso seriale sono 3 perTM1e 5 per TM2 e In casi problematici possibile ridurre i tempi di processamento interno inibendo la conversione dei dati encoder RS 232 Per far questo impostare il parametro Operand a 00000 SSI Offset Questo registro definisce la posizione dello zero elettrico dell encoder rispetto alla posizione dello zero meccanico Quando la funzione ROUND LOOP non abilitata Round Loop 0 il valore in SSI Offset viene sottratto alla lettura della posizione SSI la qual cosa pu anche portare a risultati negativi Quando invece la funzione ROUND LOOP abilitata il valore in SSI Offset sposta la posizione dello zero meccanico ma sempre nell ambito di valori positivi Si veda anche il registro Round Loop e il relativo esempio SSI Hold polarity Imposta la polarit del segnale HOLD disponibile tramite il morsetto 10 Si veda il paragrafo 5 3 Ingresso HOLD a pagina 6 0 il segnale HOLD attivo HIGH A 1 il segnale HOLD attivo LOW Y 9 4 Impostazioni errori SSI SSI Error Bit Questo registro definisce la posizione del bit di presenza errore se disponibile nell encoder collegato Gli errori attivati nellencoder possono essere letti utilizzando il codice seriale 9 punto e virgola nove indicazione errore 2000hex In caso di presenza di un errore l indicatore ERROR BIT ACTIVE nel box OUTPUTS del software operatore si attiva r
49. tion alla pagina seguente Deve essere impostato al numero totale dei bit encoder perch siano considerati tutti i bit encoder ESEMPIO Nell esempio che segue si suppone che in un encoder con risoluzione totale di 13 bit il registro SSI High Bit sia impostato a 12 mentre il registro SSI Low Bit sia impostato a 03 ne risulta che il sistema prendera in esame solo bit da 03 a 12 con soppressione delle posizioni 01 02 e 13 High order bit Low order bit l Hi_bit 12 Lo_bit 03 l 13 12 11 10 09 08 07 06 05 04 03 02 01 L MSB Evaluated encoder bits LSB MAN 1F52 L E 1 0 odt 9 Parametri di impostazione 16 56 lika e Considerazioni sull uso della funzione di soppressione dei bit bit blanking function La funzione di soppressione dei bit bit blanking function comporta una diversa valutazione dell informazione encoder l utilizzatore deve essere perci perfettamente conscio delle conseguenze dell utilizzo di questa funzione sulla risoluzione e sul numero di giri registrati ESEMPIO Nel seguente esempio sono mostrati due possibili e diversi esiti della soppressione di un singolo bit in un encoder monogiro con risoluzione di 13 bit e Se non si utilizza la funzione di bit blanking l encoder a 13 bit trasmetter 0 8191 informazioni per ogni giro O 360 dell albero encoder Il registro SSI High Bit deve essere necessariamente impostato a 13 il registro SSI
50. ui stato costruito ogni altro utilizzo potrebbe risultare pericoloso per l utilizzatore alte correnti tensioni e parti meccaniche in movimento possono causare lesioni serie o fatali non utilizzare in ambienti esplosivi o infiammabili il mancato rispetto delle norme di sicurezza o delle avvertenze specificate in questo manuale considerato una violazione delle norme di sicurezza standard previste dal costruttore o richieste dall uso per cui lo strumento destinato Lika Electronic s r l non si assume alcuna responsabilit per eventuali danni o lesioni derivanti dall inosservanza delle norme di sicurezza da parte dell utilizzatore 1 2 Avvertenze elettriche Effettuare le connessioni elettriche esclusivamente in assenza di tensione rispettare le istruzioni relative alle connessioni riportate nella sezione 5 Connessioni elettriche A in conformit alla normativa 2004 108 CE sulla compatibilit N elettromagnetica rispettare le seguenti precauzioni A prima di maneggiare e installare il dispositivo eliminare la presenza di carica elettrostatica dal proprio corpo e dagli utensili che verranno in contatto con il dispositivo alimentare il dispositivo con tensione stabilizzata e priva di disturbi se necessario installare appositi filtri EMC all ingresso dell alimentazione utilizzare sempre cavi schermati e possibilmente twistati non usare cavi pi lunghi del necessario evitare di far passare il cavo dei
51. una curva programmabile Linearisation Mode 1 Round Loop 0 MAN 1F52 _E 1 0 odt 10 Funzioni di conversione e di linearizzazione 23 56 lika Parallel Mode 0 codice d uscita Binario Codice d uscita Gray 2 Codice d uscita BCD Parallel inversion 0 segnale ALTO polarit dati d uscita normale 1 segnale BASSO polarit dati d uscita invertita P1 x P16 x come necessario P1 y P16 y come necessario Questa funzionalit di programmazione permette all utilizzatore di convertire un movimento lineare in un valore d uscita parallelo non lineare e viceversa Sono disponibili 16 punti di interpolazione programmabili che possono essere liberamente disposti su tutto il range di misura a distanza a piacimento L unit interpoler automaticamente linee rette tra due punti impostati E consigliabile impostare il maggior numero possibile di punti nelle aree di grande curvatura e invece pochi punti essenziali nelle aree a bassa curvatura Prima di procedere con l impostazione della curva di linearizzazione desiderata anzitutto necessario abilitare la funzione impostando il registro Linearisation Mode a 102 parametri da P1 x a P16 x impostano le 16 coordinate dell asse delle ascisse asse X Essi rappresentano i valori SSI originali generati dal sensore Queste impostazioni devono essere espresse in percentuale della scala completa Impostare ora i valori desiderati nei registri da P1 y a P
52. y range with Master operation the unit will only generate one of the following frequencies accurately 1000 0 kHz 888 0 kHz 800 0 kHz 666 0 kHz 6150kHz 5710kHz 5330kHz 5000kHz 470 0 kHz 400 0 kHz 380 0 kHz 363 0 kHz 347 0 kHz 333 0 kHz 320 0 kHz 307 0 kHz 296 0 kHz 285 0 kHz 275 0 kHz 266 0 kHz 258 0 kHz 250 0 kHz With Master operation other settings will result in generation of the next upper or lower value according to above list With all settings lt 250 0 kHz the error between set rate and generated rate becomes negligible NOTE It is mandatory to set the Baud rate also with Slave operation In this case however the setting is only used to determine the pause time for correct synchronization pause is detected after 4 clock cycles The unit automatically synchronizes with every remote clock signal within the specified Baud rate range MAN IF52 I_E 1 0 odt 9 Parameter settings 45 56 lika SSI Wait Time This register sets the waiting time gap between two SSI telegrams in a range from 0 001 to 10 000 sec During normal operation due to processor cycle times the real time may vary by 512 usec with respect to the preset time The fastest sequence possible is 1 3 usec with a setting of 0 000 In Slave operation mode the distance of the SSI protocols depends on the remote Master and the SSI Wait Time specifies the distance of evaluation data strings Setting this register to 100 msec results in evaluatio

Download Pdf Manuals

image

Related Search

Related Contents

nos conseils d`entretien  RANGER - Lynx Optics  Chicago Electric 46944 User's Manual    Technaxx Musicman Bluetooth Dongle BT-X5      Revista Chef n1  11 消耗部品の交換方法  L10 FRENCH.p65  

Copyright © All rights reserved.
Failed to retrieve file