Home

GY407D User`s Manual

image

Contents

1. 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 2 7 Command Set Overview The following section describes each command available in the GY407D 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 10 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES o 2 1 Supported IEEE 488 2 Common Commands Displays the sensor s identification information Displays 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
2. Example TRIG COUNT 5 INIT 0 463 7s 0 161 s 0 513 s 32 5 C 0 03076 One 7s 0 1376 B2 0 20 463 6 0 146 s 0 513 s 32 5 C 0 063 s 0 146 7s 0 513 s 32 5 C 0 483 s 0 146 s 0 513 s 323 C TRIC SOUR 11 AE ANG SOWIE ANIME lt lt a 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 Generate a scan 100 times per second TRIG SOUR TIM 15 Generate a scan every 15 seconds TRIG SOUR TIM 0 002 Generate a scan 500 times per second TETO OUR Displays the current TRIG sour settings in the sensor The current mode T1 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 Example TRIG SOUR TIM 0 025 TRIG SOUR TIM 0 0250 40 scans sec tLe CoOunie eC oumt 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 22 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES
3. e s measurement SPECIALTIES 0 00 GY407D Users Manual GY407D User s Manual 2236 N Cleveland Massillon Road 7 18 13 precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES i e e GY407D USER S MANUAL Updated E Date eoe eee 1 1 00 November 2012 Initial Release eee Release Pee 1 01 June 2013 Currently RS485 supports the same BAUD rates as RS232 a E e a 1 02 July 2013 the output bytes and document their meanings a a 2 July 11 2013 match the e in the data sheet 1 O GY407D User s Manual 2236 N Cleveland Massillon Road Page 2 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 1 0 2 0 GY407D User s Manual Precisionsensors meas spec com ee TABLE OF CONTENTS Page DICSCHIOU OU caserne a E E A 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 teen eeeeeeeeeeees 4 1 2 Product Specifications cccc ccc ecec eee eee e eee teens eenneeaes 4 1 2 1 GY407D DataSheet cece cece eee eee ees 5 1 3 Command Syntax Analysis cc cece cece cece eee eeneeee eens 6 Concepts Functions and Commands 000008 6 2 1 Measurement Concepts ccceec cece eeeeeeeeeeeeenaaes 6 Z Neck CAVING aesir e ted 6 PT S
4. p Figure 1 Identification Commands 4 4 Scan Configuration Figure 2 shows the commands that can be used to configure the GY407D 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 Finally the GY407D is configured for time based scanning at 100 scans sec for 25 scans using the GY407D User s Manual 2236 N Cleveland Massillon Road Page 28 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement PECIALTIES e TRIG SOUR TIM and TRIG COUNT commands respectively The 1nrtT command begins the scanning process which stops automatically after 25 scans have been performed ZA Tera Term COM1 VT Bf File Edit Setup Control Window Help rout scan A G1 ors G3 Tl lread 4 iot s 4 101 s 16 403 s 28 5 C rout scan gl g2 4 101 s 4 101 s itrig sour tim 0 01 itrig count 25 PPP EAE aREEEEEEE EE EDS fH ar vi A waia ala waa ae a a a aa a al a aa a aa a aia aa aa aa aa ala aaa ala a J ur S vi i ie By default the number of scans is set to 0 which instructs the GY407D to generate scans forever or until the user presses lt cr gt or issues a lt BREAK gt ON th
5. Error Nybble Error Character I O Error Command Execution Error Command Not Found Record Not Found Value Out Of Range Format Error IIB Not Found 0 1 2 3 4 5 6 7 8 Sro T COMM SER ABAUD Displays the current value of the Baud Rate Control Register in HEX Example SYST COMM SER ABAUD 0x000C SYST COMM SER BAUD lt baud rate gt 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 Sol MODE EFE OME mS On Orr Configures the sensor to display a prompt a gt character after each command is executed when set to ON gt fol MODE TATUS s Ol Orr GY407D User s Manual 2236 N Cleveland Massillon Road Page 25 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES oe 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 eal 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 at power up or
6. ST AUX line BUS triggers are generated through the receipt of a command i e READ GY407D User s Manual 2236 N Cleveland Massillon Road Page 6 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES The GY407D comes configured with all four input channels defined in the following order G1 G2 G3 and T1 A typical default scan record will look like this READ A101778 4 1017 s 1347497 838 245 C Channel T1 reading Channel G3 reading Channel G2 reading Channel G1 reading A scan record with updated readings will be sent each time a scan is generated This can 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 G1 G2 and G3 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 overhead is included the GY407D can scan 4 channels over 2500 times each second 2 1 4 A readings buffer is temporary storage within the GY407D 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 GY
7. are in effect when the sensor is powered up with no startup script defined e The sensor is in Idle mode and does not respond to trigger events INIT e The sensor is in auto trigger mode TRIG AUT e The sensor will perform an infinite number of scans once triggering is initiated TRIG COUNT 0 e The sensor scans with all four channels and will format the readings as comma separated floating point values with channel units displayed RouT SCAN G1 G2 G3 T1 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 27 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIE amp S es e 4 0 How to Use the GY407D 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 35250AKO0 1 PC Interface Adapter provides a power supply that can be used for this purpose 4 2 Sensor PC Connection The GY407D requires an RS 485 PC int
8. information to the serial port The output record is divided into the following comma separated fields 1 Manufacturer a 2 Model number 3 Serial number 4 Firmware name 5 Firmware version 6 Firmware compilation date time T BootLoader version GY407D User s Manual 2236 N Cleveland Massillon Road Page 11 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES oe 2 1 Supported IEEE 488 2 Common Commands con t Example IDN API Technologies GY407D 2100A98765 RT 2 0056 Oct 24 2012 13 46 45 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 These values are used to convert the digital measurement into engineering units using the following formula EU Measurement Offset Gain Example CAL DATA Al gain 1 707 offset 512 A2 gain 1 707 offset 512 A3 gain 1 707 offset 512 T1 gain 4
9. to oUT IMM OFF the asort Command must be entered in order to return to Idle mode Trigger Waneta aitForTrigger Generate Scan Mode 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 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 1mm is on then the sensor will format the scan s readings 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 9 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES a e o 2 4 Channel Data Conversion Concepts The GY407D takes digital measurements at each t
10. 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 26 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 2 f System Commands con t 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 SCEE ET 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 1 Brownout reset 2 Watchdog reset 3 Unused 4 Unused 5 Unused 6 Unused 7 3 0 GY407D Default Settings The following settings
11. 0 offset 512 CALC DATE Returns the most recent calibration date and time of the instrument Example CAL DATE OS Nov lZ2 173d GY407D User s Manual 2236 N Cleveland Massillon Road Page 12 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 2 7 3 Configuration Commands CONE 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 TH1 TH2 OU1 0U2 0U3 Name O O Desorption OO OO OOOO AX AG PTP THI TH Z2 OU1 OU2 OU3 Calculates the Peak To Peak value for each channel i e MAX MIN MIN ed oe PTP Calculates the Peak To Peak value foreach channel i e MAX MIN THI Checks channel measurements against thresholds _ o o o 2 i Lo o Oo CONE ENC lt rimesnamne e oai gaa a eaa a a Tar ae 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 its parameter requirements GY407D User s Manual 2236 N Cleveland Massillon Road Page 13 o
12. 312 www meas spec com
13. 4 s MAG 8 015 s MAG 8 015 s MAG 8 015 s 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 MIN MAX CONF FNC MIN INIT CONF FNC MAX PRINT 4 696g 1 9029 5 273g 32 8 C GY407D User s Manual 2236 N Cleveland Massillon Road Page 17 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 2 7 3 Configuration Commands con t CONES 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 Example CONF FNC MIN 0x0001 0x0001 0x0000 0x03E0 MAX 0x0001 0x0001 0x0000 0x03E0 OU1 0x0001 0x000A 0x0008 0x03E0 OUT EMIR formatai ever 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 FL
14. 407D 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 GY407D 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 GY407D 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 m Timer Ext Table 2 Maximum 4 Channel Floating Point Scan Rates for the GY407D GY407D User s Manual 2236 N Cleveland Massillon Road Page 7 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES e 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 H
15. Configuration Commands 4 6 Function Configuration The GY407D 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 Tera Term COM1 VT fe fey File Edit Setup Control Window Help iconf fnce min 1 1 conf fnc max 1 1 trig count 1024 out imm off ini iconf fnce min print 4 101 s 3 515 s 67 955 s 28 5 C iconf fnc max print 7 030 s 4 087 7 s 33 9 78 s 29 0 C conf fnc min 0 0 conf fnc max 0 0 conf fnc mag 1 1 iconf fnc oul 1 100 mag itrig sour tim 0 01 Figure 4 Function Configuration Commands and Results GY407D User s Manual 2236 N Cleveland Massillon Road Page 30 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement 5 ECIALTIE ee The complete list of available functions is as follows i IE is equal to MAX MIN for each channel el basis Tera Term COM1 VT File Edit Setup Control Window Help ltrig sour tim 0 1 Itrig count 25 lout imm on lconf fnc mag 1 1 iconf f
16. 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 00 T 2 3 Triggering Concepts cccccc ec cce cece eeeeeeeesaeeeeeeaaes 9 2 4 Channel Data Conversion Concepts ccceeeeee eee 10 2 5 Serial O Concepts cccccc cece eee e cece ee eeeeeeeeeeeeees 10 26 AUAIST FUNCIONAINY occdicewasescsetccudadscnunennetesacendovadad es 11 2 f Command Set OVErview cccc cece cece ee eeeeee eee eenenaees 11 2 7 1 Supported IEEE 488 2 Common Commands 11 2 7 2 Calibration Commands cccceceeeeeeee eee e eee 12 2 3 Configuration Commands cccee eee ee eee ees 13 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 ComMmMands cccccc cece eee eeeeeeeeeeaeees 25 Default Settings cece ccc cece cent cence eeae esse eeaeeeaeees 28 How to Use the GY407D 0 n cence ena eeeneeeees 28 Mounting Instructions ccc ccc ce cece eee e eee eeeeeeeeeeeens 33 Product Warranty cc ccc cece cece eee ee sence eeeeeeeaeeeeaees 34 6 1 Three Year Limited Warranty Informa
17. EX 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 Gly Car Cop CACR gt Where Cl 2 bytes for channel 1 s value CZ 2 bytes for channel 2 s value CS 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 GY407D 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 Gly Gey Go a Channel list displayed ROUT SCAN G1 T1 Set A1 and T1 in scan list lt CR gt ACK sent by unit READ Initiate a scan 062 76 21 3 C Scan data returned By default the unit scans as fast 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 Iriggering Concepts The GY407D will allow scans to be triggered from several sources AUTo BUS EXT OF TIM The default source auto generates a trigger whenever the sensor
18. LTIES oo Example ROUT AUX INP TRG ROUT AUX OUT EVT ROUT AUX OUT EVT ROUT SCAN CAT Displays the catalog of available channels for scanning Example ROUT SCAN CAT Glee Tr ROUT Ss GAN elvan sie 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 KOUT SCAN Gi G2 T1 READ 4 835 s 1 463 8 32 3 C ROUT SCAN Displays the current list of channels in scan Example ROUT SCAN elev ruil 2 4 Input Commands Displays the latest digital temperature reading in HEX Sets or clears Selffest mode Initiates a scan and writes the readings into the readings buffer Formats and displays all non displayed readings in the readings buffer EET H TEME Displays the last digital temperature reading The value is displayed in HEX format Example FETCH TEMP OxO027E 2 4 Input Commands con t THE MODET S10 ON Ole Ie GY407D User s Manual 2236 N Cleveland Massillon Road Page 20 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 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 e
19. Pull up Resistor 5 kQ Logic 1 gt 3 5V Logic 0 lt 1 5V 0 causes Temperature Sensor 00 2 C Accuracy 1 C Scan Rate 0 0007 2500 scans sec Default scan list G1 G2 G3 T1 ADC Resolution 10 bits Absolute accuracy E2 LSB Outputs Output Voltage Swing 0 5 4 5 V Iour 5 mA Capacitive Drive Capability 1000 pF Power Supply Vs Input Voltage Limits 80 80 V 80V continuous gt 38V if lt 550ms duty lt 1 Input Voltage Operating 8 5 36 V Continuous Input Current 25 mA Rejection Ratio gt 120 dB DC Temperature Range T4 40 85 a amp Mass 38 Grams Precise values on cal certificate Shock Survival 3000 3000 g Any axis for 0 5 ms powered or unpowered GY407D User s Manual 2236 N Cleveland Massillon Road Page 5 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES e 1 3 Command Syntax Analysis The commands supported in the GY407D were developed based on the Standard Commands for Programmable Instruments SCPI Standard Version 1995 0 The GY407D 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 GY407D will always respond with a lt cr gt when the command has been received The interface to the GY407D is half duplex only and therefore commands and data are never sent and received sim
20. T 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 Fit 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 triggers defined and number of triggers processed Example OUT FMT FLT UNI CNT READ 0001 43252 7S deblo S 5 i35 7 sy 2265 C OUT EMT HEX CNT CRC READ VOUC GLDF 0Z0A 0225 0200 ESEG GY407D User s Manual 2236 N Cleveland Massillon Road Page 18 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES oe 2 3 Configuration Commands con t OOE eee 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 OULTTEMT Hex CNT CRC OUT FEMT HEX CRC CNT Hex CRC and scan count enabled CO AMRO 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 orr readings will be buf
21. a e t 2 5 Trigger Commands con t Example TRIG SOUR TIM 0 005 TRIG COUNT 512 INIT This configures the sensor to generate 512 scans at 5 msec intervals TRTO OUNT 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 Displays the range of every axis DIAG LOAD Displays the current processing load on the sensor DATA PITIS 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 300 0 s 4300 0 s 2300 0 s DIAG LOAD Displays a value that represents the current load on the sensor This is a representation of how busy 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 23 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www
22. can accommodate RS232 baud rates from 300 to 115 200 through the 35250A PC interface 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 precisionsensors meas spec com for an updated datasheet 1 2 1 GY407D Datasheet Ta Twin tO Tmax 8 5 lt V lt 36 V Acceleration 1 g Angular rate 0 unless otherwise noted a min max GY407D User s Manual 2236 N Cleveland Massillon Road Page 4 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIE 5S ys DataSheet Rev 1 02 os Parameter Min Typical Max Units Conditions Notes Range and Sensitivity at 25 C Must specify via Option Rnnn see Ordering Info 1000 sec FSR 5 6 6 3 6 9 mV sec Precise values on cal certificate 300 sec FSR 11 2 12 5 13 8 mV sec Precise values on cal certificate Drift Tun to Tmax 0 1 FSR Percent of sensitivity at 25 C Stationary Bias Level At 25 C 400 mV Precise values on cal certificate Drift Tun to Tmax 3 25 3 00 sec g Sensitivity Affects offset Nonlinearity Best fit straight line Frequency Response Upper cutoff per Option Bnnn 3dB pt 10 Noise Density 0 018 sec VHz 10 Hz to 400 Hz Self Test
23. e Formats and displays all scans in the readings buffer The data is formatted according to the current configuration defined by the out rmr command and according to the current number of channels in each scan as defined by the rouT scan command Example ROUT SCAN Cle co T1 INIT R 0 151 8 04020 5 1 000 7S 30 2 C 0 003 7s 0 035 s 1 015 s6 30 0 C 0 151 s 0 020 s 0 085 s 29 8 C 0 151 s 0 000 s 1 000 s 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 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 21 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES oe 2 5 Trigger Commands con t JON TE Ar Places the sensor in WaitForTrigger mode when it is in Idle mode This is required to begin taking readings
24. e conr FrNnc 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 sequence resembles this Example CONF FNC TH1 1 1 gt Gls o7 760 gt Glt 5 265 gt Gs gt Tli TRIG SOUR TIM 0 25 INIT Sebo Te Uoo U 7s 2620 7s oLa E 3 4010 7 Sy 30 300 S 5 7 4 10 7 ey oles 24960 S S Uuse0 7 S 1 4 170 Jey ols C A 2 fey Ve6s0 sya s470 7 ey C1 5 C A550 ey O50 e 1 320 fe Slad CC A 690 76 0 730 Sp 7a 1207 5 2156 C TH1 Gl Over Limit bul SO sy Un 130 S 64000 7 Sy 316 Cc deo Ua 07 Sy H6 0300 sy B128 C A B 30 78 Us 730 7S 71 030 7 8 3o C AIO By Del 30 Sp 14 320 fe 2125 C Sa360 7 ey U 000 7 6 1 4 U s olyn S000 se Delo S 1 5020 7 oy ol Cc 3000 7S Decel fs H 17 160 fs Si C 2 A900 765 Uses 7 6 7 9010 7s 315 C TH1 Gl In Limit GY407D User s Manual 2236 N Cleveland Massillon Road Page 15 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 2 7 3 Configuration Commands con t As this example shows a message is sent to the seria
25. e serial line Figure 2 scan Configuration Commands 4 5 Format Configuration The results of each scan that the GY407D generates is formatted for output according to the settings of the ouT Fmt command The out FMt 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 29 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIE S etp e a Tera Term COM1 VT Seles File Edit Setup Control Window Help jout fmt FLT Unts jread 4 101 s 4 101 s 16 403 s 2825 C out fmt hex read 10207 0207 0164 0272 out fmt flt units cnt read lOO1c 4 101 s 4 101 s 16 403 s 28 3 C read 001D 4 101 s 4 101 s 16 403 s 28 5 C out fmt hex cnt crc read IOO1E 0207 0207 01E4 0273 COFB read 001F 0207 0207 01E4 027 2 4589 read M EEEE Figure 3 Output Format
26. eater 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 14 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES oe 2 3 Configuration Commands con t mac Calculates the magnitude of the result vector using G1 G2 and G3 All three axes G1 G2 and G3 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 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 th
27. erface 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 GY407D 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 GY407D 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 GY407D to your computer Finally plug the power supply into the 35205A s power port When the GY407D has been connected to the 35250A PC Interface and that to the PC and power has been supplied to the GY40 7D it is ready for use 4 3 Sensor Identification The GY407D 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 Bf File Edit Setup Control Window Help dn A API Technologies GY407D 2100A00002 RT 2 0056 0ct 24 2012 13 46 45 2 16 Syst uptime 3256 secs syst err 0x00000000 TESE 0x0000 syst reset 0x05
28. f 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 2 7 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 buffer even when they are evaluated at an interval gr
29. fered but not displayed Readings in the buffer can always be displayed using the R command ROUT AUX lt mode gt ilags 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 GY407D 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 m mopeE ExT and is in WaitForTrigger mode logic transitions cause the sensor to generate a scan OUT TRG Causes the AUX pin to transition from high to low when a trigger is generated 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 2 7 3 Configuration Commands con t Displays the current AUX pin configuration both mode and flags GY407D User s Manual 2236 N Cleveland Massillon Road Page 19 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIA
30. l 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 TLT 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 function 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 Example CONF FNC TH2 1 1 Configure function value thresholds gt MAG 10 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 8 025 s MAG 8 025 s MAG 8 025 s MAG 6 025 7s TH2 MAG Over Limit MAG 23 326 s TH2 MAG In Limit MAG 7 146 s MAG 8 155 s MAG 6 155 s 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 t
31. meas spec com measurement SPECIALTIES oe 2 6 Status Commands con t Example TRIG SOUR TIM 0 1 DIAG LOAD G 0077 TRIG SOUR TIM 0 001 DIAG LOAD 0 264 2 f System Commands Displays and clears the sensor s current error status SYST SCRIPT Defines the sensor s startup script SYST SCRIPT Displays the sensor s startup script SYST UPTIME Display the sensor s approximate uptime in seconds SYST RESET Displays the reason for the sensor s last reset Sol teHOe aires om wire lt r This command simply echoes the indicated line of text to the RS 485 port This can be used to document current activity in the GY40 7D when executing a startup script The GY407D s input command buffer is 32 characters in length therefore this command supports a line of text up to 21 characters long Example Svor ECHO Startup Startup TRIG SOUR TIM 0 01 SCS Ih ERE This command displays any current error conditions that exist in the GY407D These conditions are displayed as four HEX formatted byte values as shown below GY407D User s Manual 2236 N Cleveland Massillon Road Page 24 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES 2 f System Commands con t Example SYST ERR 0x00000000 Reserved 0 Reserved 1 End Of Buffer 2 Reserved 3 Reserved 4 Field Not Found 5 Reserved 6 Reserved 7 See the TST command Time Out
32. nc max 1 1 lconf fne oul 1 5 101 2 z z r n T H H H oO oO a T o oe ee bi bi i T T 7 gt n na _ es ki p gt MAG 17 40g 4 191775 4 101 Complete documentation for each command can be found in section 2 7 GY407D User s Manual max mag s 16 s 16 s 16 s 16 101725 s 16 s 16 s 16 s 16 s 16 lt 1G1 7s s 16 s 16 s 16 s 16 s 16 lt 1G1 fs s 16 Precisionsensors meas spec com 403 403 403 403 16 403 403 403 403 403 16 403 403 403 403 403 16 403 403 403 403 403 16 403 403 403 403 403 16 s 16 403 TH1 tracks channels readings against individual channel threshold values TH2 tracks MAG or TLT values against a threshold OU1 OU2 OU3 output functions that print the values of functions on a configurable periodic oo A A Figure 5 Function Output with Scan Measurements 2236 N Cleveland Massillon Road Akron OH 44333 PH 330 659 3312 MIN tracks the minimum reading on each channel since the function was configured MAX tracks the maximum reading on each channel since the function was configured MAG calculates the magnitude of the vector sum of axes G1 G2 and G3 PTP tracks the peak to peak value for each channel since the function was config
33. needs one This makes scanning happen as fast as possible GY407D User s Manual 2236 N Cleveland Massillon Road Page 8 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES a e o 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 t1m 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 WaitForTrigger 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
34. o 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 16 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3312 www meas spec com measurement SPECIALTIES o 2 3 Configuration Commands con t 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 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 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 8 015 7 s MAG 8 015 s MAG 8 276 s MAG 8 276 s MAG 7 235 s MAG 6 829 s MAG 6 94
35. rigger 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 GY407D has an on board RS485 adapter providing a fast and robust computer interface Pins 5 and 6 on the DB9 connector are the RS485 and RS485 pins respectively which allow communications to and from the sensor When powered on the interface 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
36. riod 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 Improper 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 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 GY407D User s Manual 2236 N Cleveland Massillon Road Page 33 of 33 Precisionsensors meas spec com Akron OH 44333 PH 330 659 3
37. tion 0008 34 6 1 1 Warranty Return ccc ccc cece ee ee enna seen eee eeeeaaes 34 2236 N Cleveland Massillon Road Akron OH 44333 PH 330 659 3312 Page 3 of 33 www meas spec com measurement SPECIALTIES 1 0 Description 1 1 Product Overview The GY407D is a rugged digital gyro that is extremely versatile intelligent and works independently For ease of use the GY407D is configured and programmed through an ASCll based command set that resembles the Standard Commands for Programmable Instruments SCPI protocol The GY407D 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 e Offset temperature compensation from 40 C to 85 C e ASCll based SCPI like command set e Fixed low pass single pole filter e Firmware upgradability after unit manufacture e Continuous scanning of up to 4 channels 3 axes 1 temperature e Each channel is fixed as a direct sensor input e Displays measurements over the serial interface e User configurable scan rates based on time intervals e Triggered scans via a TTL level signal on the ST AUX line e Multiple sensor synchronization through the ST AUX line e Able to analyze the measurements that it takes by using functions e Readings are returned in engineering units sec C or raw ADC counts e Unit
38. ultaneously 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 GY407D has four pre defined channels G1 G2 G3 and T1 The G channels represent the three axes of gyroscopic rotate that are sourced from the built in gyro 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 2 1 3 A trigger is an event that initiates a scan Once the GY40 7D 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 GY407D 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 GY407D s
39. ured This DER A Page 31 of 33 www meas spec com SPECIALTIES measurement 5 0 Mounting Instructions Use two 3 0 mm x 0 5 mm thread machine screws to attach to one of the three GY407D 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 GY407D 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 2 LEE L on Accelerometer Accelerometer 2 Accelerometer 3 Signal Reserved Reserved self Test V Ground Cable Wire Brown gt Red twisted pair rl Yellow f twist ed palr Green Blue f twisted pair Violet Grey White twisted pair connected to braided shield at D shell pin GY407D User s Manual Precisionsensors meas spec com 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 32 of 33 www meas spec com measurement SPECIALTIES 6 0 Product Warranty 6 1 Three Year Limited Warranty Information Measurement Specialties warrants this product against defects in materials and workmanship for a pe

Download Pdf Manuals

image

Related Search

Related Contents

Philips EcoAmbiance Lustre energy saving bulb 871016321519800  Epson MG-850HD  GDB4500 仕様書 - Motorola Solutions  Philips F5147/NV/  Page 1 sur 2 FSN 20894-3 28 juillet 2014 MISE À  User Manual for the Light-Columns from Dieter Geike  The Satin Divide-and-Conquer System Programmer`s Manual  1929 - Ultimheat  Manual de Instalación y Operación Gabinete Multi  

Copyright © All rights reserved.
Failed to retrieve file