Home

User Manual

image

Contents

1. WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law lt Back Cancel 3 Select the folder where to install the RPF Max we recommend you to choose the destination directory suggested in the window below and clickon Next to continue the installation Choose Destination Location Setup will install RPF Max in the following directory To install to this directory click Next To install to a different directory click Browse and select another directory You can choose not to install RPF Max by clicking Cancel to exit Setup Destination Directory c Program Files DTA RPF_Max Browse Space Required 1132K Space Available 176094316 K Een 2008 dta s r l p 5 RPF Max user manual 4 Now the information are enough to start the installation of the RPF Max filter wheel Click on Next or Back to change any settings Ready To Install Setup now has enough information to start installing RPF Max Click Back to make any changes before continuing Click Cancel to exit Setup lt Back Cancel 5 Wait while the Setup installs the software just few seconds Copying file _ _ i This installation was created with Installer VISE from Mind ision
2. from RPF Max unsigned char cksm 0 rcksm add int on char bufrx 0 bufrx 0 bufrx 1 0 sread bufrx amp c tout this function receive a string from serial input the string ends with CR character if bufrx 0 controls that first character is return 1 add HexBin amp bufrx 1 decode address from hex char to bin value if add Addr return 2 cksm bufrx 1 checksum calculation cksm bufrx 2 for c 3 c lt 80 c extract the code returned from RPF Max from serial string if bufrx c cksm bufrx c rx c 3 bufrx c else CHF rcksm HexBin amp bufrx c controls the checksum rx c 4 0 break if rcksm cksm return 1 FLenn By return 0 p 26 2008 dta srl POSITIONING SPEED 0 05 s NUMBER OF POSITIONS 8 16 STANDARD MOUNT 2 SPEED CONTROL Yes SERIAL INTERFACE RS232 2400 9600 Baud PARALLEL INTERFACE 8 4 bit input 1 bit output MAXIMUM ALTER THIC KNESS 12 mm BACKFOCUS 25 mm POWER SUPPLY 12V 1A DIMENSIONS 225mm WEIGHT 1 8 kg OPTIONS RGB Max 50 mm RGB interference filter kit NIK Max Adapter for Nikon lens MIN Max Adapter for 42x1 mm lens AR Max Adapter for HiRes PAR Max Standard parallel port link cable RPF Max user manual SPEC IAC ATIONS 2008 dta s r l p 27 RPF Max user manual Link 2 Link cable for 2 RPF Max units with 2 5 m wheel base Link
3. SETTINGS sernnes 4800 bps sernnes 4800bps SETTINGS seras 2400 bps seras 2400 bps PLEASE NOTE THE DIP SWITCH POSITION 3 8 are not used p 22 2008 dta s r l RPF Max user manual APPENDIX B EEPROM MAP The EEPROM includes every value relevant to any RPF Max parameter Thanks to this every time the wheel ison the intemal microcontrollerloadsthe functioning parameters automatically ADDRES DATA SANYO MOTOR MAE MOTOR Ind 00h CPVH 3E70h 3E70h Ind 01h OFFSET VAL 007Fh 007Fh Ind 02h FILTERS 0008h 0008h Ind 03h STEPS 0064h 0064h Ind 04h CIRCLE 0320h 0320h Ind 05h MOTOR S 4E20h 4E20h Ind 06h RAMP OOEOh O0EOh Ind 07h MSTEPI Fh Fh Ind 08h MSTEPF 1000h 3E80h Ind 09h TORQUE 0001h 0001h Ind OAh OFFSET PS 0000h 0000h Ind OBh POS CTRL 0001h 0001h Ind OCh DELAY 007Dh 01F4h Ind 3Fh ADDRESS 0000h 0000h N B CPVH length of the high level of square wave running the holding torque acceptable range 000Ah 3E70h OFFSET VAL offset value forcalibration FILTERS number of filters of the inner disk STEPS number of motor stepping between one filter and the following one CIRCLE numberof motor stepping forthe full rotation of the wheel MOTOR S it setsthe pilotage frequency of the motorin calibration mode Freq kHz 2 MOTOR S RAMP numberof motorstepping of the acceleration deceleration ramp in the positioning stage MSTEPI it sets the in
4. a setting of the transmission speed on 1232 22 appendix b eeprom map 23 appendix c answering messages of the mf max 24 appendix d diagnostics of mf max 24 appendix e c source examples 25 specifications 27 options 27 index 28 2008 dta s r l p 1 RPF Max user manual p 2 2008 dta s r l RPF Max user manual INTRODUCTION RPF Max is a motorized filter wheel running by means of the following two ports 1 a standard bidirectional port parallel port 2 a RS232 serial port There are two versions of the wheel gt RPF Max 8 the 8 positions 2 filter wheel gt RPFMax 16 the 16 positions 1 filter wheel It stands out for its capability to place the 1 or 2 filters at high speed 50 ms between one filter and the following one In cascade connection mode it can control up to 8 RPF Max units by means of the same seral port It is possible to set the rotation speed and a different stop position for each filter The motor hold current is user adjustable This product can be customized specifying different size number of filters input or output adapters The typical applications are Photometry Microscopy and color sequences Fig 1 RPF Max filter wheel front and rear views 8 and 16 positions inner disk THE STANDARD SYSTEM INC LUDES e assembled unit in light alloy with threaded 2 input e RS232 Parallel interface e 2 5mPC parallel li
5. 2D1Do The holding torque value dependson the length of the high level of a 1 Khz square frequency wave applied to the motor This value is set by means of the four hexadecimal figures D3 Do 16 bit Every count is equivalent to an interval of 62 5ns The minimum value to be set is 000Ah the maximum 3E70 The RPF Max transmits the string AC KOO o OrFfseTcode 4D 1Do This instruction allows one to seta numberof steps the wheel hasto cany out at the end of the calibration by going on with the rotation trend or by inverting the rotation itself The number of steps ranges from 127 D1Do 00 to 128 Di D FF the negative sign stands for the inversion of the rotation The RPF Max transmits the string AC KOO o ALTERS code 5D1Do This instruction allows one to set the number of filters you can mount on the wheel it depends on the intemal disk up to 16 DiDo FF RPF Max transmits the string ACK o stepScode 6D2D1Do This instruction allows one to set the number of motor stepping between one filters and the next one the number being specified by means of the three hexadecimal figures D2D1Do RPF Max transmits the string AC KOO o CIRCLECOde 7D2D1Do This instruction allows one to set the number of motor stepping to perform a full circle of the wheel the number being specified by means of the three hexadecimal figures D2D1Do RPF Max shows the string AC KOO o MOTOR S code 8D3D2D1Do This instruction allows one to set the pilotage fre
6. 4 Link cable for 4 RPF Max units with 2 5 m wheel base Link 8 Link cable for 8 RPF Max units with 2 5 m wheel base p 28 2008 dta srl RPF Max user manual INDEX appendix a 22 appendix b 23 appendix c 24 appendix d 25 appendix e 25 answering messages of the mf max 24 control instructions 17 c source examples 25 diagnostics of mf max 25 e eeprom map 23 i introduction 3 installation of mf max to your pc by means of the serial link cable 8 o p parallel and series interface 9 parallel link and transmission protocol 16 personal computer recommended requirements 3 programmers manual 15 programming and setup instructions 18 pf max address setting 10 mf max cascade connection 12 rpf cfg 14 mf max commands parallel mode 20 pf max commands serial mode 17 mf max handler rev 1 2 13 pf max rev 1 2 n position filter wheel 15 pf max setting 10 rs232 serial link and transmission protocol 15 2008 dta srl p 29 RPF8 user manual s setting of the transmission speed on rs232 22 specifications 27 software setting 13 u updating of the firmware 11 dta s r l via giovanni cei 100 56021c ascina pisa italy web site www dta it e mail sales dta it p 30 2008
7. ACKXX on the contrary NAKXx Instead of the ACKXX a requested status can be sent Command string format AddrCommand cksm CR typical answer Addr ACKXX C ksm CR If the addressfield doesnot include any valid value no device will answer Every RPF Max answers afterthe camying out of the command the minimum response time being 20ms The checksum iscalculated by summing up every character included between the character and the one excluding these 2 on a 8 bit accumulator By means of the Command string the instructions are given to the wheel Command hasa dimension ranging from from 1 to 7 characters 2008 dta s r l p 15 RPF Max user manual PARALLEL LINK AND TRANSMISSION PROTOCOL The link is performed thanksto a 8 bit standard parallel port The protocol is as follows STROBE JACK 4BUSY ERROR XX KKK KX KK XXX KKK COMMAND 7 0 INPUT STROBE INPUT ACKOUTPUT BUSY OUTPUT ERROR O UTPUT G O 0 0 0 The RPF Max waits forthe input STROBE signal to become low then it reads COMMAND 7 0 and lowers ACK and BUSY it waits for STROBE to come back to 1 inorderto bring ACK backto 1 then it goes on with the interpretation and execution of the command which it has just received At the end of the execution it caries BUSY up to 1 and it setsorresets the ERROR flag according to any enorwhich might have occured or not The word COMMAND 7 0 consists of the 3 most significant bits command 7 5 identi
8. Do This instruction allows one to trim the waiting delay at the end of every positioning of the RPF Max In this way the oscillations due to the inertia of the system are reduced The delay time cormesponds to D3D2D1Do ms 2008 dta srl p 19 RPF Max user manual RPF MAX COMMANDS PARALLEL MODE In this mode the RPF Max includesa reduced command set allowing one to drive the wheel and entera limited section of its parameters o CALIBRATE Command value 00H Parameter jnone The RPF Max performs the calibration by placing itself on filter number 0 again If the calibration can t be camed out it sets ERROR at value 1 o POSITION Command value 01H Parameter 0 n where n num of filters 1 The RPF Max goesto the filter whose numberis specified by the five binary figures DaD3D2D1Do If the positioning can t be carried out the RPF Max sets ERROR at value 1 o TORQUE VAL Command value 02H Parameter 0 1FH The value of the holding torque dependson the length of the high level of a 1 kHz square frequency wave applied to the motor This value is set by means of the five binary figures Do Da Every count is equivalent to an interval of 625ns The minimum value to be set is 00001 b the maximum 11111 b o OFFSET Command value 03H OOH OFH for positive offset Parameter 10H 1FH for negative offset This instruction allows one to seta numberof steps the wheel ha
9. F Max user manual RPF Max SETTING RPF Max ADDRESS SETTING In serial mode RPF Maxisidentified by an address Because of it you can link up to 8 devices one after the other If the wheel doesn t recognize its input address it doesn t answer and it stays transparent The address recognized by the RPF Maxcan be found in location 3Fh of the innereeprom DTA placesit on address 0 see the relevant section of the Progra mmer s Manual it usually isa read only To modify the RPF Max address it is necessary to short circuit the pin 7 ADDR and 6 5V of the 9 pin female connector of the serial cable see picture 3 B Before performing this step make sure your device is not powered Switch the wheel on and it ll recognize the 0 address Now the address can be changed by means of a simple writing operation at the 3Fh location of the eeprom only the lowest significant byte is valid Once this operation is over switch the device off and eliminate the short circuit When getting started the filter wheel will recognize the new set address Otherwise you can simply realize the identity address programming by means of the rmpf exe handly program just typing from the command console the following mf sn where n isthe address ranging from Oto 7 Fig 3 A Serial cable B detail p 10 2008 dta s r l RPF Max user manual UPDATING OF THE ARMWARE RPF Max hosts a powerful microchip running every function with a re
10. RPF Max user manual may 2008 Copyright 2008 DTA s r l All ights reserved The reproduction of any part of this manual is allowed only with the written authorization by DTA s r l The contents of this manual may be subject to changes without any waming DTA are not responsible for errors that may occur in this manual Revision 1 1 3 dated 27 05 2008 Copyright 2008 DTA s r l All rights reserved The reproduction of any part of this manual is allowed only with the written authorization by DTA s r l The contents of this manual may be subject to changes without any waming DTA are not responsible for erorsthat may occurin this manual Revision 1 1 3 dated 27 05 2008 RPF Max user manual CONTENTS introduction 3 personal computer minimum requirements 3 software installation 4 installation of mf max to your pc by means of the serial link 8 parallel and serial interface 9 pf max setting pf max address setting 10 updating of the fimware 11 mf max cascade connection 12 software setting mf max handler rev 1 2 13 mpf cfg 14 mf max rev 1 2 n position filter wheel programmers manual 15 rs232 serial link and transmission protocol 15 parallel link and transmission protocol 16 pf max commands serial mode contol instuctions 17 programming and setup instuctions 18 pf max commands parallel mode 20 appendix
11. Software http www mindyision com p 6 2008 dta s r l RPF Max user manual 6 When the installation has been completed a window like the one below will appear Click on Close to end the Setup Finished Setup is complete and RPF Max is now installed Click Close to end the Setup lt Back Cancel 2008 dta s r l p 7 RPF Max user manual INSTALLATION OF THE RPF MAX TO YOUR PC BY MEANS OF THE SERIAL LINK The following steps are fundamental to install the RPF Max filter wheel to your PC gt It is suggested to make the connection operations with computer off Install the software by the use of the CD Rom provided with the filter wheel following the indications there reported From the Programs RPF_Max directory edit the rpf cfg file by text editor asnotepad or similar verifying the settings are coherent with the required ones In particular verify the field relative to the used port Put the provided serial 9 pin female connector of the link cable see picture below A in the selected seral port then fix it by means of the two side screws placed on the connector Put the 25 pin female connector see picture below B in the respective 25 pin male connector of the RPF Max then fix it by means of the screws placed on the female connector Put the male jack out of the 12V powersupply provided together with the filter wheel in the supply female jack see picture below C Let run the
12. eady to be used 2008 dta srl p 13 RPF Max user manual RPF CFG eK Specify num of filter wheel in the same serial channel range 1 8 1 eK Specify num of filterson each fw range 8 16 8 ee Specify serial port range 0 15 0 COM1 15 COM16 0 kkk Specify baud rate range 3 2400 4 4800 5 9600 6 19200 6 kkk Enable holding torque 0 disable 1 enable 1 ee Set holding torque range 10 15984 1 count 62 5 ns of the ON period 15984 ert Filter offset range 127 to 128 Applied after calibration 0 kkk Calibration speed Freq KHz 2 n Range 20000 10000 20000 ee Slope used in fast positioning value are motor steps range 0 255 224 re Start speed in fast positioning Freq MHz 16 n Range 32768 65535 65535 kkk End speed in fast postioning Freq MHz 16 n Range 0 65535 4096 for Sanyo Denky 16000 for MAE 4096 kkk Enable 1 ordisable 0 feedback positioning 1 kkk Delay after positioning ms Range 0 65535 Suggested value Sanyo Denky 125 MAE 500 125 PLEASE DON T CHANGE THE ORDER OF THESE PARAMETERS AND DON TADD BLANK LINES BETWEEN THESE MAX LENGTH OF A LINE IS 256 CHARS p 14 2008 dta s r l RPF Max user manual RPF Max Rev 1 2 N POSITION FILTER WHEEL PROGRAMMER S MANUAL RPF Max hastwo different connection systems by means of parallel port or serial port On the contrary the programming has been designed to be driven from the serial port only T
13. fy the command the other 5 bits command 4 0 contains the data p 16 2008 dta srl RPF Max user manual RPF MAX COMMANDS SERIAL MODE In serial mode RPF Max shows 24 instructions allowing the control ofthe wheel and the planning of all parameters from the address to the number of filtersand to the pilotage setting up ofthe stepping motor Aiand Di fields are expressed in hexadecimals What follows is the comprehensive list of the instructions CONTROL INSTRUC TONS o VERSION code 0 As an answer RPF Max transmits a string conceming the revision of the fimware RPF Max Rev 1 2 o CALIBRATE code 1 RPF Max performs the adjusting by placing on filter number 0 if the adjustment hasbeen successful it transmits the string AC KOO otherwise the string ACKO1 it means that the adjustment can t be camied out o PLACEMENTCOde 2D 1Do RPF Max goes onto the filter whose number is specified by the 2 figures DiDo in hexadecimal Once the placement has been canied out the wheel shows the string ACKOO If the number specified in the instruction isn t valid as it exceeds the number of filters which the wheel can host the placement doesn t come to an end and the wheel transmits the string NAKO1 unrecognized instruction On the other hand if the placement can t be performed because of a hardware failure the wheel may transmit the string ACKO2 the placement has not taken place orthe string ACKO1 the recalibration has no
14. handly program a Fig 2 Serial link cable p 8 2008 dta s r l RPF Max user manual PARALLEL AND SERIAL INTERFAC E The parallel interface ismade up of a link between the RPF Max and the PC on standard bidirectional parallel port while the serial interface ismade up of a link by means of standard RS232 Hereafter you can see the 25 pin male connector of the RPF Max as well as the detailed description ofthe included signals The following chart represents the signals on the pin ofthe connector 1 ADO 2 AD2 3 AD4 4 AD6 6 ERROR 7 GND 8 POW 9 ADDR 5 ACK 10 11 GND 12 TX1 13 TXO 14 AD1 15 AD3 20 25 16 AD5 17 AD7 18 BUSY 19 STROBE 21 GND 22 GND 23 5V 24 RX1 RXO ADO AD7 COMMAND 0 7 parallel port input STROBE STROBE parallel port signal input ACK ACK parallel port signal output BUSY BUSY parallel port signal output ERROR notice of parallel port enor output GND ground POW 12V RPF Max power supply input 45V 45V output ADDR pin of changing address PRG pin of firmware updating TX1 RX1 UARTI TXO RXO UARTO The communication speed on seral port can be 2400bps 4800bps 9600bps 19200bps see the relevant paragraph This specific kind of link can get up to a maximum distance of 50 m With parallel port up to 20 m All signals are standard CMOS 0O 5V 2008 dta s r l p 9 RP
15. hasnot taken place the reason isan hardware problem Try to clean the infrared positioning sensor with a jet of compressed air itis placed undemeath inward the filter disk ACKOS3 the operation is not allowed this string is given back if you try to modify the address of the filter wheel without having shot circuited the ADDR pin as specified in the paragraph Setting of the RPF Max address AVVIA DIAGNOSTICA you have canied out the D REPORTcommand without canying out the diagnostic before DIAGNOSTIC MESSAGES OF THE INTERNAL STATUS Hereafter you can find a list of intemal status messages the RPF Maxcan give backasa result of the receipt of the STATUS instruction only from serial port STATUSOO the last performed calibration or positioning instruction has been successful the wheel is working propery STATUSO1 the last performed calibration instruction hasbeen unsuccessful Try to clean the infrared positioning sensorwith a jet of compressed air itis placed undemeath outward the filter disk STATUSO2 the last performed positioning instruction has been unsuccessful Try to clean the infrared positioning sensor with a jet of compressed air itis placed undemeath inward the filter disk SUC C ESSFUL EXEC UTON MESSAGES Hereafter you can find a list of messages showing a successful outcome as farasthe execution of the instructions given by serial port ACKOO the instruction hasbeen performed propery This
16. he filter wheel recognizes if the communication has been set by serial or parallel port automatically As soon as the device is on it starts reading all the start up settings from the inner EEPROM Immediately after thanks to a calibration stage it is located in filter number 0 The device is identified by an 8 bit address serially so you can connect up to 8 RPF Max in the cascade mode Hereafter you can find the protocol transmission specifications RS232 SERIAL LINK AND TRANSMISSION PROTOCOL The RS232 serial link is used with the following transmission parameters either 2400 N 8 1 or 4800 N 8 1 or 9600 N 8 1 or 19200 N 8 1 see Appendix A Setting of transmission speed upon RS232 The protocol uses printable ascii characters Every transmitted string consists of a head character an end field character and end string character represented by the CR 13 character Between the character and the CR one there are two hexadecimal figures showing the 8 bit checksum of the string it is calculated from character to excluding these 2 Immediately after the head character you ll find the RPF Max address 00 FF one wishes to use You will be asked to provide 2 hexadecimal figures up to a maximum range of 8 devices For every string transmitted to the wheel it comespondsto another one standing forthe answer it isthe command processing confirmation If the command hasbeen camed out the answer can be
17. itial pilotage frequency of the motor in the positioning stage Freq MHz 16 MSTEPI MSTEPF it sets the final pilotage frequency of the motor in the positioning stage Freq MHz 16 MSTEPF TORQUE if this parameter is set at value 0 the holding torque is deactivated if it is set at value 1 itisactivated OFFSET PS if this parameter is equivalent to 0 it means that the OFFSET VAL value has been set by serial port otherwise if this parameter is equivalent to 1 it means that the OFFSET VAL value hasbeen set by parallel port POS CTRL if this parameter is set at value 1 the feedback positioning starts working if it set at value 0 the control is deactivated DELAY it sthe gap in ms between a positioning and the other ADDRESS this parameter sets the RPF Max seral address The not bold value of the eeprom location is not significant 2008 dta srl p 23 RPF Max user manual APPENDIX C ANSWERING MESSAGES OF THE RPF Max ERROR MESSAGES Hereafter you can find a list of eror messages the RPF Max can give back as a result of the receipt of an instruction by means of serial port NAKOO receipt error the input string can t be decoded NAKO1 unrecognized or wrong instruction ACKOL1 the calibration has not taken place the reason isan hardware problem Try to clean the infrared positioning sensor with a jet of compressed air itis placed undemeath outward the filter disk ACKO2 the positioning
18. nd the wheel off Then change the programming cable with the communication one gt The wheel is ready to be used again RPF MAX CASCADE CONNECTION You can get a cascade connection up to 8 units thanks to the serial link The first cascade RPF Max needsto be connected to the PC the second by meansof the 9 pin female connectornsee picture 5 A of its own cable to the 9 pin male connector see picture 5 B of the previous wheel and so on Fig 5 Serial cable p 12 2008 dta srl RPF Max user manual SOFTWARE SETTING RPF MAX HANDLER Rev 1 2 RPF Max HANDLER Rev 1 2 S Fittero Filter 1 Rte Filter 3 i RSS RE Filter 7 F1 F1 2 Together with the RPF Max you are given a software controlling the wheel by meansof serial port RPF Max HANDLER Rev 1 2 It allows one to manage the wheel with Windows ME 2000 XP To install the managing program just start setup from the CD you can find in the wheel box This software looks forthe wheel on the COM1 Once the setting is finished the program shows the presence of a single RPF Max asa default with suitable working parameters set by default To enable the control of more than one wheel and change the wheel parameters it is necessary to edit the file rpf cfg as shown in the following page of this manual it isin the same directory asthe software already installed Switch the RPF Maxon then start the software The wheel is r
19. nk cable e managing software for Windows ME XP 2000 e 115 230V power supply e case manual and 24 months of waranty PERSONAL COMPUTER MINIMUM REQUIREMENTS e CPUCeleron 1Ghz e 256 Mb of RAM e Microsoft Windows ME e RS232 port connecting the PC to the filter wheel 2008 dta s r l p 3 RPF Max user manual SOFTWARE INSTALLATION Software installation of this instrument is particularly simple and intuitive You must confom to the following steps 1 Insert the CD ROM provided with the filter wheel and the Quick Install will appear Click on RPF Max by the Standalone programs for FW menu p 4 2008 dta s r l 214 QUICK INSTALL What must do VISTA 3 View VISTA 3 Help Ghostscript DTA Camera Libraries SDK for C C Active X and Visual Basic example LabView Library Standalone programs for FW RPF6 RPF Max Utility Install Acrobat Reader 7 0 Drivers Registration FDL PCI on XP 2000 EDL PCI on 98 Me Explore CD ROM C 2002 2006 DTA srl All Rights Reserved RPF Max user manual 2 Now startsthe installation of the program Click on Next to continue the installation Welcome Welcome to the RPF Max Setup program This program will install RPF Max on your computer It is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program
20. o be entered ranging from 00h to 3Fh The RPF Max transmits the string including the data of the memory location o DP swcode M This instruction allows one to get the status of the 8 inner dip switch see APPENDIX A o IR CRLCodifica VD1Do This instruction allows one to switch the positioning and calibration sensors on and off If you set Diat1 the sensor controlling the wheel position tums on if you set it at 0 it tums off If you set Doat 1 the sensorcontrolling the wheel calibration tums on if you set it at 0 it tums off o IR_READCOde This instruction allows one to read the information coming from by both positioning and calibration sensors Two figures are given back C1 Co showing if at data 1 the performed positioning orcalibration respectively N B Cihasto be at value 1 for every position of the wheel while Cohasto value 1 in position ZERO only calibration positioning o POS FEEDBACK code LDo This instruction allows one to enable ornot to do so the feedback control of the positioning If Dois placed at value 1 the feedback has been activated if itis placed at value 0 the feedback isdeactivated FEEDBACK NOTE The feedback function allows the RPF Max micro to check the maintenance of the current position before a new positioning might start If the current position has gone lost due to special extemal cause the RPF Max cames out a calibration and then it shifts into the new position o DELAY Code KD3D2D 1
21. plannable and updatable firmware To plan the fimware you need to build up a serial cable linking the wheel to the PC Hereafter you can find the chart RPF MAX PORT SIGNAL UART1 POWER SUPPLY NOTES CANNON 25 F CANNON OF JACK 1 2 3 z gt Es 4 a a 5 a ma 6 a 7 i om 8 POW CENTRAL 12V 9 mes ere 10 TO BE SHO RT CIRC UITED PRG WITH PIN 23 11 GND 5 SERIALGND 12 TX1 2 UARTI TX 13 14 15 16 17 18 zx 19 20 21 GND EXTERNAL POWER S GND 22 23 TO BE SHORT CIRC UITED VCC 5V WITH PIN 10 24 RX1 3 UARTI RX 25 CHARTOF RPF MAX PLANNING CABLE Please note the power supply jack has to be mounted as an output from the connector of UARTL Fig 4 RPF Max programming cable 2008 dta s r l p 11 RPF Max user manual In orderto get to the programming stage you also need to have the updated software as well as the microcontroller programming software M16C Flash Start MSA0806 Here follow the stepsto do in orderto obtain the right updating ofthe software gt Switch the PC off any device included Linkthe RPF Maxto the PC by using the dedicated programming cable gt Feed the RPF Maxand switch the PC on gt Start the software M16C Flash Start MSA0806 and follow the instructions gt Once the programming has been canied out switch both the PC a
22. quency of the stepping motor during the calibration stage The frequency KHz is equivalent to 2 N N stands forthe number with 16 bit set by D3D2D1Do RPF Max transmits the string AC KOO o RAMPCOde AD Do This instruction allows one to specify the length by motor stepping of the acceleration deceleration ramp of the motor during the placement stage RPF Max transmits the string AC KOO o MSEPICOde BD3D2D1Do This instruction allows one to set the initial pilotage frequency ofthe stepping motorasfaras the placement stage isconcemed The frequency MHz is equivalent to 16 MSTEPI RPF Max transmits the string AC KOO o MSIEPFcode CD3D2D1Do This instruction allows one to set the maximum pilotage frequency of the stepping motorasfar asthe placement stage is concemed The frequency MHz is equivalent to 16 MSTEPF RPF Max transmits the string AC KOO o WRITE E Code DAi1A0D3D2D1Do p 18 2008 dta srl RPF Max user manual This instruction allowsone to write in the inner eeprom it sthe place where all pilotage parameters of the device are memorized By meansof A1A0 one specifies the inner memory addressto be entered ranging from 00h to 3Fh The data to be written are given D3D2D1Do RPF Max transmits the string AC KOO o READ _EECOde FA1A0oD3D2D1Do This instruction allows one to read in the innereeprom it sthe place where all pilotage parameters of the device are memorized By meansof A1A0 one specifies the inner memory address t
23. sto cany out at the end of the calibration by going on with the rotation trend or by inverting the rotation itself The number of steps ranges from 15 D4D3D2D1Do 00000 to 16 DaD3D2D1Do 11111 the negative sign stands for the inversion of the rotation TORQUE Command value 04H Parameter 00H OFH This instruction allows one to activate ordeactivate the holding torque of the stepping motor If Do isplaced at value 0 the holding torque is deactivated if it is placed at value 1 the holding torque is activated p 20 2008 dta s r l RPF Max user manual MOTOR S Command value 05H Parameter 00H 03H This instruction allows one to set the pilotage frequency of the stepping motor during the calibration stage The frequency KHz is equivalent to 2 N N stands forthe number with 16 bit set by D3D2D1Do RPF Max transmits the string AC KOO 2008 dta s r l p 21 RPF Max user manual APPENDIX A SETTING OF THE TRANSMISSION SPEED ON RS232 The two serial ports RS232 of the RPF Max UARTO and UART1 can communicate ata speed of 2400 bps 4800 bps 9600 bps and 19200 bps DTA has set it at 19200 bps however you can modify it by using the dip switches 1 and 2 you can find inside the RPF Max Hereafter you can look at the settings of the two switches to select the four speed SETTINGS sernnes 19200 bps_ sernnes 19200 bps_ SETTINGS seTTINes 9600 bps seTTINes 9600 bps
24. string isthe answer to all the given and camed out instructions but the VERSION instruction RPF MAX Rev 12 the VERSION instruction has been propery performed the string specifies the revision of the intemal fimware p 24 2008 dta s r l RPF Max user manual APPENDIX D DIAGNOSTICS OF RPF MAX The RPF Maxcan cany out an auto diagnostic test allowing to check the right calibration of both the mechanicsand the electronics as well asthe absence of any incorrect working stages By meansof the DIAG NOSIC T command the wheel is asked to perform four positioning senes first the wheel camies out a calibration then it is placed on every filter included between 0 and N 1 N number of positions of the wheel like in a sequence If the positioning fails the wheel performsa calibration before stepping into the following filter In the second series the wheel is placed on the filters according to the following rule For X 0 X lt N 2 XH POSITION N 2 X POSITION X If a positioning fails the wheel performs a calibration before stepping into the following filter The other two series are the same asthe ones we have just mentioned At every series corespondsa string with N bit binary figure the first being N 1 asit also include the outcome of the initial calibration here it is shown the outcome of every single positioning 0 means performed 1 stands for error The figure on the extreme left refers to position 0 the o
25. t taken place o TORQUE Code 9Do This instruction allows one to apply ornot to do so a holding torque to the motor of the RPF Max if it is still Do 1 if you need to activate the torque Do 0 if you need to deactivate it The RPF Max transmits the string AC KOO o smtuscodeS This instruction allows one to ask forthe inner status of the RPF Max corresponding to the latest placement instruction or calibration which has been performed Asan answer the wheel can either transmit the string STATUSOO showing that no eror has occured or STATUSI showing that a Calibration erorhas happened or STATUS2 in case of a placement enor o POSMONCOde P RPF Max givesbacka string specifying the number of the filter c umently in placement o DIAGNOSTIC code T RPF Max cames out four series of automatic positioning able to verify the correct working of both the mechanics and the electronics see Appendix D For every perfomed positioning the wheel transmits either the string ACKOO or ACKO1 or ACKO2 according to the positioning outcome At the end of the test an hexadecimal number is given back showing how many errors have taken place o D REPORT code Rlo This instruction allows one to enter four strings lo 0 3 showing the latest diagnostic test see APPENDIX D 2008 dta s r l p 17 RPF Max user manual PROGRAMMING AND SETUP INSTRUCTIONS You are kindly recommended to use the wheel parameters as shown in Appendix B o TORQUE VALCOde 3D3D
26. ther on the extreme right to the position N 1 except for the first string in thiscase on the extreme left you can see the outcome of the calibration You can get to the strings through the instruction D_REPORT Rlo lo ranges from 0 to 3 APPENDIX E C SOURCE EXAMPLES Hereafter it is shown a C example RPF Max string encoding and transmission void TxStr char tx int len tx is the string code for the RPF Max len is the lenght of the code unsigned char cksm 0 ch int CF TxByte S standard function byte transmission on a serial port send start of address sending ch ByteHex Addr gt gt 4 amp Ox0F this function translate a bynary value to an hex character TxByte ch cksm ch checksum calculation ch ByteHex Addr amp 0x0F this function translate a bynary value to an hex character TxByte ch end of address sending cksm ch for c 0 c lt len c start of code sending TxByte tx c cksm tx c end of code sending 2008 dta s r l p 25 RPF Max user manual TxByte send ch ByteHex cksm gt gt 4 amp OxOF start of checksum sending TxByte ch ch ByteHex cksm amp 0x0F TxByte ch xxx end of code sending TxByte 13 send CR 13 Hereafter it is shown a C example of string decoding from RPF Max int RxStr char rx int len long tout rx is the decoded string

Download Pdf Manuals

image

Related Search

Related Contents

6410  中心温度計 Thermometer  Lincoln Electric PRO-CUT IM665 User's Manual  Lightolier DMP01 User's Manual  Dynamode USB-CR-1 card reader  Philips 19HFL3232D 19" HD-Ready 3D compatibility Black  Discrete I/O Interface de la interfaz E/S discreta Interface E/S  IBAS-IMON-Handbuch  Fujitsu ESPRIMO E7935  

Copyright © All rights reserved.
Failed to retrieve file