Home
XL403D User`s Manual - Sensors - Measurement Specialties, Inc.
Contents
1. ccccc cece eee eeeeeeeeeeeeees 25 3 0 Default Settings ccc ccc cece cece ee ee eens e seat eeaeeenaes 29 4 00 Howto Use the XL403D ccc ccc ene teen eee n aes 30 5 0 Mounting Instructions cc cece cece cece e eee e eee eeee eens 34 Wiring Diagram 60 ccc cece cece eee cece eee eeeeeeeeeeeeennaaaes 34 6 0 Product Warranty saci sa sheeted sects pee eee 35 6 1 Three Year Limited Warranty Information 0000e 35 6 1 1 Warranty Return cc ccc cece eee cece eee ee eee eeeeneaes 35 XL403D User s Manual 2236 N Cleveland Massillon Road Page 3 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 1 0 Description 1 1 Product Overview The XL403D is a rugged digital accelerometer that is extremely versatile intelligent and works independently For ease of use the XL403D is configured and programmed through an ASCll based command set that resembles the Standard Commands for Programmable Instruments SCPI protocol The XL403D does not conform to the standard so the commands are only SCPI like The command set allows the sensor to be integrated with external data acquisition and processing systems 1 1 1 General Features Offset temperature compensation from 40 C to 85 C ASCll based SCPI like command set Programmable 5 pole Butterworth filter Firmware upgradability after unit manufacture Continuous scanning
2. 6 TH1 tracks channels readings against individual channel threshold values 7 TH2 tracks MAG or TLT values against a threshold 8 OU1 OU2 OU3 output functions that print the values of functions on a configurable periodic basis T Tera Term COM1 VT R File Edit Setup Control Window Help trig sour tim 0 1 trig count 25 out imm on conf fne mag 1 1 conrstne Ert I 11 alga eont tne oul ko Eke mag 0 005g 0 0169 aco Bae an E Ae EA Js 5 006 Jy z 3 ae Bk g 3 L ole he ak OSG1 g 0 988 g 29 0 C 1 14g 89 5 deg 023g 0 016g 0 988g 2 Figure 5 Function Output with Scan Measurements Complete documentation for each command can be found in section 2 7 5 0 Mounting Instructions Use two 3 0 mm x 0 5 mm thread machine screws to attach to one of the three XL403D mounting faces recommended torque 5 Ibf in 0 56 N m DO NOT thread a screw more than 2 5 mm 0 100 inch or 5 turns into any XL403D mounting face as this can damage the sensor and will VOID the warranty A light film of oil or silicone grease can be used to enhance contact between two mounting surfaces A locking compound should be used on all threads to prevent screws loosening due to vibrations Accelerometer Connections Pin Description l Accelerometer 1 2 Accelerometer 2 3 Accelerometer 3 4 Signal 5 RS485 6 RS485 7 Self Test 8 Vs Power 9 Ground Cable Wire ay n twisted
3. OUT TRG Causes the AUX pin to transition from high to low when a trigger is encountered in the sensor This only occurs when the sensor is configured for TRIG SOUR TIM lt interval gt This setting is used for synchronizing data collection between multiple sensors The other sensors must be configured for ROUT AUX INP TRG and TRIG SOUR ExT for the synchronization to work OUT EVI Causes the AUX pin to transition from high to low when a threshold event occurs and to return high when the event is past Example ROUT AUX OUT TRG TRIG SOUR TIM 0 01 INIT ROUT AUX Displays the current AUX pin configuration both mode and flags Example ROUT AUX INP TRG ROUT AUX OUT EVT ROUT AUX OUT EVT ROUT SCAN CAT Displays the catalog of available channels for scanning 2 3 Configuration Commands con t Example ROUT SCAN CAT Al A2 A3 T1 XL403D User s Manual 2236 N Cleveland Massillon Road Page 20 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com ROUT SCAN SE chan Se Defines the list of channels measured for each scan The lt chan_list gt parameter is a comma separated list of channels to be measured when a scan is triggered Example ROUT SCAN A1 A2 T1 READ 0 483g 0 1469 32 3 C ROUT SCAN Displays the current list of channels in scan Example ROUT SCAN Al A2 1 2 4 Input Commands Displays the latest digital temperature reading in HEX INP FILT F
4. syst err 0x00000000 tst 0x0000 syst reset 0x00 j Figure 1 Identification Commands 4 4 scan Configuration Figure 2 shows the commands that can be used to configure the XL403D s scanning process The ROUT SCAN Command displays the current list of channels that are being scanned in this case all of them and the rouT scan command is used to set the list of channels to be scanned The READ command initiates a single scan which is immediately formatted and displayed upon completion XL403D User s Manual 2236 N Cleveland Massillon Road Page 30 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com The INP FILT FREQ Command displays the current cutoff filter s setting and the INP FILT FREQ command allows the user to set the cutoff frequency Finally the XL403D is configured for time based scanning at 100 scans sec for 25 scans using the TRIG SOUR TIM and TRIG COUNT commands respectively The tnr1t command begins the scanning process which stops automatically after 25 scans have been performed rout scan A1 A2 A3 T1 read 0 049g 0 016g 1 006g 29 8 C rout scan al a2 read 0 102g 0 016g inp fi It freq 400 0 Hz inp filt freq 50 0 inp fi 1t freq 0 0 Hz trig sour tim 0 010 trig count 25 TE j ni 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Figure 2 Scan Configuration Commands
5. measurement SPECIALTIE S ce o XL403D Users Manual XL403D User s Manual 2236 N Cleveland Massillon Road 8 6 13 Akron OH 44333 PH 330 659 3312 www meas spec com XL403D USER S MANUAL Updated REV Pages 1 00 Date November 2012 Description Initial Release Add calculation to section covering the INP FILT FREQ command to take into account the interaction between the 5 pole erworth filter and the built in low pass filter in the sensor Removed statement to support RS485 BAUD rates up to 1Mb s Currently RS485 supports the same BAUD rates as RS232 Added documentation to the SYST ERR Command to show all the output bytes and document their meanings Changed text regarding pins 5 and 6 and the RS 485 interface to match the specifications in the data sheet Changed diagram regarding pins 5 and 6 and the RS 485 interface to match the specifications in the data sheet 1 01 February 2013 02 June 2013 1 03 July 2013 1 04 July 11 2013 1 05 August 6 2013 oO NO UJ c XL403D User s Manual 2236 N Cleveland Massillon Road Page 2 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com TABLE OF CONTENTS Page LO DGSCRIDUOMN asore a E cacsen nn toanee cues ene enaneesestes 4 1 1 Product OVErvVieW 0 ccc cece cece ence eee e eee nis rinira a 4 1 1 1 General Features cece cece cece e ee eee eeeeeeeteees 4 1 2
6. 2 1 3 A trigger is an event that initiates a scan Once the XL403D is triggered a measurement is taken from each channel in the scan Triggers can come from four Sources AUTo TIMe EXT and BUS AUTo triggers are available immediately at all times allowing the XL403D to take measurements as fast as possible TIMe triggers are generated periodically at specified time intervals EXT triggers are generated by high to low TTL level transitions on the XL403D s ST AUX line BUS triggers are generated through the receipt of a command i e READ XL403D User s Manual 2236 N Cleveland Massillon Road Page 6 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com The XL403D comes configured with all four input channels defined in the following order A1 A2 A3 and T1 A typical default scan record will look like this READ 25 6 1 01G 0 799g 24 6 1 a Channel T1 reading Channel A3 reading Channel A2 reading Channel A1 reading A scan record with updated readings will be sent each time a scan is generated This cab be accomplished with a READ command but may be done using a timer or with a signal through the ST AUX line All measurements to channels A1 A2 and A3 are taken using an A D converter that is always clocked to produce a reading in 69 usec The T1 measure ments are read directly from the on board temperature sensor and require 2 5 usec to complete When processing overhea
7. Product Specifications cccc ccc ecee eee eee eeeee teens eenneenes 4 1 2 1 XL403D Data Sheet 0 cece cece cece nena 5 1 3 Command Syntax Analysis cc cece cece cece ee ee eeeee eens 6 2 0 Concepts Functions and Commands 00eeeeee 6 2 1 Measurement Concepts ccceec cece eeeeeeeeeeeeenaaes 6 Z Neck CAVING aesir e ted 6 PT S E 6 LES MOOS parrene enen E EEE EET 6 2 1 4 Readings Buffer ccccc cece eee eeneeeeeenaaes 7 2 2 Scan and Measurement Speed Concepts 008 T 2 3 Triggering Concepts ccccc cee cce cece eceeeeeessaeeeeeeaaas 8 2 4 Channel Data Conversion Concepts ccceeeeee eee 10 2 5 Serial I O Concept cccccc cece eee e cece ee eeeeeeeeeeeeees 10 260 AUAIST FUNCIONAINY scndicocasescsetccudadssnuxennesdcsacnadccadadtcs 10 2 f Command Set OVErview cccc cece cece eeeeeee teen eenneaees 11 2 7 1 Supported IEEE 488 2 Common Commands 12 2 2 Calibration COMMANAS cccceee eee ee eee eee e ees 12 2 3 Configuration Commands cccceeeeee eee eeees 14 2 3 1 Additional Configuration Parameters 18 2 7 4 Input COMMANAS c cece cess eset eee eeeneeeeeeees 21 2 7 5 Trigger COMMAMNAS ccc cece e eee eee eee eeeeeeeees 22 2 6 Status COMMANAS cccc cece cece e ee eee eee eeeeeees 24 2 f System Commands
8. XL403D User s Manual Measurement Specialties Inc 2236 N Cleveland Massillon Road Akron OH 44333 PH 330 659 3312 Page 23 of 35 www meas spec com 2 5 Trigger Commands con t Example TRIG SOUR TIM 0 025 TRIG SOUR TIM 0 0250 40 scans sec ivrG COU lt oii Sets the number of triggers that the unit will act upon before re entering Idle mode This can be used to limit the number of scans generated Example TRIG SOUR TIM 0 005 TREG COUNT 512 INIT This configures the sensor to generate 512 scans at 5 msec intervals EE TCE COUNT Displays the number of scans the sensor is currently configured to perform Example TRIG COUNT 512 2 6 Status Commands Displays the number of readings in the readings buffer SENS RANGE Displays the range of every axis DIAG LOAD Displays the current processing load on the sensor DATA PTIS Formats and displays the number of scans currently in the readings buffer Use the R command to retrieve the readings in the buffer Example DATA PTS ile SENS RANGE Formats and displays the sensor s range for each axis Example SENS RANGE t Seles Jao0pe fang DIAG LOAD XL403D User s Manual 2236 N Cleveland Massillon Road Page 24 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 6 Status Commands con t Displays a value that represents the current load on the sensor This is a representation of how bu
9. as possible If required the scans can be performed at a rate determined by a signal on the SelfTest AUX input pin or by a timer in the unit see Measurement Concepts section 2 1 3 2 3 Triggering Concepts The XL403D will allow scans to be triggered from several Sources AUTo BUS EXT and TIM XL403D User s Manual 2236 N Cleveland Massillon Road Page 8 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com The default source auto generates a trigger whenever the sensor needs one This makes scanning happen as fast as possible The sensor will initiate a scan immediately upon receiving a READ Command also Known as Bus triggering This source is always available and will be automatically used when the READ command is received scans may also be initiated through a logic transition on the SelfTest AUX line ExT source No SelfTest signals can be responded to in this mode since there is no way to distinguish between asserting SelfTest and triggering on the line Finally scans may be initiated based on a timer rim source The internal timer can trigger scans from 0 0004 seconds to 1388 seconds apart The sensor is by default in Idle mode and does not respond to trigger events To make the unit respond to trigger events the unit must be placed into WaitForTrigger mode In this mode the next trigger event that is sensed will start a scan To place the sensor in WaitFor Trigger
10. filter needs to be set to 518 HZ foutterworth In order to achieve a sensor cutoff of 500HZ fap INEC leh Alig Ie Ist en fe Returns the low pass filter frequency in hertz This represents the setting of the 5 pole Butterworth filter only The low pass filter frequency of the sensor may be somewhat different as discussed above Example INP FILT FREQ LOO Hz INP FILT FREQ 1500 INP FILT FREQ 1500 Hz NES MODE ONORE Sets the sensor s SelfTest mode by driving the Self Test chip signal on the sensor chips READ Initiates a scan of all currently defined channels This takes a measurement on each channel in its defined order and writes the measurements to the readings buffer yeaa Formats and displays all scans in the readings buffer The data is formatted according to the current configuration defined by the out Fmt command and according to the current number of channels in each scan as defined by the rouT scan command Example ROUT SCAN AlyA2 Ao Tl INIT R 0 015g 0 020g 1 000g 30 3 C 0 000g 0 035g 1 015g 30 0 C 2 5 Trigger Commands Exits WaitForTrigger mode enters Idle mode Enters WaitForTrigger mode exits Idle mode Configures the source for future triggers Displays the current trigger source Sets the number of triggers that may be generated XL403D User s Manual 2236 N Cleveland Massillon Road Page 22 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www
11. mode issue the INIT Command The unit listens for incoming characters after sending each scan record in order that the user may stop scanning and return the unit to Idle mode Typically a lt cr gt will suffice although at higher scan rates a lt BREAK gt Condition will be required to stop scanning When the sensor is set to oUT IMM OFF the aBorT Command must be entered in order to return to Idle mode Trigger Mode WaitForTrigger Generate Scan iz O Scan Data Readings Format Serial Port Buffer Scan Scan Data The unit will always perform a single scan in response to a trigger event Periodic scans produce a continuous series of scan records until power is cycled the unit is reset or the current scanning mode is canceled The unit can also be configured to exit WaitForTrigger mode after a configurable number of triggers have occurred from 0 to 65535 A value of 0 indicates continuous mode where the unit will trigger scans continuously until WaitForTrigger mode is exited or the unit is reset XL403D User s Manual 2236 N Cleveland Massillon Road Page 9 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com The result of triggering a scan is to 1 read each configured channel s sensor 2 store the readings into the readings buffer internal memory The sensor s configuration determines what happens after that If our zmm is on then the sensor will format the scan s readings
12. pair sa Yello P twisted pair i twisted pair Tila Grey White k twisted pair connected to braided shield at D shell pin XL403D User s Manual Measurement Specialties Inc Improper wiring can cause permanent damage and void the warranty Pins other than Vs should not exceed 5 V 2236 N Cleveland Massillon Road Akron OH 44333 PH 330 659 3312 Page 34 of 35 www meas spec com 6 0 Product Warranty 6 1 Three Year Limited Warranty Information Measurement Specialties warrants this product against defects in materials and workmanship for a period of three years from date of shipment During the warranty period Measurement Specialties will at its option either repair or replace products which prove to be defective This warranty does not apply to defects or damage resulting from e Improper installation or maintenance mproper wiring can cause permanent damage and void the warranty Improper mounting can cause permanent damage and void the warranty e Customer supplied software or interfacing e Unauthorized modification or misuse e Operation outside of the product specifications listed on the datasheet The warranty set forth above is exclusive and no other warranty whether written or oral is expressed or implied Measurement Specialties specifically disclaims the implied warranties of merchantability and fitness for a particular purpose Some jurisdictions do not allow limitations on how long an
13. By default the number of scans is set to 0 which instructs the XL403D to generate scans forever or until the user presses lt cR gt or issues a lt BREAK gt On the serial line 4 5 Format Configuration The results of each scan that the XL403D generates is formatted for output according to the settings of the our FMtT command The out FmMr command is used to display the current formatting flags that are in place The supported flags are FLT converts readings into engineering units floating point HEX converts readings into HEX values for display UNITS appends each channel s units to its formatted display value CNT prepends a scan counter in HEX to the beginning of each scan CRC appends a CRC value in HEX to the end of each scan Figure 3 shows the default format setting and shows how to change the format flags and the effect they have on the scan output XL403D User s Manual 2236 N Cleveland Massillon Road Page 31 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com Tera Term COMI VI File Edit Setup Control Window Help 9 if 3 g De 9 0 9 2 g g al 9 0 6 g 3 2 8 5 3 C out fmt hex read 0203 01FF 01c1 0272 out fmt fFlt units cnt A 0 005g 0 002g 1 024g 28 8 sO259 0s 01lO9 1 O2do 2637C out fmt hex cnt cre read 0006 0201 01FF 01c1 0272 380c read 000 0201 01FF 01c1 02 2 F4DC read 0008 0201 0200 01c1 0274 969c Figure 3 Out
14. N MAX CONF FNC MIN INIT CONF FNC MAX PRINT 0 469g 0 1909 0 527g 32 8 C CONNEC ENC Formats and displays the current configuration data for each ENABLED analysis function The configuration data is as follows Config Word Scan interval scan counter Scan buffer pointer XL403D User s Manual 2236 N Cleveland Massillon Road Page 18 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 3 Configuration Commands con t Example CONF FNC MIN 0x0001 0x0001 0x0000 0x03E0 MAX 0x0001 0x0001 0x0000 0x03E0 OU1 0x0001 0x000A 0x0008 0x03E0 OUT S19 lt ieCuemenc it hee gt Configures the sensor to format scans according to the list of comma separated flags scans are formatted when they are placed in the readings buffer when out Imm is on or when the rR command is executed The following flags are supported FLT sets floating point engineering units format mode HEX sets HEX format mode Note UNI appends The lt format_flags gt parameter must begin with either the Fir or HEx flag channel units to followed by all other flags each reading CRC appends a HEX formatted CRC value to the end of each scan record CNT prepends a HEX formatted scan count value to each scan record BST appends HEX formatted number of readings in buffer to each scan record TST appends HEX formatted trigger information to each scan record i e number of trig
15. REQ Configures the low pass filter cutoff frequency INP FILT FREQ Displays the low pass filter s cutoff frequency INP MODE ST Sets or clears SelfTest mode READ Initiates a scan and writes the readings into the readings buffer Formats and displays all non displayed readings in the readings buffer KETCH TEMNE Displays the last digital temperature reading The value is displayed in HEX format Example FETCH TEMP 0x027E IPPILI IP EKO Trog Sets the low pass frequency of the 5 pole Butterworth filter The units are hertz The frequency value must be between 1 Hz and 1193 Hz This command affects only the 5 pole Butterworth filter s setting The sensor chip has a built in 1200Hz low pass filter that interacts with the 5 pole filter s setting resulting in a combined low pass filter setting that is somewhat different than the setting of this frequency The following equation may be used to calculate the setting required for the 5 pole Butterworth filter in order to achieve a desired cutoff for the entire circuit 2 4 Input Commands con t 1 fag 1200 fi butterworth f 3dB ae a 0 995 fran 1200 XL403D User s Manual 2236 N Cleveland Massillon Road Page 21 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com where foutterworth frequency setting for the 5 pole Butterworth filter fap desired 3dB cutoff filter frequency for the sensor As an example the Butterworth
16. Their respective normalized readings are used as inputs into the atan2 function which returns the principal value of the arctangent of y x using the signs of both arguments to determine the quadrant that the angle lies in The angle is between 180 and 180 degrees The first axis listed is x and the second is y when calculating the arctangent Examples cONF FNC TLT 1 10 A1 A2 Evaluates tilt every tenth scan using the A1 axis as x and A2 as y CONF FNC TLT 1 1 A2 A3 Evaluates tilt every scan using the A2 axis as x and A3 as y CONF FNC TLT 1 100 A1 A3 Evaluates tilt every 100 scan using the A1 axis as x and A3 as y The lt config_val gt Is used to define the configuration value for the function and its value has the same definition as explained previously for the mIn max and PTP functions TH1 Checks channel readings against thresholds This function checks channel readings against thresholds The thresholds are entered separately for each channel so each channel can have unique thresholds Once the conr Frnc command and the required parameters have been entered followed by a lt cr gt the sensor will display a prompt for each channel currently defined in scan The threshold limit and reset values are entered separated by commas on each line followed by a lt cr gt If threshold values are not to be applied to a channel simply press lt cr gt at the prompt and that channel s threshold evaluation will be skipped The command s
17. according to the current out FMT settings and transmit the readings out the serial port If there are any enabled functions they will be evaluated according to their respective configurations 2 4 Channel Data Conversion Concepts The XL403D takes digital measurements at each trigger and stores the readings in the readings buffer For efficiency s sake the readings are not converted into external formatted representations until requested by the user which occurs when the scan s readings are formatted for display In OUT IMM ON mode the sensor will format scans for display immediately after they are stored in the reading buffer In our IMM oFF mode readings are formatted and displayed only when the R command is executed If the sensor is in Floating Point format the readings are converted to engineering units using the calibration gain and offset values for each channel If the sensor is placed in HEX format mode no units conversion is performed the readings are converted to HEX format and displayed This allows the readings to be converted to engineering units using an external program and increases the number of readings per second that can be read from the sensor 2 5 Serial I O Concepts The XL403D has an on board RS485 adapter providing a fast and robust computer interface Pins 5 and 6 on the DBY connector are the RS485 and RS485 pins respectively which allow communications to and from the sensor When powered on the inter
18. ble Instruments SCPI Standard Version 1995 0 The XL403D does not conform to the standard so the commands are only SCPI like The commands are always ASCll encoded and are acted upon when a lt cr gt character is sent which is always at the end of each command The XL403D will always respond with a lt cr gt when the command has been received The interface to the XL403D is half duplex only and therefore commands and data are never sent and received simultaneously The interface is either sending or receiving at any moment in time Commands that end in a question mark 2 are query commands which will always return information to the serial port Query commands are often used to request the status of the sensor or to retrieve readings All data sent in response to a query command are ASCll encoded 2 0 Concepts Functions and Commands 2 1 Measurement Concepts 2 1 1 A channel is a data source from a sensor The XL403D has four pre defined channels A1 A2 A3 and T1 The A channels represent the three axes of acceleration that are sourced from the built in accelerometer chip The T1 channel is the temperature channel sourced from the built in temperature sensor 2 1 2 A scan is a set of readings from a defined set of channels A scan must be defined and then triggered to occur at a particular interval and from a particular source A scan defines both the channels being scanned and the order in which they are scanned
19. ction name threshold limit and reset value are entered separated by commas on each line followed by a lt cr gt The command sequence resembles this XL403D User s Manual Measurement Specialties Inc 2236 N Cleveland Massillon Road Akron OH 44333 PH 330 659 3312 Page 16 of 35 www meas spec com 2 3 Configuration Commands con t Example CONF FNC TH2 1 1 Configure function value thresholds gt MAG 1 0 0 9 CONF FNC MAG 1 1 Evaluate the MAG function every scan TRIG SOUR TIM 0 1 Generate scans 10 times second OUT IMM OFF Don t display the individual scan data INIT Begin scanning MAG 0 80g MAG 0 80g MAG 0 80g MAG 0 80g TH2 MAG Over Limit MAG 2 32g TH2 MAG In Limit MAG 0 71g MAG 0 81g MAG 0 81g Abort Stop scanning As this example shows a message is sent to the serial port when a function value exceeds its threshold If the AUX pin is configured to output threshold events see the rouT aux command then it will transition from logic high to low for as long as the threshold condition exists Only one function at a time either mac or TLT can have its value checked against thresholds oul outputs indicated results to serial port ou2 outputs indicated results to serial port ou3 outputs indicated results to serial port These functions are available for producing output from functions on a periodic basis The effect of running one of these functions is the same as executing the coNF FNC lt
20. d is included the XL403D can scan 4 channels over 2500 times each second 2 1 4 A readings buffer is temporary storage within the XL403D for measurements The current buffer size is 192 readings in size All measurements are written to the buffer and processed from there Readings are formatted for output or processed by functions while they are in the readings buffer When more than 192 readings are measured by the XL403D the new readings overwrite the oldest readings in the buffer by wrapping around to the beginning of the buffer The buffer always contains the latest readings 2 2 scan and Measurement Speed Concepts The XL403D may be used to simply take measurements and transmit them out the serial port The sensor can take measurements and display them at various speeds based on the triggering configuration and other settings in the XL403D The configured BAUD rate and formatting options determine the maximum scan rate for the sensor The following table shows the maximum 4 channel scan throughput at various BAUD rates using the three triggering methods The Command values include time for sending a READ Command and for transmitting a single scan The Timer Ext values include only time to format and transmit a scan All values include time for processing overhead 28800 BAUD 38400 BAUD 57600 BAUD 115200 BAUD Command Jo a o mw Timer Ext Table 2 Maximum 4 Channel Floating Point XL403D User s Man
21. e 4 2 Sensor PC Connection The XL403D requires an RS 485 PC interface kit to connect to a computer The only software that is required on the computer is an ASCII terminal emulator The HyperTerminal program that comes free with Windows does not work very well since it always attempts to interpret the output of the XL403D in terms of a terminal emulation protocol like ANSI A better terminal emulator would be Tera Term Pro or similar program which can be configured for simple ASCII operation Plug the 35250A interface into the 9 pin DSUB connector on the XL403D first This makes sure that the sensor is correctly connected to the interface Next plug the RS 232 cable into the other end of the 35250A and the serial port on the PC A USB to RS232 interface may be necessary to attach the XL403D to your computer Finally plug the power supply into the 35205A s power port When the XL403D has been connected to the 35250A PC Interface and that to the PC and power has been supplied to the XL403D it is ready for use 4 3 Sensor Identification The XL403D supports several status type commands These are shown in Figure 1 below and are used to query the identification of the device and its current status Section 2 7 describes each command shown in Figure 1 and their responses Tera Term COM1 VT File Edit Setup Control Window Help i dn MEAS Specialties XL403D 2090A90001 RT 2 0051 Jul 30 2012 15 34 18 2 16 syst uptime 5189 secs n
22. ecialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 3 0 XL403D Default Settings The following settings are in effect when the sensor is powered up with no startup script defined The sensor is in Idle mode and does not respond to trigger events INIT The sensor is in auto trigger mode TRIG AUT The sensor will perform an infinite number of scans once triggering is initiated TRIG COUNT 0 The sensor scans with all four channels and will format the readings as comma separated floating point values with channel units displayed RouT SCAN A1 A1 A3 A4 and OUT FMT FLT UNI e The sensor will format each scan as it is generated and transmit it out the serial port OUT 1mm ON e The serial port is set to 38400 BAUD 1 stop bit 8 data bits no parity SYST COMM SER BAUD 38400 e No functions are enabled conr FNc e The AUX pin is set as an input and is configured to respond to a high to low TTL level transition by placing the sensor in Selffest mode RouT aux INP TRG XL403D User s Manual 2236 N Cleveland Massillon Road Page 29 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 4 0 How to Use the XL403D 4 1 Sensor Power The sensor requires power in order to operate This power must be applied to DSUB pins 8 and 9 according to the specifications listed in section 1 2 1 Data Sheet The 35250AAKO 1 PC Interface Adapter provides a power supply that can be used for this purpos
23. ent of sensitivity at 25 C Zero g Bias Level At 25 C 2 5 V Precise values on Cal certificate Drift Tmin to Tmax 20 mg At 1 25 C min temperature rate of change Alignment Precise values on Cal certificate Deviation from Ideal Axes ELO 3 0 degrees Can be compensated if required Transverse Sensitivity 0 25 Inherent sensor error excluding misalignment Nonlinearity 0 1 0 5 FSR Best fit straight line Frequency Response 5 pole 0 800 Hz Upper cutoff per Option Bnnn 3dB pt 10 5 pole Butterworth filter Noise Density 100 ug VHz 10 Hz to 400 Hz Self Test Pull up Resistor 5 kQ Logic 1 gt 3 5 V Logic 0 lt 1 5V 0 causes self test Temperature Sensor Accuracy 1 C Sensitivity 6 45 mV C 0 C Bias Level 509 mV Outputs Output Voltage Swing 0 05 4 95 V Iout 0 5 mA Capacitive Drive Capability 1000 pF Power Supply Vs Input Voltage Limits 80 V continuous gt 38 V if lt 550 ms duty lt 1 Continuous Input Voltage Operating Input Current DC Rejection Ratio Temperature Range Ta 40 85 me Mass 38 grams Precise values on Cal certificate Shock Survival 5000 5000 g Any axis for 0 5 ms powered or unpowered DataSheet Rev 1 05 XL403D User s Manual 2236 N Cleveland Massillon Road Page 5 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 1 3 Command Syntax Analysis The commands supported in the XL403D were developed based on the Standard Commands for Programma
24. equence resembles this XL403D User s Manual 2236 N Cleveland Massillon Road Page 15 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 3 Configuration Commands con t Example CONF FNC TH1 1 1 gt A1 0 5 0 25 gt A2 0 5 0 25 gt A3 gt T1 TRIG SOUR TIM 0 25 INIT Vesoed Uog U 1620 olaa C Jesoug UUs Tagy alra V 3960 0 0660 0 14 10g olea C 0 4250 O00809 014797 31 49 C 0 45490 0 0800 0 320 31 5 C 0 4690 0 07 30 0 71eg 31 6 C TH1 A1 Over Limit Jeolog UO Us oeg Ln OAIE UUT IGL Alst 0 4550 U07390 10309 3L 7C Vets U0 T33 0s 7320 2l C U 3960 O lt 205cG 0 4 0 Sled C eobot VU r Uso Ga lher 0 00980 U00 0e Tog alsa 04249097 008803 0 7919 3125 C TH1 Al In Limit As this example shows a message is sent to the serial port when a channel exceeds a threshold If the AUX pin is configured to output threshold events see the rout aux command then it will transition from logic high to low for as long as the threshold condition exists TH2 Checks magnitude and tilt function values against thresholds This function checks mac and tit function values against thresholds The thresholds are entered separately for each function so each can be unique Once the conr Frnc command has been entered along with all required parameters the sensor will display a prompt a gt character and wait for the user to enter further data The fun
25. ese values are used to convert the digital measurement into engineering units using the following formula EU Measurement Offset Gain Example CAL DATA Alt gain 68 26 offset 512 A2 Qain 68 267 offset 512 A3 gain 68 267 offset 512 T1 gain 4 0 offset 512 CALC DATE Returns the most recent calibration date and time of the instrument Example CAL DATE go Nov L2 173 del XL403D User s Manual 2236 N Cleveland Massillon Road Page 12 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 3 Configuration Commands Displays data for all currently enabled functions CONE C ENC CAT Lists the available data analysis functions to the serial port The functions are displayed as a comma separated list Example CONF FNC CAT MIN MAX MAG PTP TLT TH1 TH2 0U1 0U2 0U3 Name Description S Calculates the Peak To Peak value for each channel i e MAX MIN Calculates the tilt angle using any two axes using the atan2 trig function CONE ETICE Wien nane Conio yal myer y al a ada Ses oacams Configures an analysis function The parameters specify the analysis function by name its configuration value and the number of scans that must be in the readings buffer before the function is evaluated If a function is DISABLED it is never evaluated Some functions require additional parameters in order for them to execute Each function will be explained based on it
26. eserved 1 End Of Buffer 2 Reserved 3 Reserved 4 Field Not Found 9 5 Reserved 6 Reserved 7 See the TST command Time Out Error Character I O Error Command Execution Error 0 1 2 3 4 5 6 7 8 9 Format Error Svol COMM SER ABAUD Displays the current value of the Baud Rate Control Register in HEX Example SYST COMM SER ABAUD 0x000C Syol COMM SER BAUD beuid rake This command changes the configuration of the USART in the sensor to communicate at the indicated BAUD rate Values for lt baud_rate gt can range from 2400 to 115200 and even higher if a USB to RS485 interface is used So MORE EROME mr On Orr Configures the sensor to display a prompt a gt character after each command is executed when set to ON Oor MODE OTATU sON Orr XL403D User s Manual 2236 N Cleveland Massillon Road Page 26 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 f System Commands con t Configures the sensor to display status information if a command fails to execute due to an error condition Example SYST MODE STATUS ON SUST ERR SYNTAX 1300FC02 SUST ERR Sis SC ell This command places the sensor is Script Definition Mode indicated by the spM enabled message that is displayed immediately after the command is executed All commands entered after this point are stored in the sensor s startup script This script is executed a
27. face is set to the following communication settings Baud rate 38400 Data bits 8 Stop bits 1 Parity None The sensor s BAUD setting can be changed using the syst comM SER BAUD Command If necessary that command can be placed in a startup script to make the change permanent 2 6 AUX ST Functionality The AUX SelfTest pin has the ability to perform several functions based on the sensor s configuration By default the AUX pin is set as an input and is configured to respond to a high to low TTL level transition usually by grounding the pin by asserting SelfTest on the sensor chips In addition the AUX pin can be configured to perform a scan when the pin s logic level transitions from high to low The AUX pin can also be configured as an output signal where it is TTL logic high when all signals are within threshold and moves to TTL logic low when a threshold is exceeded XL403D User s Manual 2236 N Cleveland Massillon Road Page 10 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 Command Set Overview The following section describes each command available in the XL403D according to functional groups All commands are acted upon when a lt cr gt is sent at the end of the command All available commands are highlighted in a grey text box throughout this section 2 1 Supported IEEE 488 2 Common Commands Resets the sensor to power on Displays the sensor s identification information Disp
28. func_name gt PRINT Command These functions require the lt config_val gt lt scan_interval gt and lt addt 1_params gt parameters when they are configured Typically the lt interval gt is set to the same value as the function whose value is being printed The lt addt 1_params gt IS a comma separated list of functions whose values are to be printed when the ou function executes XL403D User s Manual 2236 N Cleveland Massillon Road Page 17 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 3 Configuration Commands con t Examples TRIG SOUR TIM 0 25 Generate scans 4 time second OUT IMM OFF Do not display the individual scan data CONF FNC MAG 1 10 Evaluate the magnitude function every tenth scan CONF FNC OU1 1 10 MAG Print out the magnitude results every tenth scan INIT Begin scanning MAG 0 80g MAG 0 80g MAG 0 82g MAG 0 82g MAG 0 72g MAG 0 68g MAG 0 69g MAG 0 80g MAG 0 80g MAG 0 80g Abort Stop scanning 2 3 1 Additional Configuration Parameters INIT This parameter instructs the sensor to initialize the indicated function This sets its values back to power on levels For example initializing the mzn or max function will cause new minimum and maximum values to be determined from the data PRINT This parameter instructs the sensor to print out the current value s of the indicated function Examples cCONF FNC MIN 1 1 CONF FNC MAX 3 1 CONF FNC OU1 1 10 MI
29. gers defined and number of triggers processed Example OUT FMT FLT UNI CNT READ 0001 0 483g 0 161g 0 513g 32 5 C OUT EMT HEX GNI CRC READ 000C OIDE 020A 02230230 ESEG OU EME Displays the set of formatting flags that are currently in effect All flags are separated by commas Example OUT FMT FLT Units Floating point and units enabled OUT FMT HEX CNT CRC OUT FMT HEX CRC CNT Hex CRC and scan count enabled 2 3 Configuration Commands con t XL403D User s Manual 2236 N Cleveland Massillon Road Page 19 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com OU TAMEO Ole Configures the sensor to format and display channel readings immediately after they are written to the readings buffer This is set to on by default When set to off readings will be buffered but not displayed Readings in the buffer can always be displayed using the R command ROUT AUX lt mode gt lt flags gt Configures the sensor s AUX pin functionality The following modes and flags are supported No other combinations of modes and flags are supported by the XL403D Mode Flag Description INP TRG Responds to high to low TTL level logic transitions on the AUX pin When the sensor is in Idle mode a logic transition will place the sensor in SelfTest When the sensor is configured for TRIG MODE ExT and is in WaitForTrigger mode logic transitions cause the sensor to generate a scan
30. implied warranty lasts so the above limitation or exclusion may not apply to you However any implied warranty of merchantability or fitness is limited to the three year duration of this written warranty 6 1 1 Warranty Service To obtain service during the warranty period products must be returned transportation prepaid to Measurement Specialties Call 1 330 659 3312 to obtain a return authorization An RMA number will be issued prior to the return XL403D User s Manual 2236 N Cleveland Massillon Road Page 35 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com
31. lays the Power On Self Test results Resets the unit so that it runs the same code that it does at power up This will reset the sensor back to its power up state If there is a startup script defined it will be executed Retrieves formats and transmits the unit s identification information to the serial port The output record is divided into the following comma separated fields 1 Manufacturer 2 Model number 3 Serial number 4 Firmware name 5 Firmware version 6 Firmware compilation date time 7 BootLoader version XL403D User s Manual 2236 N Cleveland Massillon Road Page 11 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 1 Supported IEEE 488 2 Common Commands con t Example IDN Measurement Specialties XL403D 2090A98765 RT 2 0054 May 24 2012 15 29 25 2 16 oil erik Retrieves formats and transmits the results of the units Power On Self Test The value is formatted as a HEX value The results range from 0 to 255 with the following interpretation Bit Description Bit DAC Error 0 SVANA Error 1 PGAIN Error 2 PFILTER Error 3 Configuration Error 4 IIB Error 5 Unused 6 Unused 7 Example TST 0x0001 2 7 2 Calibration Commands CAL DATA Displays the current calibration values for each channel Displays the last date time of calibration CAL DATA Returns the calibration data for each channel defined in the sensor Th
32. meas spec com Displays the number of triggers to be generated ABORT Places the sensor in Idle mode when it is in WaitForTrigger mode This command is only needed when out 1mm is set to orf and the sensor is in WaitForTrigger mode When out Imm is on and the sensor is scanning a lt cr gt character or a lt BREAK gt Condition can be used to make the sensor exit WaitForTrigger mode and return to Idle JIN Places the sensor in WaitForTrigger mode when it is in Idle mode This is required to begin taking readings Example TRIG COUNT 5 INIT 40 463g Ueleg 05136 32 5 C 04463G 0 1466 O 5i13g 32 5 C 0 4835 0 1460 0 513g 32 5 C 0 483g 0 146g 0 513g 32 5 C 0 483g 0 1469 0 513g 32 3 C TRING SOW ET TRIC SOUR AIM anita ie yee gt Configures the sensor to generate scans when certain trigger conditions are met When the ExT parameter is specified the sensor will generate a scan whenever a high to low transition is seen on the AUX ST pin When the tim parameter is specified the sensor will generate a scan when the indicated time interval in seconds has elapsed Example TRIG SOUR TIM 0 01 This configures the sensor to generate a scan 100 times per second DE TOE OUR Displays the current TRIG SOUR settings in the sensor The current mode TIM or ExT is displayed followed by the time interval if necessary If the sensor is in r m mode the number of scans per second is displayed as well
33. of up to 4 channels 3 axes 1 temperature Each channel is fixed as a direct sensor input Displays measurements over the serial interface User configurable scan rates based on time intervals Triggered scans via a TTL level signal on the ST AUX line Multiple sensor synchronization through the ST AUX line Able to analyze the measurements that it takes by using functions Readings are returned in engineering units g s C or raw ADC counts Unit can accommodate RS232 baud rates from 300 to 115 200 through the 35250A PC interface Unit supports RS485 natively through an RS485 to USB interface purchased separately e Internally stored calibration data for each channel including temperature compensation coefficients 1 2 Product Specifications The datasheet specifications listed below are valid within one year of calibration This data is subject to change without notice For the most recent product specification go to http www specsensors com manuals asp for an updated datasheet XL403D User s Manual 2236 N Cleveland Massillon Road Page 4 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 1 2 1 XL403D Datasheet Ta Tmin to Tmax 8 5 lt Vs lt 36 V Acceleration 0 g unless otherwise noted Range Measurement Full Scale 15 g Factory configured n each axis Must specify via Option Rnnn Sensitivity At 25 C Option R005 Precise values on Cal certificate Dritt Tawm 10 Trax Perc
34. put Format Configuration Commands 4 6 Function Configuration The XL403D has built in functions that can be configured to execute as often as desired Each performs a unique function on the scan measurements and the result of each function is maintained internally The value of each function can be displayed at any time using the conF FNC lt name gt PRINT command or one of the three output functions can be configured to display the values on an ongoing basis Figure 4 shows the commands used to display the function configuration to change it and to display their output conf fnc min 1 1 conf fnc max 1 1 trig count 1024 out imm off init conf fnc min print 0 066g 0 016g max print 0 034g fnc min 0 0 fnc max 0 0 fnc tit 1 1 al a2 fnc oul 1 100 tit ig sour tim 0 01 4 deg 4 deg 4 deg 8 deg 0 deg 7 deg 3 deg 3 deg 3 deg 5 deg Figure 4 Function Configuration Commands and Results The complete list of available functions is as follows 1 MIN tracks the minimum reading on each channel since the function was configured 2 MAX tracks the maximum reading on each channel since the function was configured 3 MAG calculates the magnitude of the vector sum of axes A1 A2 and A3 4 PTP tracks the peak to peak value for each channel since the function was configured This is equal to MAX MIN for each channel 5 TLT calculates the 2 axis tilt angle for any 2 axes that are in scan
35. s parameter requirements XL403D User s Manual 2236 N Cleveland Massillon Road Page 13 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 3 Configuration Commands con t MIN updates the minimum value for each channel Max updates the maximum value for each channel PTP Calculates Peak to Peak max min values for each channel The MIN MAX and PTP functions run very efficiently since they operate on the readings in the buffer directly as integer values No floating point calculations need to be performed These functions require only the following parameters lt config_val gt lt scan_interval gt The lt config_val gt is used to define the configuration value for the function The value will be the logical OR of the following bits If a function is ee DISABLED it is never evaluated ea The 0 function disabled 1 enabled lt scan interval gt 1 INIT function after printing values value defines how unused many unprocessed m readings must be in the readings unused buffer before the function is unused evaluated against them This allows i a function to be evaluated every time a reading is taken when set to 1 or to hold off evaluating the function until a larger group is in the buffer when set to gt 1 Therefore a value of 10 would configure the function to be evaluated every tenth scan The min Max and PTP functions will check every reading in the b
36. sy the sensor will be when performing scanning and data analysis This value must be less than 90 0 9 or the 1nrT command will generate an error condition and the sensor will not go into WaitFor Trigger mode Higher scan rates and configuring one or more data analysis functions will increase this value Either lowering scan rates or configuring analysis functions to be evaluated at longer time intervals will lower this value Example TRIG SOUR TIM 0 1 DIAG LOAD 0 007 TRIG SOUR TIM 0 001 DIAG LOAD 0 264 2 f System Commands Displays and clears the sensor s current error status Displays the reason for the sensor s last reset Sol eHow laiWe on wren This command simply echoes the indicated line of text to the RS 485 port This can be used to document current activity in the XL403D when executing a startup script The XL403D s input command buffer is 32 characters in length therefore this command supports a line of text up to 21 characters long Example Sor aCe gt 2 ar a Startup TRIG SOUR TIM 0 01 Sro ERR This command displays any current error conditions that exist in the XL403D These conditions are displayed as four HEX formatted byte values as shown below XL403D User s Manual 2236 N Cleveland Massillon Road Page 25 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 f System Commands con t Example SYST ERR Ox00000000 Reserved 0 R
37. t power up or when the rst command is executed To exit SDM mode enter a lt cr gt on a line by itself Example SYST SCRIPT SDM enabled SYST ECHO STARTUP TRIG SOUR TIM 0 01 TRIG COUNT 128 CONF FNC MIN 1 1 CONF FNC MAX 1 1 CONF FNC OU1 1 8 MIN MAX lt CR gt SDM disabled Sro C RIET Displays the contents of the currently defined startup script in the sensor The number of bytes used is also displayed Example SYST SCRIPT SYST ECHO STARTUP TRIG SOUR TIM 0 01 TRIG COUNT 128 CONF FNC MIN 1 1 CONF FNC MAX 1 1 CONF FNC OU1 1 8 MIN MAX 123 of 256 bytes used So VETTE 2 f System Commands con t XL403D User s Manual 2236 N Cleveland Massillon Road Page 27 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com Displays the approximate number of seconds that the sensor has been powered up This value is reset to zero when power is lost and restored when the sensor is reset or when the rst command is executed Example SYST UPTIME 465 secs Xo PRE DET Displays the status value indicating the reason for the last reset condition The HEX formatted value is interpreted according to the following example Example SYST RESET 0x05 Bit Description Bit Power on reset 0 External reset l Brownout reset 2 Watchdog reset 3 Unused 4 Unused 5 Unused 6 Unused 7 XL403D User s Manual 2236 N Cleveland Massillon Road Page 28 of 35 Measurement Sp
38. ual 2236 N Cleveland Massillon Road Page 7 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com Scan Rates for the XL403D The maximum scan rates increase as the number of scanned channels decreases The absolute maximum scan rate is approximately 1100 scans second when scanning a single channel at 115200 BAUD The sensor may be placed in HEX format mode to increase its measurement throughput This will transmit each channel s data as an unsigned HEX word which requires only 2 bytes per channel The scan record will be of a fixed length and will be terminated with a lt cr gt This means that a HEX scan will have the following format CLr Car Cs CACR Where Cl 2 bytes for channel 1 s value C2 2 bytes for channel 2 s value C3 2 bytes for channel 3 s value C4 2 bytes for channel 4 s value This changes the 4 channel scanning speeds to the following 28800 BAUD 38400 BAUD 57600 BAUD 115200 BAUD Table 3 Maximum 4 Channel HEX Scan Rates for the XL403D Scanning is accomplished by defining a list of channels to scan then initiating the scan The following example shows how a scan is defined and initiated through the command interface Example ROUT SCAN CAT Obtain available channel list ALAA T Channel list displayed ROUT SCAN Al T1 Set A1 and T1 in scan list lt CR gt ACK sent by unit READ Initiate a scan 1 06g 21 3 C Scan data returned By default the unit scans as fast
39. uffer even when they are evaluated at an interval greater than one This allows the functions to catch up every time they are run This capability can be used to minimize the overhead of calling the function every time a scan is generated while still being assured that the min Max and PTP values are representative of every scan that was performed Examples cONF FNC MIN 1 1 Evaluates min every scan CONF FNC MAX 1 10 Evaluates max every 10 scan CONF FNC MIN 3 250 Evaluates min every 250 scan and initializes the function when its value is printed XL403D User s Manual 2236 N Cleveland Massillon Road Page 14 of 35 Measurement Specialties Inc Akron OH 44333 PH 330 659 3312 www meas spec com 2 3 Configuration Commands con t mac Calculates the magnitude of the result vector using A1 A2 and A3 All three axes A1 A2 and A3 must be scanned for this function to work properly This function requires only the lt config_val gt lt scan_interval gt parameters This function will calculate the magnitude against the latest scan in the buffer when evaluated Example CONF FNC MAG 1 1 Calculates the magnitude every scan CONF FNC MAG 1 10 Calculates the magnitude every tenth scan CONF FNC MAG 1 25 Calculates the magnitude every 25 scan TLT Calculates tilt angle between any two axes This function calculates the tilt angle in a plane defined by any two axes The two axes are defined aS lt addt 1_params gt in the command
Download Pdf Manuals
Related Search
Related Contents
User Manual - Projector Central dvdhd870 om - River Park, Inc. Copyright © All rights reserved.
Failed to retrieve file