Home
RCS - Digalog Systems, Inc.
Contents
1. Sense White Red 20AWG 3 Sense White Black 20AWG 4 Out Black 14AWG 0000 5222 30 A Relay Dis Connect Board TB1 Pin Function Cable Wire 1 Outl Red 14AWG either 2 Out2 Red 14AWG either 3 Sense Black White 20AWG 4 Sense Black 2OAWG 5 Outl Black 14AWG either 6 Out2 Black 14AWG either 0000 5322 15 A Relay Dis Connect Board TB1 Pin Function Cable Wire 1 Outl Red 14AWG 2 Sense Black White 20AWG 3 N C None 4 N C None 5 Sense Black 20AWG 6 Outl Black 14AWG Series 2040 Test System 29 RCS User Manual Connector TB2 routes the GPIB HPIB outputs to the Patchboard Receiver as follows 0000 5222 amp 0000 5232 TB2 Pin Function Cable Wire 1 Outl White 14AWG either 2 Out2 White 14AWG either 3 Sense White Red 20AWG 4 Sense White Black 20AWG 5 Outl Black 14AWG either 6 Out2 Black 14AWG either 0000 5322 TB2 Pin Function Cable Wire 1 Outl White 14AWG 2 Out2 White Red 20AWG 3 N C None 4 N C None 5 Out1 WhiteBlack 2OAWG 6 Out2 Black 14AWG Specifications Communication protocols IEEE 488 ee SH1 AH1 TA TEO L2 LEO SRO RLO PPO DC1 DTO CO RS isnie 9600 Baud 8 bits no parity 1 stop bit x on x off handshake 30 Series 2040 Test System RCS User Manual Appendix A Assembly View of RCS Controller Board 0000 5244 Series 2040 Test System 31 RCS User Manual Assembly View of 0000 5222 30 Amp 0000 5322 15 Amp RCS Rel
2. 0000 5232 25 30 Amp RCS Relay Dis Connect Board PN 0000 5222 26 15 Amp RCS Relay Dis Connect Board PN 0000 5322 26 Controller Board Connector PInOUls otra pedet 26 Relay Dis Connect Connector Pinouts sseeeeee 28 SpBEGITICOFIOTIS aciei bn tutu nuna ole a A u sasa 30 APpE NdIX MEM EE 31 RES Controller Board 30000 52945 i anteire 31 10 Amp RCS Relay Dis Connect Board 0000 5232 31 0000 5222 30 Amp 0000 5322 15 Amp RCS Relay Dis Connect Boards eser meters 32 2 Series 2040 Test System RCS User Manual RELAY CONTROL SYSTEM Version 1 7 Series 2040 Test System 3 RCS User Manual peog uonnqugsiq Ajddng 12Mm0d ol paeog aejjonuoD Ajddng amod 91 9192 1iqiuulAInei SOU jndino 0 S d SOM xog uonnnqugsiq 19M0d DG DV 0 peog L peog 0 oldED 4SA0d SOU paeog j euuoosig peuuoosi 1ndinO L S d SOU lt s 49 0 3u0 key kepy Z ased aas ol fe CCCS 0000 Nd 2uuo siq Aejay v 0 10 EBHESEBERRB E N E E B N E B E Oo O FYZS 0000 15101402 SOY ed s ZEZS 0000 Nd HO umoys OD peouuo siq LY V OL ole yqiyuy yney Hqiyuy yney ZEZ SU Handing 0 S d L S d 0 S d lqeO 8ld5 MET c Cd EER E 19MOd dH EN 3 Ec e N 0 ddns J19M0 ge T Sdn gIdD Series 2040 Test Sy
3. IEEE 488 protocol does not use a checksum For Series 2040 Test System RCS User Manual example the message o1 will open the output relays for GPIB P S 1 ACK and NACK The RCS controllerdoes not respond with an ACK or a NACK when using the IEEE 488 protocol Return Message The RCS controller returns a message when asked for the status of the P S output relays the ID of the microcontroller or the version of the firmware When the status command is sent to the controller only the status itself will be returned The completion code A or N the checksum and the message terminator are not sent A typical status reply message would be 01 The 01 means that all relays are open except for those of P S 0 Sample Visual BASIC Program Private Sub Form Load This sample program engages P S 0 s isolation relays and then disengages P S 0 s isolation relays after first disengaging all of the isolation relays under the control of the RCS controller Note To execute this program the file GPIB BAS located in C Digalog Include must be added to the project The GPIB settings in the initiation file GPIB INI are IDEVA Connect GPIBO Pad 4 Sad None Tmo 10sec Eos Oxd Eot Yes 4 Const ERRBIT amp H8000 Const CGPIB 0 0 Series 2040 Test System 11 RCS User Manual Const cPAD 4 Const cSAD 0 Const cTMO 13 Const cEOT 1 Const cEOS 1
4. is calculated by adding the ASCII value of each character in the command message except for the start of command character gt The sum is then divided by 256 and the integer remainder is the checksum The checksum is always sent as two hexadecimal characters An example message with the checksum calculation is shown below Valid command terminators are and carriage return Two ASCII question mark characters can be used as a wildcard checksum for debugging purposes but should not be used in the final application The command to open the OUT and OUT relays for the GPIB P S output 2 on an RCS controller set up to be addressed at 80 is gt 800209 The checksum is calculated as follows ASCII characters 8 0 o 2 Decimal equivalent 56 48 111 50 265 8 Series 2040 Test System Bit P S 0 Engaged P S 1 Engaged P S 2 Engaged P S 3 Engaged P S 4 Engaged P S 5 Engaged RCS User Manual 265 256 1 with a remainder of 9 The checksum characters are 09 ACK and NACK When the host computer sends a command to the RCS controller via RS 232 the controller sends back a message stating whether or not the command was executed successfully If the command was executed successfully the RCS controller will return an A followed by a carriage return If the command was not executed successfully it will return an N followed by a two digit error code and a carriage return e g NO5cr Ta
5. 3 Const CMD1 id Const CMD2 vn Const CMD3 al Const CMDA cO Const CMD5 o0 Const CMD6 ss Const CMDLEN 3 Const ID RCS RDA Const IDLEN 3 Const VERSNLEN 2 Const STATUSLEN 2 Const STATUS ALL 0 Const STATUS 0 1 Const TIME PAUSE 2 Two 2 milliseconds Dim BoardID As Integer DevID As Integer Dim ibcntl As Long iberr As Integer ibsta As Integer Dim iErr As Integer iStatus As Integer Dim iReplyLen As Integer Dim IStartTime As Long Dim RdBack 1 To 100 As Integer Dim strMsg As String strReply As String Dim LwrByte As Integer UpprByte As Integer Open and initialize the GPIB controller board in the 2040 tester computer BoardID DLLibfind GPIBO ibsta iberr ibcntl Check for GPIB command error If ibsta And ERRBIT ERRBIT Then strMsg GPIB IBFind Command Error amp iberr MsgBox strMsg End End If 12 Series 2040 Test System RCS User Manual Open and initialize the RCS controller DevID DLLibdev cGPIB 0 cPAD cSAD cTMO cEOT cEOS ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process command While Timer lt IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If ibsta And ERRBIT ERRBIT Then strMsg GPIB IBDev Command Error amp iberr MsgBox strMsg End End If Verify that the selected device is the R
6. CS controller Send IDentification command iErr DLLibwrt DevID CMD1 CMDLEN ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process command While Timer lt IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for ID Command Error amp iberr MsgBox strMsg End End If Fetch IDentification reply iReplyLen IDLEN iErr DLLibrd DevID RdBack 1 100 amp ibsta iberr ibcntl Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBRd for ID Command Error amp iberr Series 2040 Test System 13 RCS User Manual MsgBox strMsg End End If Verify proper length of the expected reply If ibcntl lt gt iReplyLen Then strMsg Error GPIB IBRd for ID command fetched strMsg strMsg amp ibcntl amp bytes MsgBox strMsg End End If Convert ANSI character codes in reply into a string UpprByte RdBack 1 256 LwrByte Abs RdBack 1 UpprByte 256 strReply Chr LwrByte amp Chr UpprByte amp Chr RdBack 2 Verify expected ID reply If strReply lt gt ID RCS Then strMsg Error Selected GPIB device is not strMsg strMsg amp the RCS controller MsgBox strMsg End End If Display the RCS controller s firmware version number Send version command iErr DLLibwrt DevID CMD2 CMDLEN ibsta iberr ibcntl ISt
7. Convert ANSI character codes in reply into a string UpprByte RdBack 1 256 LwrByte Abs RdBack 1 UpprByte 256 strReply Chr LwrByte amp Chr UpprByte Verify proper type of reply If IsNumeric strReply Then iStatus CInt strReply Else strMsg Error Reply of Relay Status for strMsg strMsg amp All Open Relays is non numeric MsgBox strMsg End End If Verify expected relay status all are disengaged If iStatus lt gt STATUS ALL Then strMsg Error Command to Open All Relays did not work MsgBox strMsg End End If Close the isolation relays for P S 0 iErr DLLibwrt DevID CMD4 CMDLEN ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process command While Timer lt IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Series 2040 Test System 17 RCS User Manual Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for Closing P S 0 s Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If Verify that P S 0 s isolation relays are engaged Send relay status command iErr DLLibwrt DevID CMD6 CMDLEN ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process command While Timer IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GP
8. IB IBWrt for Status of P S 0 s Closed Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If Fetch relay status reply iReplyLen STATUSLEN iErr DLLibrd DevID RdBack 1 100 amp ibsta iberr ibcntl Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBRd for Status of P S 0 s Closed Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If Verify proper length of the expected reply If ibcntl lt gt iReplyLen Then strMsg Error GPIB IBRd for Status of P S 0 Closed Relays 18 Series 2040 Test System RCS User Manual strMsg strMsg amp fetched amp ibcntl amp bytes MsgBox strMsg End End If Convert ANSI character codes in reply into a string UpprByte RdBack 1 256 LwrByte Abs RdBack 1 UpprByte 256 strReply Chr LwrByte amp Chr UpprByte Verify proper type of reply If IsNumeric strReply Then iStatus CInt strReply Else strMsg Reply of Relay Status for P S 0 s strMsg strMsg amp Closed Relays is non numeric MsgBox strMsg End End If Verify proper relay status If iStatus lt gt STATUS 0 Then strMsg Error Command to Close P S 0 s Relays did not work MsgBox strMsg End End If Open the isolation relays for P S 0 iErr DLLibwrt DevID CMD5 CMDLEN ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process comman
9. OFF OFF ON ON ON IEEE 488 Address 4 ON ON OFF ON ON IEEE 488 Address 31 OFF OFF OFF OFF OFF Selftest Mode The Selftest mode of the RCS controller board is invoked using the following steps Shutdown the computer operating system Turn off the Testhead Accessories and Computer power switches Depress the red Emergency Stop button Set switch 1 on the controller board s switch bank to Off and all of the other switches to On Release the red Emergency Stop button by rotating it clockwise First the microcontroller tests its firmware by calculating a checksum of its PROM contents and comparing it to the expected value If they do not match the test has failed The microcontroller will then continuously pulse its amber status LEDs and will not execute any more tests Otherwise the microcontroller will then continuously monitor the settings of switches 2 8 on the switch bank For each switch between 2 and 7 that is On the microcontroller will turn off the amber LED on the corresponding relay dis connect board For each switch that is Off the corresponding amber LED will be turned on The table lists the association between the switch number and the corresponding relay dis connect board During the time that the LEDs are turned on and off the relays are also exercised since the same control line is used for both the LED and its corresponding relays However the PTest routine must be used to f
10. RCS User Manual Series 2040 Test Systems Relay Control System Part Number 4200 0175 Version 1 7 Series 2040 Test System 1 RCS User Manual Table of Contents RELAY CONTROL SYSTEM ii et Ne sede dee t e ert ge h ee De ese eds 3 RES DIS BE EG ER DE Ee ee De EE A A EE DR er 4 System COVEN CW qu 5 SSEM Operati pga ae atthe satis iO cM MEE RE DE ee 5 Power UJp Condition se enian Se ea eg ee er es 5 LED Stat S u a EE MO AR senile 5 2040 Interface ao AE OE TE OE asinus 6 er pir PEE MP EL 6 RS 232 COMMUNICATION sooo RS Ee N rav d ias ut N ee cates 7 Es RA N EET DE qusqan EE detet 7 Bauc rate oor orsa GR ok os e Eee 7 Addresses SE NEC 8 Command Message pied UO Turk Rd iqtA 8 ACK and NACK a ua pitas De osuere Teen ee dus 9 IEEE 488 Communication iese gs aoa Pe riu osos aseo Riad 10 RES Configuratii usciti oe epo NAAR An eddy 10 Command Message cuoio dee dti t eg ala 10 AEK Ahd NACK a It ed edle Lad ete a foc ERGE sas 11 Return Message auis fno In deo op aan el ota e Rd 11 Sample Visual BASIC Program asss 11 MaintenanEe Mm 22 SWitch SENES es ERG N Re ib ec ee RU SR E 22 Mode Setti NaS iso stade uhu EE ee ee ge aside ined l pe ii Uto 22 RS 23 SEIN ES GE RE iyd MU AW Rb RAN a oT MAN ARR 22 IEEE 488 SOLUS es oes ee tais dest ua map ee dv std ded 23 euch P RS 23 Controller Board Jumper Settings RE Tags 24 10 Amp RCS Relay Dis Connect Board PN
11. ains how they interface with the Relay Control system The TClear functional call automatically opens all of the relays and thus disconnects all power supplies The PowerReset call opens one or all of the Relay Dis Connect boards The PowerUUT or any related Power functional call closes the relays for the power supply being programmed NOTE To extend the contact life of the relays use the PowerUUT functional call to program the supply s to zero volts and zero amps before using TClear or PowerReset to disengage the relays Commands The 2040D tester contains all of the commands needed to control the RCS controller within its functional call software Each power supply related functional call automatically detects the presence of a GPIB power supply and issues the appropriate commands to engage or disengage the proper isolation relays The user does not need to add any of the RCS commands to the test program The material is presented only as background information in order to provide a more complete explanation of how the RCS controller and relay dis connect boards function The RCS controller accepts commands from either the IEEE 488 or RS 232 bus in ASCII form There are six commands that can be issued to the RCS The first three commands operate the relays The fourth and fifth commands ask for the ID of the controller board and the version of the firmware respectively 6 Series 2040 Test System RCS User Manual The last command reque
12. artTime Timer Pause for RCS controller to process command While Timer lt IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for Version Command Error amp iberr MsgBox strMsg End End If 14 Series 2040 Test System RCS User Manual Fetch version reply iReplyLen 2 VERSNLEN iErr DLLibrd DevID RdBack 1 100 amp ibsta iberr ibcntl Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBRd for Version Command Error amp iberr MsgBox strMsg End End If Verify proper length of the expected reply If ibcntl lt gt iReplyLen Then strMsg Error GPIB IBRd for Version command fetched strMsg strMsg amp ibcntl amp bytes MsgBox strMsg End End If Verify proper type of reply UpprByte RdBack 1 256 LwrByte Abs RdBack 1 UpprByte 256 strReply Chr LwrByte amp amp Chr UpprByte If IsNumeric Chr LwrByte And IsNumeric Chr UpprByte Then Convert ANSI character codes in reply into a string strMsg RCS controller s Firmware Version strMsg strMsg amp strReply MsgBox strMsg Else strMsg Error Version Command did not strMsg strMsg amp return a numeric response MsgBox strMsg End End If Open all of the isolation relays iErr DLLibwrt DevID CMD3 CMDLEN ibsta iberr ibcntl IS
13. ay Dis Connect Boards Power Supply To Patchboard Output Cable Receiver From Previous To next Relay Relay Dis Connect Dis Connect board board or Controller if available O O Board os O O ue 7 Pal B Eg BP 1 Tje amp e Power Supply Fault Inhibit cable 32 Series 2040 Test System
14. ble 1 contains a list of the errors that can be returned from the RCS controller Table 1 RCS Error codes Value Description 01 Unknown Error 02 Buffer Overrun 03 Bad Checksum 04 Bad Terminator 05 Bad Command Sequence If the status command was sent to the controller it will return an A followed by the status a two digit checksum based on the status value only and a carriage return The status value consists of an 8 bit binary number in hexadecimal format The two leftmost bits are unused and left as zero The next bit reflects the status of the output relays for P S 5 0 for open and 1 for closed The remaining bits represent P S s 4 0 in descending order This is outlined in the table below 7 6 5 4 3 2 1 0 O O oO 0 0 O O OOOOO AOOOOO O AOOOO OOMOOO OO OO O OOO 0 O OO DO Series 2040 Test System 9 RCS User Manual A typical message would be A2163cr The A means that the status command was executed correctly and the 21 means that only GPIB P S s 0 amp 5 have been programmed and connected to the patchboard The 63 is the checksum of 21 in hexadecimal format Finally the carriage return cr is the message terminator IEEE 488 Communication The IEEE 488 communication is conveyed through connector P2 on the RCS controller board shown in Appendix A This is a standard 24 pin IEEE 488 connector 10 RCS Configuration The TMS9914A General Purpose Interface Bus GPIB Controlle
15. d While Timer lt IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for Opening P S 0 s Relays Error Series 2040 Test System 19 RCS User Manual strMsg strMsg amp iberr MsgBox strMsg End End If Verify that all of the isolation relays are open Send relay status command iErr DLLibwrt DevID CMD6 CMDLEN ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process command While Timer IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for Status of P S 0 s Open Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If Fetch relay status reply iReplyLen STATUSLEN iErr DLLibrd DevID RdBack 1 100 amp ibsta iberr ibcntl Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBRd for Status of P S 0 s Open Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If Verify proper length of the expected reply If ibcntl lt gt iReplyLen Then strMsg Error GPIB IBRd for Status of P S 0 s strMsg strMsg amp Open Relays fetched amp ibcntl amp bytes MsgBox strMsg 20 Series 2040 Test System RCS User Manual End End If Convert ANSI character code
16. e configured to run at one of four baud rates The baud rates are selected by switches 4 5 on the switch bank The available baud rates are 9600 4800 2400 and 1200 To set the baud rate please refer to the RS 232 Settings table in the Maintenance section Series 2040 Test System 7 RCS User Manual Addresses The RCS controller can be set up with one of eight possible addresses and will respond to commands designated only to its address The address is set using switches 6 8 and ranges from 80 to 87 Switch settings for the different addresses are shown in the RS 232 Settings table in the Maintenance section This address must be specified in the command message which will be discussed in the next paragraph Command Message The RS 232 command messages use OPTO 22 compatible syntax for serial communication The command message consists of three parts The first part contains the start of command character gt followed by two ASCII hex digits representing the address of the RCS controller For an address setting of 80 a command message would start with gt 80 The second part of the message contains the command The valid commands are all open close version and status Also the commands can be abbreviated and can use either lower or upper case letters The third and final part of the message contains a one byte checksum followed by a command terminator character The checksum
17. n TB1 is a 4 pin connector on the 10 Amp Relay Dis Connect board but a 6 pin connector on the 30 Amp Relay Dis Connect board to be cabled to the GPIB or HPIB supply 15 Amp RCS Relay Dis Connect Board PN 0000 5322 The 0000 5322 15 Amp Relay Dis Connect board is a higher voltage adaptation of the 30 Amp RCS Board Its connector pin assignments and jumper settings are identical to the 30 Amp board except for TB1 and TB2 Controller Board Connector Pinouts The RCS controller board has connectors for RS 232 P1 and IEEE 488 P2 The 9 pin male DB 9 RS 232 connector is configured as a DTE with the following pinout for P1 5 Function Pulled Up to 10V Rx Receive Tx Transmit Pulled Up to 10V GND System Ground Pulled Up to 10V RTS Request to Send CTS Clear to Send Not Connected Ue EA SEE The 24 pin IEEE 488 connector offers a full implementation of the IEEE standard with the following pinout for P2 a 5 Function DIO Data Bit 0 DI1 Data Bit 1 DI2 Data Bit 2 DI3 Data Bit 3 EOI sa ei 26 Series 2040 Test System RCS User Manual DAV NRFD NDAC IFC SRQ ATN GND System Ground DI4 Data Bit 4 DI5 Data Bit 5 DI6 Data Bit 6 DI7 Data Bit 7 REN GND System Ground GND System Ground GND System Ground GND System Ground GND System Ground GND System Ground GND System Ground Connector P3 interfaces with the RCS Fault Inhibit Cable which is co
18. nnected to the Power Supply Controller board with the following pinout In L z Function HP Fault HP Fault HP Inhibit HP Inhibit Connector P4 interfaces to the RCS Power Cable from the AC DC Power Distribution Box with the following pinout In dide Series 2040 Test System Function GND GND GND 12V 12V 27 RCS User Manual Connector P5 is the RCS bus connector providing the relay dis connect boards with select lines 12V power and Fault amp Inhibit signals as follows x2 s E Function T H HP Fault T H HP Fault T H HP Inhibit T H HP Inhibit Relay Driver Select 0 Relay Driver Select 7 1 Relay Driver Select 2 Relay Driver Select 3 Relay Driver Select 4 Relay Driver Select 5 12V Power 12V Return Relay Dis Connect Connector Pinouts The pinouts of connectors P1 and P3 on the relay dis connect boards are identical to that of connector P5 on the RCS controller board Connector P2 is used to interface with the HPIB or GPIB power supply as follows 5 RRE AA EES 28 Function P S Fault P S Fault P S Inhibit P S Inhibit N C No Connection 12V P S Relay Driver Return P S Relay Driver Select Series 2040 Test System RCS User Manual Connector TB1 interfaces to the outputs from the GPIB HPIB power supplies as follows on the 0000 5232 10 A Relay Dis Connect Board TB1 Pin Function Cable Wire 1 Out White 14AWG 2
19. ocontroller will be ready to accept and process commands from the host computer LED Status The two amber LEDs on the RCS controller board indicate the status of the RCS controller On a normal power up the firmware executes a PROM checksum test If the test passes both of the LEDs remain off But if the calculated checksum is incorrect then both LEDs will flash on and off continuously Under this condition the RCS controller will not accept any commands and should be powered off The amber LEDs will also blink on and off while the microcontroller accepts and executes a valid command When the board is in its selftest mode the Series 2040 Test System 5 RCS User Manual amber LEDs will turn on when switch 8 on the switch bank is set to Of The green LED on each of the relay dis connect boards if more than one GPIB P S output exists indicates that each relay s upper coil pin is being powered by 12V The adjacent amber status LED will be off when the relays are disengaged This condition isolates the GPIB P S outputs from the Patchboard Receiver and thus the UUT The relays will open either due to a fault or via a software command The amber LED will turn on whenever the relays have been engaged These LEDs exist mainly for troubleshooting purposes and are not normally visible during normal tester operations unless the right side panel has been removed 2040 Interface This section refers to some 2040D functional calls and expl
20. put signal then none of the jumpers JP1 6 should be installed Jumpers 7 8 terminate the RCS system s fault inhibit signal loop that is connected in series to each fault inhibit capable GPIB power supply and each relay dis connect board Jumpers 9 10 bypass the fault inhibit signals around its non fault inhibit capable GPIB power supply to keep the fault inhibit signal loop intact Reference JP1 D2 Status In In In In In In Out In Out In Out Description Relay Board 5 Relay Board 4 Relay Board 3 Relay Board 2 Relay Board 1 Relay Board 0 GPIB P S has sole control of its isolation relays Relay board is the farthest one away from the controller board Relay board is not the farthest one away from the controller board GPIB P S has no fault inhibit signal connections GPIB P S has fault inhibit signal connections An amber LED that signifies when the relays are engaged and connect the outputs of the power supply to the Patchboard Receiver A green LED that signifies when power is applied to the board Mutually exclusive i e only one of the six jumpers should be installed Series 2040 Test System 25 RCS User Manual 30 Amp RCS Relay Dis Connect Board PN 0000 5222 The 0000 5222 30 Amp Relay Dis Connect board is a direct plug in replacement of the 0000 5232 10 Amp Relay Dis Connect board including connector pin assignments and jumper settings with the following exceptio
21. r is the IEEE 488 chip used on the RCS controller board On power up the IEEE 488 address is read from the switch bank and stored in the TMS9914A It is then put in listen only mode where the chip listens for its address to be put on the IEEE 488 bus by the host computer When the controller is addressed the TMS9914A performs the required handshaking to accept the command message and stores the message in the RCS buffer where the command is then read and executed by the microcontroller The microcontroller normally keeps the GPIB chip in listen only mode unless a status command has been received Then it will be put into talk mode and the status of the relays will be transferred over the IEEE 488 bus Afterwards the GPIB controller will be put back into listen only mode The RCS controller supports the IEEE 488 protocol of sending the EOI message with the last byte of a response Command Message The IEEE 488 command message is slightly different than the RS 232 message The IEEE 488 command message does not have a start of command character 7 The IEEE 488 controller does have a specific address which is determined by five of the switches in the switch bank Refer to the IEEE 488 Settings table in the Maintenance section The host computer software issues commands to the desired RCS device The all open close id version and status commands remain the same and a is the command message terminator The
22. s in reply into a string UpprByte RdBack 1 256 LwrByte Abs RdBack 1 UpprByte 256 strReply Chr LwrByte amp Chr UpprByte Verify proper type of reply If IINumeric strReply Then iStatus Clnt strReply Else strMsg Error Reply of Relay Status for P S 0 s strMsg strMsg amp Open Relays is non numeric MsgBox strMsg End End If Verify proper relay status If iStatus lt gt STATUS ALL Then strMsg Error Command to Open P S 0 s Relays did not work MsgBox strMsg End End If strMsg The Relay Control System operated correctly MsgBox strMsg End End Sub Series 2040 Test System 21 RCS User Manual Maintenance Switch Settings The switch settings for the various operating modes are given below Mode Settings SW1 SW2 SW3 Normal Operation ON Selftest Mode OFF Serial Echo Off ON Serial Echo On OFF IEEE 488 Comm ON RS 232 Serial Comm OFF RS 232 Settings 9600 Baud ON ON 4800 Baud OFF ON 2400 Baud ON OFF 1200 Baud OFF OFF RS 232 Address 80 ON ON ON RS 232 Address 81 OFF ON ON RS 232 Address 82 ON OFF ON RS 232 Address 83 OFF OFF ON RS 232 Address 84 ON ON OFF RS 232 Address 85 OFF ON OFF RS 232 Address 86 ON OFF OFF RS 232 Address 87 OFF OFF OFF 22 Series 2040 Test System RCS User Manual IEEE 488 Settings IEEE 488 Address 0 ON ON ON ON ON IEEE 488 Address 1 OFF ON ON ON ON IEEE 488 Address 2 ON OFF ON ON ON IEEE 488 Address 3
23. stem RCS User Manual System Overview The Relay Control System RCS is designed to control the output relays of the GPIB power supplies on Digalog s Series 2040D Tester It consists of one controller board plus one relay dis connect board for each P S output A diagram of the system is shown on page 6 The RCS is a complete system which provides relay control for up to six sets Vout Vout of outputs from the GPIB power supplies The 10 Amp and or 30 Amp relays which connect the outputs and the sense lines of the GPIB power supplies to the Patchboard Receiver are managed by an on board microcontroller which communicates with the host computer through either its IEEE 488 or RS 232 interface to effect the execution of each GPIB related power functional call The microcontroller also constantly monitors the system fault loop and disengages all of the relays and thus the GPIB power supplies outputs if a fault signal has been generated either by a functional call or by any of the UUT variable or GPIB power supplies This prevents the GPIB power supplies from possibly damaging or being damaged by the Unit Under Test UUT It also has a selftest mode to check its own functionality System Operation Power Up Condition Upon power up the RCS controller executes a checksum test The test involves calculating and verifying the checksum of the entire firmware that the on board microcontroller executes If the checksum test passes the micr
24. sts the status of the relays from the microcontroller The RCS controller accepts the following commands Name Abbrev Description all al Opens the relays for all GPIB P S s openx OX Opens the relays for GPIB P S x 0 5 closex CX Closes the relays for GPIB P S x 0 5 id id Returns the microcontroller s ID version vn Returns the version of the firmware status ss Returns the status of the relays Commands are sent in a message format The syntax for the command message is dependent on the protocol through which the message is being transmitted i e IEEE 488 or RS 232 The syntax for the commands is described in detail for each protocol in the following sections The id command to request the microcontroller s ID is only valid under the IEEE 488 communication protocol RS 232 Communication The RS 232 communication is conducted through connector P1 on the RCS controller board shown in Appendix A This is a standard male DB 9 connector The pinout for this connector is described in the Maintenance section Echo The microcontroller can communicate via RS 232 with echo either on or off The echo mode is selected by switch 2 on the switch bank With the echo mode on any message received by the controller will be echoed back on the line This is required when using a terminal with its local echo off to control the RCS The RCS controller board is set at the factory for echo off Baud rate The RS 232 interface on the RCS can b
25. tartTime Timer Pause for RCS controller to process command While Timer lt IStartTime TIME PAUSE Series 2040 Test System 15 RCS User Manual DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for Opening All Relays Error strMsg strMsg amp iberr MsgBox strMsg End End If Verify that all of the isolation relays are open Send relay status command iErr 2 DLLibwrt DevID CMD6 CMDLEN ibsta iberr ibcntl IStartTime Timer Pause for RCS controller to process command While Timer IStartTime TIME PAUSE DoEvents Process any other keyboard or mouse inputs Wend Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBWrt for Status of All Open Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If Fetch relay status reply iReplyLen STATUSLEN iErr DLLibrd DevID RdBack 1 100 amp ibsta iberr ibcntl Check for GPIB command error If iErr lt 0 Then strMsg GPIB IBRd for Status of All Open Relays strMsg strMsg amp Error amp iberr MsgBox strMsg End End If 16 Series 2040 Test System RCS User Manual Verify proper length of the expected reply If ibcntl lt gt iReplyLen Then strMsg Error GPIB IBRd for Status of All Open Relays strMsg strMsg amp fetched amp ibcntl amp bytes MsgBox strMsg End End If
26. unctionally test the relays and the attached cables Series 2040 Test System 23 RCS User Manual Relay Select Lines on the RCS Controller Board Switch zz Relay Dis connect Board NOU C ND Ui Q ND AO The two amber status LEDs on the RCS controller board will turn on when switch 8 on the switch bank is set to Off They will turn off when switch 8 is set to On Finally the microcontroller will test its internal RAM memory when switch 1 on the switch bank is set back to On If the test fails the microcontroller will continuously pulse its amber status LEDs Otherwise the amber status LEDs will remain off To properly initialize the RCS controller board for normal operations after it has entered its Selftest mode set switch 1 to On and the other switches to the proper positions for the desired communication mode and settings depress and then release the red Emergency Stop switch and finally turn on the Computer Accessories and Testhead power switches Controller Board Jumper Settings RCS Controller Board Reference Status Description JP1 Out Factory Use Only P2 Out Factory Use Only JP3 Out Factory Use Only JP4 Out Factory Use Only 24 Series 2040 Test System RCS User Manual 10 Amp RCS Relay Dis Connect Board PN 0000 5232 Jumpers 1 6 define the board s ID number Only one of the six jumpers should be installed at one time if any If the GPIB power supply has its own relay control out
Download Pdf Manuals
Related Search
Related Contents
ZAJ - 富士電機 Clinique de l`alcoolisme dkg-215 manual and remote start unit features HP Pavilion x2 11-h002sa Samson C01U Recording Pak Recording Podcasting Pak How to become a PTXdist Guru Based on the Trust 2-Port USB 3.0 ExpressCard DPL-2000 (French)-ok Copyright © All rights reserved.
Failed to retrieve file