Home
SF-MATE USER`S MANUAL
Contents
1. The STATUS message box summarizes results of the serial commands Overton Instruments 18 www sf mate info SF MATE USER S MANUAL 4 2 1 3 PC Programming Example SF MATE programming example in C The following program provides a Go No Go test sequence for testing a printed circuit board the DUT The test equipment includes a SF MATE DUT MATE and a 34401A DMM equipped with RS 232 remote interface The DUT accepts a 24Vdc input and in turn gener ates 5Vdc logic and 12Vdc analog voltages Before DUT power is applied the SF MATE is used to verify no shorts exist on the power rails The DUT MATE is used to switch power to the device under test After power is applied the SF MATE is used to route various signals to the DMM for measurement After confirming the DUT input output voltages are within spec the program also checks other key test points define MSWIN serial comm libraries from define MSWINDLL www wcscnet com include lt comm h gt include lt stdlib h gt include stddio h int stat port 0 byte 0 a cnt 0 int idx 0 int dut_ch 0 dut_gain 0 gain_sel 0 int dio bit 10 0 long value 0 limit 0 char dio_byte 10 dir_byte 10 results 64 char send data 64 read data 64 scan all channels for shorts clear all channel relays char scan shorts SF SS char clear relays
2. LENGTH 8 STOPBIT 1 PROT NONNON CdrvSetTimerResolution dmm port 1 1 msec ticks SetTimeout dmm port 2000 2000 ticks 2 sec time out period FlushReceiveBuffer dmm port clear receiver buffer FlushTransmitBuffer dmm port clear transmit buffer Overton Instruments cnt 1 a cnt lt 3 if a cnt 1 a cnt 2 if a cnt 1 port sf port if a cnt 2 port dt port II SF MATE com port DUT MATE com port Get device prompt sprintf send data Sos WV PutString port send data send CR if resp len GetString port sizeof read_data read_data 0 printf time out error exit if stremp read_data printf prompt error exit Get device ID if a cnt 1 sprintf send data s r sf get device id if a cnt 2 sprintf send data s r df get device id PutString port send data if resp len GetString port sizeof read_data read_data 0 printf time out error exit if a cnt 1 sprintf a str os lt SF MATE v0 12 if a cnt 2 sprintf a str os lt DUT MATE01 v0 12 if stremp a str read data printf device ID error exit Master Clear if a cnt 1 sprintf send data s r sf master clear if a cnt 2 sprintf send data s r dt master clear PutString port send data else Get 34401A ID sprintf send data s r IDN
3. PutString dmm port send data if resp len GetString dmm port sizeof read data read data 0 printf time out error exit sprintf a_str os HEWLETT PACKARD 34401A 0 11 5 2 if read_data printf 34401A ID error exit test_fail False for a_cnt 1 a cnt lt 10 switch a cnt case 1 Short Circuit Test sprintf send data s r scan shorts PutString sf port esend data GetString sf port sizeof read data eread data if lt 00000001 gt read data printf Short Circuit failure 955 read data test fail True break case 2 DUT input power Test sprintf send data s s r set breaker limit 2048 PutString dt port send data send DT OS2048 sprintf send data s s r auto sequence 011 PutString dt port send data send DT 5011 GetString dt port sizeof read data read data sprintf a str s s DUT Input Power Test failure read data if stremp 0 read data 0 printf a str read data test fail True break Execute test sequence short detected 19 www sf mate info SF MATE USER S MANUAL 4 2 1 3 PC Programming Example cont case 3 DUT Input Power Test 24Vdc sprintf send_data s s r set_ext_relay 1 PutString sf_port send_data enable ext relay sprintf send data s s r select_relay 11 PutString sf_port s
4. SF CR char select relay SR select specific relay char set ext relay SE A set ext relay On Off char get ext relay SF SE get ext relay status char sf master clear master clear char sf get device id SF ID get device ID char auto sequence DT AS auto DUT power sequence char set dut DT DP set dut power On Off char dt get device id DT ID get device ID char set breaker limit DT SO set over current breaker limit char dt master DT MC master clear main initialize COMM ports sf_port OpenComPort 1 256 64 Open COM 1 SF MATE dt port OpenComPort 2 256 64 Open COM 2 DUT MATE dmm port OpenComPort 3 256 64 Open COM 3 DMM 34401A SetPortCharacteristics sf portBAUD19200 PAR EVEN LENGTH 8 STOPBIT 1 PROT CdrvSetTimerResolution sf port 1 1 msec ticks SetTimeout sf port 2000 2000 ticks 2 sec time out period FlushReceiveBuffer sf port clear receiver buffer FlushTransmitBuffer sf port clear transmit buffer SetPortCharacteristics dt port BAUD19200 PAR EVEN LENGTH 8 STOPBIT 1 PROT NONNON CdrvSetTimerResolution dt_port 1 1 msec ticks SetTimeout dt port 2000 2000 ticks 2 sec time out period FlushReceiveBuffer dt port clear receiver buffer FlushTransmitBuffer dt port clear transmit buffer SetPortCharacteristics dmm port BAUD19200 PAR EVEN
5. Test Controller which stores a special program that is designed to exercise the device under test and generate Go No Go test results The Micro MATE also provides a sizable breadboard area to support the development of custom circuits Adjacent to the breadboard area is a series of wire wrap pins that comprise a goodly amount of general purpose Digital I O The schematic below shows the wire wrap connections which create the interface between the Micro MATE and the SF MATE J5 10 pin header con Actually the SF MATE be easily driven by most microcontrollers including an ARM AVR PIC or even a STAMP When developing a custom interface for the SF MATE it is recommended the designer start by reviewing the interface requirements as outlined in the J5 Table which is provided in the Connections section The next step is to review the SF MATE schematic which is provided in Appendix B What could be the most challenging aspect of the design effort is controlling the SPl bus device The SF MATE uses a relay driver chip from Maxim part number MAX4820 Details for specific performance and SPl bus operation can be found in the device data sheet Go to the manufacturers web site to download said documents MICRO MATE INTERFACE Wire Wrap Pinui TTE lu SF MATE INTERFACE 1 2 Tz 3 mm EE 4 1 5 MA 1 7 MAT MAT 4 1 12 1 12 1 13 1 14 MI
6. Then If Sf 1 Then A_char 1 If Sf 0 Then A char 0 Print lt A char gt Else If A char lt gt 0 And A char lt gt 1 Then Call Print oor If A char 0 Then Reset Sf ext If A char 1 Then Set Sf ext Call Print ok End If Overton Instruments SF MATE USER S MANUAL Case Else Call Print ic End Select Else Call Print ic End If Loop End invalid command invalid command Sub Routines Sub Print ic Print gt lt End Sub print invalid command Sub Print oor Print gt gt End Sub print out of range Sub Print ur Print End Sub print under range Sub Print ok Print lt gt End Sub print command is OK Scan 8 relay channels and check short condition Sub Sf short scan For Sf cnt To 7 Call Sf sel sf 1 of num 7 Sf cnt Sf byte sf num Sf short Next Sf cnt Call Sf rly clr End Sub Select specific relay Sub Sf sel sf num As Byte Sf bit As Bit Sf status 0 of status sf num Sf bit Sf status Not Sf status Reset Sf cs For Sf cnt 7 Downto 0 Dout Sf status sf cnt Set Sclk Delay Reset 5 Delay Next Sf cnt Set Sf cs Waitms Sf settle Sf status Not Sf status End Sub serial data out settling time Identify shorts amp convert to ascii Sub Sf_get_short sf_str As String Sf_str 00000000 For Sf_cnt 7 Downto 0 Sf_bi
7. USER S MANUAL Appendix B Schematic 13945 c 4e 93420 Hagun Lusunasor 4iBW 45 1 HLH HLE LTF 22 www sf mate info Overton Instruments SF MATE USER S MANUAL Appendix C Mechanical Dimensions 4 40 x4 Hex Pan Head Screws Overton Instruments 23 www sf mate info
8. info SF MATE USER S MANUAL 4 2 1 2 Virtual Instrument Panel The Virtual Instrument Panel or Control GUI removes the hassle of manually typing ASCII commands and provides the User a more efficient method to inter act and control the SF MATE Download the panel from our website at www sf mate info click on downloads and select SF Matexxx exe Third Step After initializing the module should send back a unique ID code If no response has occurred within 10 seconds the program will time out and generate a No Response message Second Step Push the Initialize button This will cause the module to initialize itself and attempt to establish a communications link selecta Port Refer o SF MATE CONTROL the Device Manage toiden an available COM port INITIALIZE DEVICE ID Relay Channel SF MATEDI 0 1 The Relay Channel func VR MR tion selects an individual Brus SHORT STATUS Pi ES LED S indicates an 1 2i E es short circuit condition The Ext Sw switch enables Ext Channel 3 4 the external relay m ro m Dit an individual channel relay SINGLE SES 4 The CH Mode switch selects SCAN or SINGLE The Channel switch enables H Mode Tri The Trigger function updates the switch settlings
9. s r select_relay 41 PutString sf_port send_data select relay channel 4 sprintf send data s r MEAS VOLT DC RANG AUTO PutString dmm port send data get reading GetString dt_port sizeof read_data read_data low_limit 12 25 high_limit 11 75 value atoi read data if value lt low_limit value gt high_limit case 7 DUT 32Vac Power Test sprintf send_data s s r select_relay 51 PutString sf_port send_data select relay channel 5 sprintf send data s r MEAS VOLT AC RANG AUTO PutString dmm port send data get reading GetString dt port sizeof read data read data low limit 22 0 high limit 44 0 value atoi read data if value low limit value high limit printf DUT 32Vac Power Test failed d n value test fail True break case 8 DUT RTC Oscillator Test 32 768 kHz sprintf send_data s s r select_relay 61 PutString sf_port send_data select relay channel 6 sprintf send data s r MEAS FREQ PutString dmm port send data get reading GetString dt port sizeof read data read data low limit 32767 high limit 32769 value atoi read data if value low limit value high limit printf DUT RTC Oscillator Test failed d n value test_fail True break case 9 DUT Heater Element Test 13 5 ohms sprintf send_data s s r select_relay 71 PutString sf_port se
10. word as Word Dim A val as Single Dim True As Const 1 Dim False As Const 0 Sclk Alias P1 6 SPI bus serial clock Dout Alias P1 7 SPl bus serial data output Din Alias P1 5 SPI bus serial data input Sf cs Alias P0 0 Sf rst Alias PO 1 Sf set Alias P0 2 Sf ext Alias P0 3 Sf short Alias P0 4 Relay driver chip select Reset relay driver chip Set relay driver chip External relay control Short condition Declare Sub Print_ic Declare Sub Print_orr Declare Sub Print_ur Declare Sub Print_ok print command is OK Declare Sub Sf short scan check for shorts on all channels Declare Sub Sf get shrot sf str As String get ascii short byte Declare Sub Sf_rly_sel sf_num As Byte Sf bit as Bit select specific relay print invalid command print out of range print under range In the Main the Operator or Host is prompted to enter a command The com mand is parsed and then executed if valid Only two command examples are shown Set Sclk Dout Sf cs Sf rst Sf set Sf ext Do Input Enter command S S Ucase s A resp Left s 3 If A resp SF Then A resp Mid s 4 2 Select Case A_resp Set to logic 1 Case SS scan relays amp chk for shorts A char Mid s 6 1 If A_char Then Call Sf_short_scan Call Sf_get_short sf_str Print Sf_str gt Else Call Print ic End If Case SE set get ext relay A char Mid s 6 1 If A char
11. 0 500mA min Operating temperature 0 to 70 C Operating humidity 5 to 95 non condensing 2 0 x 4 0 Overton Instruments 6 www sf mate info SF MATE USER S MANUAL 2 Description 2 1 Overview The SF MATE performs two separate functions 1 a Relay Scanner and 2 Short Finder A simplified block diagram is shown below to highlight key circuits 2 2 Relay Scanner Eight DPDT Form C relays K1 K8 are bussed together on the normally open side and are connected to the Short Sensor circuit K9 The relays K1 9 are all gen eral purpose 5V coil voltage with a nominal switch rating of 30Vdc 1A 125Vac 0 3A Cycle time for a single relay channel is 8msec cycle time combines both set and release time When relay 9 is active the Relay Scanner can be used to route signals to external test equipment 2 3 Short Finder When the Short Sensor measures an impedance of 4 ohms it produces a logic high output A single measurement can take place in 2msec or scan and measure all 8 channels in 80msec includes relay settling time SF MATE EXTERNAL SOURCE RELAY 8 CH Short INTERFACE Relay Array Sensor EMBEDDED INTERFACE CONTROL INTERFACE USB INTERFACE OPTIONAL 5V POWER gt 5V Overton Instruments 7 www st mate info SF MATE USER S MANUAL 2 4 Board Layout Connector J4 pro vide access for ex ternal power 5V Connector J3 p
12. A 15 1 13 1 17 1 18 mm 1 132 1 24 Overton Instruments 12 www sf mate info SF MATE USER S MANUAL 4 1 1 Embedded Configuration diete LOCATOR II Mechanical ge Test Fixture Alpha ONE Q TEST CONTROL UNIT 24Vdc E 5 POWER 5 2 SOURCE 3 Lee 5 of a S 3 5 5 515 E gt LO N 0 84 84 Signal Generator Relay MATE Interface DUT MATE Interface SF MATE Interface BREAD BOARD AREA MICRO MATE EMBEDDED TEST CONTROLLER Overton Instruments 13 www sf mate info SF MATE USER S MANUAL 4 1 2 Embedded Programming To build on the PCB board test example shown in section 4 1 1 we have con structed a demo program using BASCOM BASCOM is a BASIC language com piler that includes a powerful Windows IDE Integrated Development Environ ment and a full suite of QuickBASIC like commands and statements The demo program which is outlined in section 4 1 3 illustrates the ease of control ling the SF MATE via the Micro MATE microcontroller The program starts by initialing the Micro MATE for proper operation You will note that the BASCOM software provides excellent bit manipulation capabilities as evident by the use of the ALIAS statement The Micro MATE P1 port bits are assigned unique label names i e SCLK DOUT which are u
13. EMBEDDED TEST SOLUTIONS SF MATE 8 CH SHORT CIRCUIT Measurement Module UNIVERSAL SERIAL BUS USER S MANUAL Overton Instruments Inc 5431 Auburn Blvd 196 overton INSTRUMENTS Sacramento CA 95841 www microATE net SF MATE USER S MANUAL NOTICE The information contained in this document is subject to change without notice To the extent allowed by local law Overton Instru ments Ol shall not be liable for errors contained herein or for incidental or consequential damages in connection with the fur nishing performance or use of this material No part of this docu ment may be photocopied reproduced or translated to another language without the prior written consent of Ol WARNING The instrument you have purchased and are about to use may NOT be an ISOLATED product This means that it may be sus ceptible to common mode voltages that could cause damage to the instrument SUCH DAMAGE IS NOT COVERED BY THE PRODUCT S WARRANTY Please read the following carefully before deploying the product Contact Ol for all questions WARRANTY Ol warrants that this instrument will be free from defects in materi als and workmanship under normal use and service for a period of 90 days from the date of shipment OI obligations under this war ranty shall not arise until the defective material is shipped freight prepaid to Ol The only responsibility of Ol under this warranty is to repair or replace at it s discretion and on
14. O cir cuits An TTL active low input signal that enables K9 External Relay An TTL active high output signal that indi cates a short circuit condition is present An TTL active low input signal that provides a chip select for the DIO Digital Ground An TTL active low input signal that causes relays K1 K8 to close WWW Sf mate info SF MATE USER S MANUAL 3 5 J6 Signal Consolidated Access to the Relay Scanner is made possible J6 through connector J1 amp J2 J1 amp J2 contains two 8 screw terminal connections pin assign ments are presented in the table to the right Each relay has a corresponding LED which should turn on when a relay is active Pin Relay CHO HI K1 CHO LO K1 CH1 HI K2 CH1 LO K2 CH2 HI K3 CH2 LO CH3 HI K4 CH3 LO K4 CH4 HI K5 CH4 LO K5 CH5 HI K6 CH5 LO K6 CH6 HI K7 CH6 LO K7 K8 CH7 LO K8 EXT HI K9 EXT LO K9 5Vdc GND 10 11 12 13 14 15 16 17 18 19 NO EN NE EM LA _10_ EMI p NN ET EN EE EN Overton Instruments 11 www sf mate info SF MATE USER S MANUAL 4 Operation 4 1 Embedded Control In section 3 1 1 on the next page the SF MATE is shown integrated with other ETS Series components that collectively form a complete Embedded Test Solu tion The diagram shows the SF MATE being driven by the Micro MATE The Micro MATE is a low cost Embedded
15. a free of charge ba sis the defective material This warranty does not extend to prod ucts that have been repaired or altered by persons other than Ol employees or products that have been subjected to misuse ne glect improper installation or accident OVERTON INSTRU MENTS SHALL HAVE NO LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING OUT OF THE SALE INSTALLATION OR USE OF ITS PRODUCTS SERVICE POLICY 1 All products returned to OI for service regardless of warranty status must be on a freight prepaid basis 2 Until otherwise noted Ol will repair or replace any defective product within 10 days of its receipt 3 Forin warranty repairs Ol will return repaired items to buyer freight prepaid Out of warranty repairs will be returned with freight prepaid and added to the service invoice Overton Instruments 2 www sf mate info Table Of Contents 1 0 INTRODUCTION 1 1 Overview 1 2 Highlights 1 3 Solutions 1 4 Specifications 2 0 DESCRIPTION 2 1 Overview 2 2 Relay Scanner 2 3 Short Finder 2 4 Board Layout 3 0 CONNECTIONS 3 1 1 amp J2 Relay Scanner 3 2 J3 External Power 3 3 J4 External Source 3 4 J5 Controller Interface 3 5 J6 Signal Consolidated 4 0 OPERATION 4 1 Embedded Control 4 1 1 Embedded Configuration 4 1 2 Embedded Programming 4 1 3 Embedded Program Example 4 2 PC Control 4 2 1 PC Programming 4 2 1 1 HyperTerminal 4 2 1 2 Virtual Instrument Panel 4 2 1 3 PC Prog
16. de is 3 19200 Cei baud atetode 2 baud rate code is the return code 0 All relays excluding Ext are cleared lt SF_CR Clear channel relays ays energized SF ID Get module ID SF MATE vx x gt E module current identification and version num SF MC Reset amp initialize the module Activate or disable the External Source relay The n represents logic state 1 or 0 On or Off Get current status of the External Source relay The 2 n represents logic state 1 or 0 On or Off Set channel relay First nn represents relay channel 00 to 07 Third n represents logic state 1 or The results are placed in 8 ASCII bytes channel 0 is high order byte and channel 7 is low order byte 2 The b represents the channel status 1 or 0 or Off Set channel relay settling time The nnn repre SF STnnn Set relay settling time SED number oO 8 255 padded are required The timing is stated in milliseconds and the default setting is 10msec Sequentially scan all relay channels and check for shorts The results are placed in 8 Ascii bytes SF_SS Get short status lt bbbbbbbb gt channel 1 is high order byte and channel 8 is low order byte The b represents the short status 1 Short 0 No Short Overton Instruments 21 www sf mate info n n lt gt lt gt lt gt gt lt gt lt gt SF MATE
17. end_data select relay channel 1 sprintf send data s r MEAS VOLT DC RANG AUT O PutString dmm port send data get reading GetString dt port sizeof read data read data low limit 23 0 high limit 25 0 value atoi read data if value low limit value high limit printf DUT Input Power Test failed d n value test fail True Break case 4 DUT 5Vdc Logic Power Test sprintf send_data s s r select_relay 21 PutString sf_port send_data select relay channel 2 sprintf send data s r MEAS VOLT DC RANG AUTO PutString dmm port send data get reading GetString dt port sizeof read data read data low limit 4 75 high limit 5 25 value atoi read data if value low limit value high limit printf DUT 5Vdc Logic Power Test failed d n value test fail True break case 5 DUT 12Vdc Analog Power Test sprintf send_data s s r select_relay 31 PutString sf_port send_data select relay channel sprintf send data s r MEAS VOLT DC RANG AUT O PutString dmm port send data get reading GetString dt port sizeof read data read data low limit 11 75 high limit 12 25 value atoi read data if value low limit value high limit printf DUT 12Vdc Analog Power Test failed value test fail True break case 6 DUT 12Vdc Analog Power Test sprintf send_data s
18. flexible low cost alter Functional Test solutions Verify key test points native to traditional ICT in lt 10msec test equipment Automated Test Systems 8 DPDT relays isolate Functions both as a QA QC Quality Control measurement Short Finder and Voltage 9 OEM Test Instruments LED s indicate active relay channels Can be used in fully auto mated test equipment USB interface or em bedded control Great for embedded solu tions place inside me Low cost chanical test fixtures instrument boxes or rack mount enclosures Compact size Overton Instruments 4 www sf mate info SF MATE USER S MANUAL 1 3 Solutions Interface Micro MATE Embedded Test Controller PC Control Embedded Control lt gt N 4 SF MATE 8 SHORT CIRCUIT MEASUREMENT MODULE Overton Instruments 5 www sf mate info SF MATE USER S MANUAL 1 4 Specifications Relays K1 K9 Relays Relay type DPDT Form C Coil Voltage 5Vdc Nom Switching Capacity 0 3 A 125 V AC Resistive Load 1 A 30 VDC resistive load Max Switching Voltage 110 VDC 125 VAC Max Switching Current A Contact resistance 100mO max Relay lifetime 100 000 000 operations Actuation time 4ms max operate or release Short Detector Circuit Source voltage 200mV Max Source Current 1mA Continuity Threshold 4 ohms Short Flag A high TTL level General Power supply 5VDC 1
19. lied LED 11 should turn on 12 1 42 2 CH4 LO 12 3 5 i Description 1 2 4 CH5 LO 3 3 External Source 42 7 CH7 HI 2 8 CH LO J4 provides a set of screw terminals that allows con nection to external test equipment or to connect multi ple SF MATE modules together Connect the plus lead to J4 1 and the negative lead to J4 2 When relay K9 is active the output of the Relay Scanner is switched to Description in Dir 1 Ext Source gt Ext Instrument 2 Ext Source gt Ext Instrument Overton Instruments 9 www sf mate info 3 4 J5 Controller Interface Control of the SF MATE is made possible through connector J5 a standard 10 pin dual row header A description for the various pins are provided in the table on the right All signals conform to TTL digital logic levels For more infor mation regarding specific require ments for interfacing to the SF MATE please visit the Operating section Overton Instruments SF MATE USER S MANUAL 10 RESET EXT SOURCE Description A regulated 5Vdc input Current should be limited to roughly 100mA Part of a 3 wire SPI Bus SCLK synchronizes the serial data transfer for the DIN and DOUT signals An TTL active low input signal that causes relays K1 K8 to open Part of a 3 wire SPI Bus DIN is serial command and control data for the ADC DAC and DI
20. nd_data select relay channel 7 sprintf send data s r MEAS RES RANG AUTO PutString dmm_port send_data get reading GetString dt port sizeof read data read data low limit 12 5 high limit 14 5 value atoi read data if value low limit value high limit printf DUT Heater Element Test failed d n value test fail True break case 10 DUT 0 Ohm Jumper Test sprintf send_data s s r select_relay 81 PutString sf_port send_data select relay channel 8 sprintf send data s r MEAS CONT PutString dmm_port send_data get reading GetString dt port sizeof read data read data low limit 0 0 high limit 0 0 value atoi read data if value low limit value high limit printf DUT 0 Ohm Jumper Test failed d n value test_fail True break default break printf DUT 12Vdc Analog Power Test failed d n value test_fail True if test_fail True turn OFF DUT power amp exit sprintf send data s s r set dut power 0 PutString dt port send data send DT DPO break exit else sprintf send data s r clear relays PutString sf port esend data clear channel relays printf Test Passed n Overton Instruments 20 www sf mate info SF MATE USER S MANUAL Appendix A Serial Command Set To facilitate remote control for the SF MATE a USB interface is req
21. output Power Distribution PCB Prior to applying power to the device under test the SF MATE is commanded to scan for shorts If no shorts are detected then power can be safely applied to the DUT After DUT power is ON the SF MATE can be commanded to enter external mode which will the allow the voltage out puts from the DUT to be routed to an external instrument for measurement Digital Multi Meter Module Power PC Control External Instrument q92 ie 19 erat VA Poet Hyper Tenna t gt Cd 213 4 5 7 Rig it eir onl disable gt Control to drive multiple GUI SF MATEs and or other OI instruments Device Under Test Overton Instruments 16 www sf mate info SF MATE USER S MANUAL 4 2 2 PC Programming The starting point for developing code to control the SF MATE begins with ac quainting yourself with its Serial Command Set The serial commands are a set or group of ASCII characters that originate from the PC and are designed to instruct the SF MATE to perform specific functions The complete serial com mand set is detailed in Appendix B There are two ways to exercise the serial commands 1 using HyperTerminal or 2 run our Virtual Instrument Panel soft ware GUI Control 4 2 1 1 HyperTerminal HyperTerminal is serial communica tions program that comes with the Win Tran
22. ramming Example APPENDIX A SERIAL COMMAND SET APPENDIX B SCHEMATIC APPENDIX C MECHANICAL DIMENSIONS Overton Instruments 3 SF MATE ONNNN OOAAA 12 13 14 15 16 17 17 18 19 21 22 23 SER S MANUAL WWW Sf mate info SF MATE USER S MANUAL 1 Introduction 1 1 Overview The SF MATE or Short Finder is a unique test instrument that adds ICT capability to Functional Test equipment Rather than spending thousands of dollars to test all nodes on a PCB the SF MATE limits the number of checks to those defined as critical test points For example during a typical assembly process a PCB can receive inadvertent shorts in the power section By verifying certain test points are short free prior to applying power to the PCB the SF MATE can prevent damage to the DUT adjoining test equipment and possible injury to the test Operator The SF MATE has 8 input channels that are connected to a special Ohm meter circuit After a channel is selected a constant current is supplied to the device under test and a voltage is measured that is proportional to the resistance The Ohm meter limits the current source to 1mA and the open circuit voltage is just 200mV which is less than the nominal turn on voltage for most PN junctions When the input exceeds a certain level the SF MATE outputs a digital bit that indicates a short 1 2 Highlights BENEFITS APPLICATIONS FEATURES A
23. ro vides access for a ex ternal volt meter LED to indicate active circuit Convenient GND test point E AX an ee LED s to indicate i each active relay Complete control of the SF MATE is provided through optional USB n zi E module Or for ae CN embedded Cono 27 77 mene nores 10 header J5 is vided It uses SPI bus interface Connector J1 pro vides access to input channels 0 3 Connector J2 pro vides access to input channels 4 7 Connector J6 con solidates the input channels Overton Instruments 8 www sf mate info SF MATE USER S MANUAL 3 Connections 3 1 J1 amp J2 Relay Scanner y J1 amp J2 Access to the Relay Scanner is made possible through Pin Name Relay connector J1 amp J2 J1 amp J2 contains two 8 screw termi nal connections pin assignments are presented in the J1 1 CHO HI ic 2 Each Pen IAS J1 2 CHO LO which should turn on when a relay is active J1 3 CH1 HI 41 4 CH1 LO 3 2 J3 External Power J1 5 CH2 HI J3 provides a set of screw terminals that allows con 14 6 CH2 LO nection to the relay array which accepts power from a fairly well regulated 5Vdc power source minimum J1 7 500 Connect the plus lead to J3 1 and the nega 7 tive or ground lead to J3 2 When power is app
24. sed to support various SF MATE functions In the Main program section the Micro MATE re ceives high level serial commands from a host PC parses them and then exe cutes accordingly When for example the SF SS command is entered the of short scan and Sf get short sf str subroutines are called This causes the SF MATE to scan all relay channels for shorts the program then converts the measurement to an ASCII byte and the results are returned Next the SF SE command is entered the program then returns the current status of the External relay active or not active represented by logic 1 or 07 Independent of the microcontroller hardware or programming language you choose the program sequence described above will likely resemble the way you implement your SF MATE application For this reason we suggest that you go to our website and download the SF MATE zip file In the Documents folder will contain more extensive examples of routines to control the SF MATE Overton Instruments 14 www dut mate info 4 1 3 Embedded Program Example Program SF MATE Demo Initialization large romstart amp H2000 default Xram Dim Sf_bit As Bit Dim A num A byte cnt As Byte Dim Sf byte Sf cnt Sf settle Sf status Sf num as Byte Dim S As String 10 A resp AS String 10 A str AS String 10 Dim Sf str As String 1 Sf str AS String 10 Dim A
25. sfer Help dows OS and is located in the Accesso e amp ries folder Use the USB cable to con ee nect the PC to the SF MATE Run 3 HyperTerminal and configure the settings SF ID SF MATE v0 1 for 19200 bps 8 data bits no parity 1 stop bit and no flow control Select the COM port based on the available COM port as indicated in the Device Manager example shown below Press the Enter key and the gt prompt should appear on the screen as demonstrated gt SF SS in the example on the right Refer to the 00000000 table in Appendix B to begin to experi ment with the serial commands 2 SF MC lt gt Connected 0 00 1 Auto detect S600 8 4 Device Manager E File Action View Help E m PROBESTS OF 2512 2 Computer ee Disk drives E Display adapters DVDICD ROM drives Floppy disk controllers dA Floppy disk drives G8 IDE controllers 22 Keyboards 9 Mice other pointing devices 2 Monitors Network adapters Ports COM amp LPT ue Communications Pork vi Communications Pork COMz 5 ECP Printer Port LPT1 29 Ol Serial Interface COM3 4 Processors e Sound video and game controllers 2 System devices Universal Serial Bus controllers Intel R 8260144 USB Universal Host Controller 2 USB Interface lt 4 USE Root Hub Overton Instruments 17 www sf mate
26. t Sf_byte sf_cnt If Sf bit O Then Sf char 0 If Sf bit 1 Then Sf char 1 of num 8 Sf cnt Mid sf str Sf num 1 Sf char Next Sf cnt End Sub www st mate info SF MATE USER S MANUAL 4 2 PC Control For those who are more comfortable building traditional PC based Automated Test Equipment ATE the SF MATE offers many features that are well suited for that environment as well Controlling the SF MATE from a PC requires that it be equipped with an optional USB MATE module The USB MATE module contains a USB bridge chip and a PIC microcontroller On the PC side the USB bridge chip receives a special set of serial commands On the SF MATE side the PIC controller processes the serial commands and then drives the SF MATE accordingly In order to be rec ognized by the PC the USB MATE module requires a set of Windows drivers be installed To do so go to www SF MATE info click Download select the Ol VCP Interface file and follow the prompts The letters VCP stands for Virtual COM Port and is a method by which the USB interface can appear to the PC as a standard serial COM port With the drivers installed and the USB MATE con nected to the PC go to the Device Manager click on Ports and verify Ol Serial Interface COM is included The diagram below provides a basic illustration of a PC driven configuration As shown the SF MATE relay channels are connected to the outputs of a multiple
27. uired When connected to a host PC the USB connection appears as a Virtual Com which establishes a serial data communica tions link between the two The default protocol is 19200 baud rate no parity 1 stop bit and no flow con trol The SF MATE will respond to a unique set of ASCII serial data commands listed below The first three bytes of the command string starts with the prefix SF_ followed by a code that represents the actual command All commands are upper case sensitive and are terminated with a carriage return If the command is valid the SF MATE will return either a lt gt or a bracketed result i e lt 010 gt If the SF MATE receives a carriage return or line feed alone without a command then a gt is returned this response is a prompt to signal the SF MATE is ready If the SF MATE detects an incorrect command then one of three error symbols will be generated 1 invalid command then a gt lt is returned 2 a command that is out of limits then a gt gt is returned and 3 a command that prematurely times out then is returned In some cases the error symbol will include a bracketed result i e gt 1 lt which de fines a specific error code Function Response Description Select one of 4 different baud rates by changing n code 0 1200 1 2400 2 9600 amp 3 19200 Set baud rate code lt Baud will remain set Default co
Download Pdf Manuals
Related Search
Related Contents
OMRON HCG801 User Manual for the Mother Boards: 886LCD-M/Flex 886LCD 取扱説明書 (312.10 KB/PDF) Manual de instrucciones Frigidaire 316000641 Range User Manual 2-3月実施分 21 avril 2002 : contre enquête sur le choc Le Pen Online Timesheet User Online Timesheet User`s Manual Copyright © All rights reserved.
Failed to retrieve file