background image

A-3

A1

A

Figure  A-1     IEEE 488 Bus

Two types of messages are transferred over the bus:

Interface messages - for bus management

Device-dependent messages - for device control and data
transfer

Devices connected to the bus may act as talkers, listeners, controllers,
or combinations of the three functions, depending upon their internal
capability.  The system controller is a controller that becomes active
at power turn-on.  It is the Bus manager and the initial controller-in-
charge.

A  controller  can send interface messages to manage the other
devices, address devices to talk or listen and command specific
actions within devices.

talker sends device dependent messages, i.e., data, status.

listener accepts interface messages, bus commands and device-
dependent messages, i.e., setup commands, data.

Bus systems can be as simple as two devices; one a talker always
sending data to a second device which listens to the data.  Larger
systems can have one or more controllers and many devices (the IEEE
488 driver specifications limit the total number of units on one bus

  DEVICE  B

 Able to Talk

and to Listen

   e.g. DVM

  DEVICE  C

Able to Listen

 e.g. Signal 

  generator

IFC
ATN
SRQ
REN
EOI

DAV
NRFD
NDAC

DIO1-8

Bus Control
     Lines

Byte Transfer
Control Lines

Data Bus
(8 Lines)

      DEVICE  A
     Able to Talk,
Listen and Control

   e.g. Computer

Summary of Contents for 4863

Page 1: ...ICS ELECTRONICS ICS MODEL 4863 GPIB Parallel Interface MODEL 2363 Serial Parallel Interface 4863 2363...

Page 2: ...al Parallel Interface Instruction Manual 7034 Commerce Circle Pleasanton CA 94588 Phone 925 416 1000 Fax 925 416 0105 Publication Number 120143 Web Site http www icselect com October 2006 Edition Rev...

Page 3: ...maycauseinterference to radio communications The Model 4863 and 2363 have been tested and found to comply with the limits for a Class A computing device pursuant to Subpart J of Part 15 of the FCC Ru...

Page 4: ...63 General Operation GPIB Address 488 2 Status Structure 488 2 Commands SCPICommands SingleLetterCommands Programming Guidelines and Serial Interface Operation Theory of Operation Describes the 4863 a...

Page 5: ...ii This page left intentionally blank...

Page 6: ...48 programmable digital lines with TTL levels for controlling devices or for data transfer The digital interface is user configurableintogatedinputsand orlatchedoutputsineightbitincrements As inputs e...

Page 7: ...blinking the front panel LEDs before displaying their normal Power on Ready condition The 4863 is a member of ICS s Minibox product family and is packaged in a small metal case that is less than 1U 1...

Page 8: ...your unit 4863 X General Model Number Option Codes 1 Special Crystal 3 Custom Paint 5 Custom Front Panel 6 Special Settings 7 Special Program 8 Hardware Modification A Ship with Australian 230 Vac Ada...

Page 9: ...er is provided to remote the LEDs and the power switch is removed A separate header is provided for the optional serial interface The Digital I O connectorremainsthesame RefertoFigure1 6fortheOEMBoard...

Page 10: ...ponds to a single primary address and secondary addresses 00 and 01 The lower address is used for commands the upper address is used for transparent data transfer Valid primary addresses are 0 to 29 f...

Page 11: ...SCPI Parser The 4863 and 2363 include an extended SCPI parser that complies with the SCPI Standard Version 1994 0 1 4 6 Buffers The 4863 and 2363 use the same input and output buffers Buffer size is...

Page 12: ...at 7 or 8 data bits odd even or no parity Stop Bits 1 or 2 stop bits 1 5 2 RS 232 Interface The RS 232 Interface has the following characteristics Signals BA BB and AB Mode Full Duplex with or without...

Page 13: ...Command Echo Message Terminator Prompt CNTL E On Response CR LF CR LF CNTL F Off Response LF LF The user should not attempt to send a new command until it has completed the current command Echo mode...

Page 14: ...II number 0 9 with a hex value of 30 3F An example is the IDN query sent to a 2363 at address 4 i e STX 4 I D N LF Promptsaresupportedwhennetworkaddressingisenabled Thetransmitter is enabled until the...

Page 15: ...here ASCII characters 0 to 1F hex are reserved for message control ASCII characters 20 7F are for address and data Address character is 30 3F hex STX is ASCII character 02 hex ETX is ASCII character 0...

Page 16: ...X characters Active EDR edge and Inhibit signal polarities are selected by configuration commands The EDR F F is reset when the data is read or by the SENSE RESET EDR command or by a Device Clear Stan...

Page 17: ...TRG or 488 1 GET commands Pulse polarityisdefinedbyconfigurationcommand Signallevelssameasoutput levels in paragraph 1 6 1 1 6 6 Reset Output Resetoutput ispulsedby488 2 RSTor RCLcommandandwhentheuni...

Page 18: ...nput inhibits data transfer Status B may be used as a request for the 4863 to go to the local state The 4863 will deassert the Remote output in response to a true Status B input if the unit is not in...

Page 19: ...dTDav is the time to output first byte on GPIB Bus Figure 1 1 Input Data Timing DAV Pulses Data Lines Data Strobe TdStb TdOut TdOut is delay from command terminator to data output TdStb is the delay f...

Page 20: ...5 sec TdSTB Delay from comd terminator to pulse SOUR DATA STR 7 5 ms DATA STR 6 3 ms SP 0 8 to 1 1 ms TdStb2 Delay to next data strobe SOURCE DATA hhhh hhhh 140 s DATA hhhh hhhh 140 s PO hhhh hhhh 140...

Page 21: ...t Format HEX HANDshake Enables Output Handshaking OFF CLEar Sets Clear pulse active level 0 EDR Sets EDR input active level 0 INHibit Sets Inhibit output active level 1 REMote Sets Remote output activ...

Page 22: ...Clear pulse active level 0 EDR Sets EDR input active level 0 INHibit Sets Inhibit output active level 1 REMote Sets Remote output active level 0 RESet Sets Reset pulse output active level 0 STRobe Se...

Page 23: ...onds during which time the PWR indicator is on At the end of the self test the unit displays its current GPIB or network address by blinking it address on the front panel LEDs for a half a second If t...

Page 24: ...ge 40 C to 70 C Humidity 0 90 RH without condensation Shock Vibration Normal handling only Construction All metal case 4863 Power 9 to 32 Vdc 3 VA unloaded outputs Connectors IEEE 488 Interface Amphen...

Page 25: ...1 20 1 Figure 1 5 Outline Dimensions 18 52 cm 254 cm End View 3 86 cm Side View 0375 Maximum Connector Clearance 18 92 cm Switch...

Page 26: ...M Board Outline Dimensions J2 Digital I O Connector 25 J5 GPIB Header 1 J4 Serial Header 150 TYP 150 TYP MAX COMPONENT HEIGHT 187 in 4 40 UNC STAND OFF 25 DIA X 187 26 J7 Remote LED Header 62 42 21 43...

Page 27: ...of US FCC Docket 20780andcomplieswithEECStandardsEN55022and 50082 1 CE Certificate of Compliances reproduced in Figures 1 7 and 1 8 UL CSA VDE AC Wall adapter has applicable UL CSA VDE and CE approva...

Page 28: ...1 23 1 Figure 1 8 2363 Certificate of Compliance...

Page 29: ...04705 IEEE 488 Bus Cables multi shielded design in 104740 0 5 1 2 and 4 meter lengths standard connectors 104505 IEEE 488 Bus Cables multi shielded design in 104520 0 5 1 and 2 meter lengths with a st...

Page 30: ...l sales representative immediately Also call the carrier immediately and retain the shipping carton and packing material for the carrier s inspection ICS will make arrangements for the unit to be repa...

Page 31: ...ctive program lets you enter and query all of the configuration settings and is the most flexible configuration method The Minibox configuration programs guide you through a menu driven configuration...

Page 32: ...USB 488 PCI 488 PCILt 488 PCM and 488 cPCI Cards Measurement Computing or National Instruments Cards See para 2 7 DOS Supported card or Interface mconfig exe ICS 488 PC2 Card National Inst GPIB PC2a C...

Page 33: ...OM port in the PC with a Serial Cable See Section 2 7 Plug the AC adapter plug into teh DC jack in the 4863 s rear panel Plug the AC adapter into an AC outlet GPIB Bus Cable AC Adapter 4863 GPIB Port...

Page 34: ...d back on The unit will display its primary GPIB address at the end of its self test routine by blinking its LEDs A double blink indicates the unit is in the dual secondary address mode The LED bit we...

Page 35: ...o continue 10 Saving the New Settings The program will ask if you want to save the current configuration Enter Y to save N to continue Theprogrammayaskifyouwanttolocktheinterfaceconfiguration paramete...

Page 36: ...the 2363 s network address by one of the following methods a Use the factory default value of 4 for new units b If you do not know your unit s address turn the unit off and back on The unit will disp...

Page 37: ...SE 32 EOTMode Call Send Bd Addr ESE EOTMode Instring String Lin 32 fills the string with spaces Call Receive Bd Addr Instring Term Print A Displays the result IfyouenteredaninvalidcommandandtheredERRL...

Page 38: ...20 primary 20 secondary 0 CmdStr SYST COMM GPIB ADDR MODE DUAL Call Send Bd Addr CmdStr EOTMode Instring String Lin 32 fills the string with spaces Call Receive Bd Addr Instring Term Print Instring 8...

Page 39: ...UT ENTERCOMMANDSTRING orHELPforDirections A 310 IF A HELP THEN GOSUB 520 320 IF A SPOL THEN GOSUB 650 330 IF A DATA THEN GOSUB 720 340 IF A CMD THEN GOSUB 770 350 IF A ENTER AND A XXX THEN 360 PRINT O...

Page 40: ...RUPT OCCURRED 650 PRINT Serial Polling now 660 Stat SPOLL Adr 670 PRINT SRQ SPOLL RESULTS Adr Devadr Status Stat 680 PRINT 690 A XXX 700 ENABLE INTR 7 710 RETURN 720 REM DATA mode 730 PRINT DATA Addre...

Page 41: ...1 180 A SYST COMM GPIB ADDR 190 OUTPUT Adr A END 200 ENTER Adr B 210 PRINT Device address B 220 INPUT Enter new device address 0 30 Newadr 230 A SYST COMM GPIB ADDR 240 OUTPUT Adr A Newadr END 250 WA...

Page 42: ...lti shielded cables to minimize noise pickup Limit the total GPIB bus cable length to 20 meters Refer to the appendix for a GPIB signal pin list if one is needed or contact ICS for more information ab...

Page 43: ...16 contain RS 485 signals and should not be connected to any RS 232 level signals Check standard RS 232 cables to be sure these pins are open before plugging the cable into a 2363 Table 2 1 lists the...

Page 44: ...ve resistors R5 R6 and R7 from the PC board These resistors are located near the front of the PC board between the PWR and RDY LEDs The 2363 s RS 485 port can be tested by using a RS 232 to RS 485 con...

Page 45: ...Use the mating connector supplied with the unit and follow the directions in Sections 2 9 to connect the OEM Board to the host equipment 2 7 3 1 Power Connections DC power is connected to the 4867 236...

Page 46: ...ces and male connectors DB 25P for DTE devices Because the 4863 only has Tx and Rx signals the user can easily makeaDataTerminal DTE orDataCommunication DCE styleinterface for the end product by addin...

Page 47: ...DE 9P J4 Header Pin Pin Pin Signal RxD 2 3 2 Receive Data TxD 3 2 3 Transmit Data RTS 7 7 CTS 8 8 DSR 6 GND 5 5 7 GND DCD 1 DTR 4 4 DSR 6 6 5 Vdc thru 3 K 2 7 3 3 LED Header The LED Header J7 contains...

Page 48: ...s GPIB Connector Address Switch Assembly although any GPIB connector and address switch may be used with the OEM Board ICS sGPIBConnector AddressSwitchAssembliesaresmall PCassemblies that mount a GPIB...

Page 49: ...D 2 IFC 13 ORG 2 NDAC 14 YEL 2 EOI 15 GRN 2 ATN 16 BLU 2 SRQ 17 VIO 2 DIO1 18 GRY 2 DIO2 19 WHT 2 DIO3 20 BLK 2 DIO4 21 BRN 3 DIO5 22 RED 3 DIO6 23 ORG 3 DIO7 24 YEL 3 DIO8 25 GRN 3 GROUND 26 BLU 3 a...

Page 50: ...tes Switch show set to address 4 Rocker S used for Address 0 Figure 2 8 Address Switch Layout 2 7 3 5 Board Jumpers 4863 2363s have two jumpers on the PC board as shown in Figure 2 6 The jumper functi...

Page 51: ...2 22 2 1 This page intentionally left blank...

Page 52: ...t data strings can be used to transfer data in multiple byte wide words Bytes used by the string commands must be configured into input or output strings by the configuration commands Depending upon t...

Page 53: ...tring Characters in a data string can be HEX characters user assigned ASCII characters ASCII numbers or binary characters When HEX or user assigned ASCII characters are used each character represents...

Page 54: ...ve the bytes unassigned for direct byte I O or assign multiple bytes into Talk input or Listen output strings Bytes assigned to strings must be assigned in numerical order and can start with any byte...

Page 55: ...MSN 3 Bit 8 58 CH 11 Byte 2 Bit 2 MSN 3 Bit 4 38 CH 10 Byte 2 Bit 1 MSN 3 Bit 2 17 CH 9 Byte 2 Bit 0 MSN 3 Bit 1 59 CH 24 Byte 3 Bit 7 MSN 4 Bit 8 54 CH 23 Byte 3 Bit 6 MSN 4 Bit 4 34 CH 22 Byte 3 Bi...

Page 56: ...MSN 10 Bit 4 26 CH 46 Byte 6 Bit 5 MSN 10 Bit 2 5 CH 45 Byte 6 Bit 4 MSN 10 Bit 1 47 CH 44 Byte6 Bit 3 LSN Bit 8 27 CH 43 Byte 6 Bit 2 LSN Bit 4 6 CH 42 Byte 6 Bit 1 LSN Bit 2 48 CH 41 Byte 6 Bit 0 L...

Page 57: ...atus A input is in its logic 1 state Holding the Status A input in the logic 0 state inhibits data transfer User programs the Strobe polarity and enables disables Listen Handshaking 2 8 7 Trigger Outp...

Page 58: ...t Sets number of Talk bytes POLarity Sets Input data polarity HANDshake Enables Input Handshaking EDR Sets input polarity of edge INH Sets inhibit output polarity TALK Selects Input String Format TRAN...

Page 59: ...ve foot long cable terminated into a 62 pin connector Table 2 9 lists the cable wire colors Figure 2 10 4863 Open End Cable Connector 2 Make a rough determination of the number of output and input sig...

Page 60: ...2 MSN 3 Bit 4 Wht of Blu Wht CH 10 Byte 2 Bit 1 MSN 3 Bit 2 Grn of Grn Red CH 9 Byte 2 Bit 0 MSN 3 Bit 1 Red of Red Vio CH 24 Byte 3 Bit 7 MSN 4 Bit 8 Brn of Org Brn CH 23 Byte 3 Bit 6 MSN 4 Bit 4 Grn...

Page 61: ...f Grn Blk CH 45 Byte 6 Bit 4 MSN 10 Bit 1 Brn of Brn Blu CH 44 Byte6 Bit 3 LSN Bit 8 Wht of Wht Grn CH 43 Byte 6 Bit 2 LSN Bit 4 Blk of Grn Blk CH 42 Byte 6 Bit 1 LSN Bit 2 Blu of Brn Blu CH 41 Byte 6...

Page 62: ...g enabled status EDR polarity and Inhibit polarity 5 If output data is being transferred by a string command the output data lines should be assigned next Start with the lowest available byte in Table...

Page 63: ...eir signals should be connected now Assign the signals to the remaining data lines All signals on a byte should go in the same direction Record the device signal names and pin numbers in Table 2 7 or...

Page 64: ...could be read either transparently or with the PORT 2 3 query Typical in range responses are 199 to 199 The Overrange signal is wired to bit 8 of the 100s digit so Overrange responses are 999 or 999...

Page 65: ...t 8 58 2 Overrange CH 11 Byte 2 Bit 2 MSN 3 Bit 4 38 gnd 0 CH 10 Byte 2 Bit 1 MSN 3 Bit 2 17 gnd 0 CH 9 Byte 2 Bit 0 MSN 3 Bit 1 59 3 100s 1 CH 24 Byte 3 Bit 7 MSN 4 Bit 8 54 4 10s 8 CH 23 Byte 3 Bit...

Page 66: ...6 CH 46 Byte 6 Bit 5 MSN 10 Bit 2 5 40 Control bit 2 CH 45 Byte 6 Bit 4 MSN 10 Bit 1 47 41 Control bit 1 CH 44 Byte6 Bit 3 LSN Bit 8 27 CH 43 Byte 6 Bit 2 LSN Bit 4 6 42 LED 3 CH 42 Byte 6 Bit 1 LSN B...

Page 67: ...nd of message string 10 LF Listen String OUTput Sets Listen bytes 4 5 POLarity Sets Output polarity 0 HANDshake Enables Output Handshaking OFF STRobe Sets Output Strobe polarity 0 LISTen Sets Output F...

Page 68: ...otocol can be saved in Flash and are automatically recalled at power turn on or when the unit is reset Data transfer between the computer and the 4863 and 2363 s digital interface can be by a combinat...

Page 69: ...e primary address two consecutive primary addresses or a primary address with two secondary addresses The data transfer capabilities of the different address modes are shown below in Figure 3 1 The up...

Page 70: ...he sum of the binary bits in a byte or binary bytes 4863 only If listen handshaking is enabled data transfer will only occur if the Status A input signal is in its logic true state Data overrun is be...

Page 71: ...on the 4863 restores the last configuration and output values stored in its Flash memory by the SAV 0 command as the current configuration These values are used until a command is sent to the 4863 wi...

Page 72: ...OEM Board Differences OEM Board versions of the 4863 are available with various interface combinations Board configurations with GPIB capability have an GPIB signal header with extra inputs for readi...

Page 73: ...ted the primary address range is limitedfrom1to30 The4863cannotrecognizesecondaryaddresseswhen set to primary address 0 The selected address setting and mode is stored in the 4863 s Flash Follow the d...

Page 74: ...occurred and or that the unit needs service There are three major sources of SRQs eachofwhichissummarizedintheStatusByteRegister Twoofthesources are event registers with their own enabling bits and th...

Page 75: ...ration Condition Register Not Used 15 10 9 8 7 6 5 4 3 2 1 0 Transistion Register WTG Status A Questionable Event Register Questionable Enable Register 15 14 7 6 5 4 3 2 1 0 15 Digital Inputs CH Numbe...

Page 76: ...any changes in the digital inputs Bit alignments are shown in Figure 3 2 The Questionable Transition Register filters the inputs and passes only the enabled state changes to the Questionable Event Reg...

Page 77: ...ghoranopencontact Alogical0isalowinputofacontact closure to ground To read the Questionable Condition Register use the following SCPI query STAT QUES COND reads the status inputs The response is a dec...

Page 78: ...in bit 4 of the Status Byte Register when it contains a message s to be read by the bus controller Reading the Output Queue by addressing the 4863totalkatitsGPIBaddressclearsthesummarybit IftheOutput...

Page 79: ...ESE 192 SRE 32 enables Power on and EDR bits Note that the ESE and SRE commands must be on the same line or set prior to the PSC 0 command to be saved A later PSC 1 command sets the PSC flag which wi...

Page 80: ...ds to the state 1 or 0 of bits in the register 4863 returns the value of the Event StatusRegister andthenclearsit value is an integer whose binary equivalent corresponds to the state 1 or 0 of bits in...

Page 81: ...ng selected 4863 operations have been finished PlacesanASCIIcharacter1intothe4863 s Output Queue when all pending selected 4863 operations have been finished Controls the automatic power on clearing o...

Page 82: ...corresponds to the state 1 or 0 of bits in the register If value is not between 0 and 255 an Execution Error is generated 4863 returns the value of the Service Request Enable Register with bit six se...

Page 83: ...SCPI commands in the 4863 2363 are not case sensitive The portion of the command shown in capitals denotes the abbreviated form of the keyword Either the abbreviated or whole keyword may be used when...

Page 84: ...UD numeric value 9600 PARity EVEN ODD NONE BITS 7 8 SBITs 1 2 RS485 1 0 NETwork OFF ADDRess PACKet ADDRess 0 15 4 UPdate ERRor 0 No error VERSion 1994 0 CONFigure Configure Strings DIGital INPut chann...

Page 85: ...9 LISTen ASCii HEXL HEX 4833 BINary HEX FL ROUTe Bit Manipulation CLOSe byte bit CLOSE OPEN byte bit OPEN RESET byte BRESET SENSe Bit Sense BIT byte bit READ BYTE byte BREAD DIGital Port Input DATA VA...

Page 86: ...NABLE PTRansition 0 h7FFF All 1s PTRansition NTRansition 0 h7FFF 0 NTRansition QUEStionable Digital Inputs EVENt bits 0 14 active 0 CONDition bits 0 14 active 0 ENABle bits 0 14 active 0 ENABLE PTRans...

Page 87: ...AL DEFault command resets the Flash to it factory settings Caution All user settings will be overridden by this command 12 Most parameters can be output in various numeric formats radix The parameters...

Page 88: ...e GPIB address instead of the value saved in Flash Values 0 1 or OFF ON MODE SINGle Selects GPIB address mode Single mode uses one primary address to transfer data with commands Dual enables two con s...

Page 89: ...OFF selects no protocol and uses standard ASCIIcharactermessagesforpoint to point operation ADDRess enables ICS s net work protocol When network is enabled every serial message has to be preceded by a...

Page 90: ...mmand error 200 Execution error 400 Query error VERSion 1994 0 4863 returns the value of the applicable SCPI version number CONFigure Starts string configuration branch DIGital Optional digital data i...

Page 91: ...ignal both EDRs in 4803 A value of 1 selects positive signal transition A value of 0 selects negative signal edge Values are 0 1 INH 1 Sets the active level for the Inhibit output signal both Inhibits...

Page 92: ...th a linefeed BINary placeseachinputbytedirectlyintotheGPIB output buffer without any conversion BINary output is terminated by asserting EOI on the last character Values are ASCii HEX HEXL TABLE BINa...

Page 93: ...bit manipulation branch CLOSe Sets a bit to the logic true value set by the SOURCe DATA PORTn POL command Bit is defined by a byte bit parameter Byte value is 1 to n bit value is 0 to 7 MSB OPEN Rese...

Page 94: ...ist Format set by FORMat TALK setting Value is 1 to 6 PORTn Queries the value of byte n Format set by FORMat TALK setting Value of n is 1 to 6 POLarity 255 Sets input byte logic true polarity for the...

Page 95: ...r SOURce data to the external device STATus Starts Status Reporting Structure OPERational Identifies Operational registers QUEStionable Identifies Questionable registers EVENt Returns contents of the...

Page 96: ...r IDN message String is up to 72 charactersandconsistsoffourfields manu facturer model code serial number and firmware revision separated by commas e g ICS Electronics 4863 S N 012345 Rev 0 6 05 19 06...

Page 97: ...s Their parameter form is the same as that of the SCPI commands A space isrequiredbetweenthecommandandtheparameter Shortformcommands ending with a lower case n are really six commands one for each byt...

Page 98: ...rt as an input or as an output The SENSe and SOURce branches have a POLarity command that sets each bit s logically true state The following commands set bits on the Digital I O connector SOURCe DATA...

Page 99: ...start review Section 2 10 to learn how the 4863 is connected to the example device MSD MSD 1 MSD 2 MSD 3 Byte4 Byte1 Logic Signals Byte Input h0E Byte6 LEDS and Control Signals Byte Output 25 Polarit...

Page 100: ...tput to hold the DPM Note that the above commands use the values recorded in Table 2 10 when the example cable was designed The 4863 uses the DPM s polarity output signal to generate plus and minus si...

Page 101: ...i 1 23 254 HEXL 01 17 FE HEX 0117FE 4833 0117 The output string can be sent using the SOURce DATA command using a single primary address The output string can also be sent as a transparent string usin...

Page 102: ...nd if the 4863 is set for a single primary address or if the lower primary or secondary address is used If dual addresses are used the output data string can be sent to the upper primary or secondary...

Page 103: ...nfiguration commands Individual input bytes are configured and read with the SCPI SENSE subsystem The PORTn command automatically sets the byte for inputtingdatawhenitisread The POLaritycommandconfigu...

Page 104: ...e BSTATus 0 selects low true input 3 8 2 8 Reading the Digital Input String Now that the talk string has been defined and digital interface has been configured itistimetoinputdata Besurethattheexterna...

Page 105: ...is enabled If ESR bit 6 is set the data is ready to be read If the bit is not set the EDR input line was not pulsed e g ESR Queries register status ENTER dev A Reads 4863 response AND A h40 Tests bit...

Page 106: ...thecauseoftheSRQ Thefollowing example generates an SRQ whenever the EDR flip flop becomes set external data is ready or the Status A signal goes low In the example of 2 10 the external device has lost...

Page 107: ...utput ports FORM LIST BIN SYST COMM GPIB ADDR MODE DUAL enables two primary addresses Sending 8 data bytes to the upper primary address 23102301 data ends with EOI on last byte 3 8 3 4 Locking the Set...

Page 108: ...urrent date Use either the CAL DATe or SAV 0 command to save the IDN message 3 8 3 6 Saving the Configuration The4863usesthe488 2 SAV0commandtosavethecurrentconfiguration in the 4863 s Flash or the 48...

Page 109: ...provides echos and prompts on its RS 232 interface The 2363 defaults to echo on at power turn on for keyboard operation The echo function can be disabled for computer operation by sending the unit a...

Page 110: ...3 Rev 1 1 CR LF CR LF 3 9 3 Program operation examples Send CNTL F before any serial commands to turn echo off CNTL F turns echo off e g Program command echo off ESE 255 LF LF e g Program IDN query ec...

Page 111: ...llresponsesarethesameasfornormal RS 232 and RS 485 operation The Address command message format is STX Addr Message LF e g The IDN query example becomes STX 4 IDN LF ICS Electronics 2363 S N 910123 Re...

Page 112: ...essage was not a query The command acknowledgment packet contains the ESR register value e g ACK Addr ESR Register Value ETX Checksum ACK Addr Optional query response ETX Checksum A NAK packet with th...

Page 113: ...it the command If the command is a query and contains a the Auto Query function will read the Receive Buffer and display its contents in the Device Response window The Network Protocol and Device Addr...

Page 114: ...g contains a the Auto Query function will read and display a the serial device s response 3 9 8 Programming Suggestions For Windows 98 NT 2K or XP programming use a late version of Visual Basic revisi...

Page 115: ...ns 4 Using the 488 2 Status Reporting Structure Define what the digital inputs mean if they are part of the system The SCPI Standard requires that the SCPI command tree and SCPI conformance informatio...

Page 116: ...microprocessor to accept GPIB command and data characters When the command terminator is sensed the command characters are parsed and used to charge the 4863 s operational settings or invoke some acti...

Page 117: ...tch Latch Latch Latch FIGURE 4 1 4863 BLOCK DIAGRAM The Flash memory also contains all of the 4863 s configuration settings serial number and other parameters that are subject to change At power on ti...

Page 118: ...des the 8 Vdc necessary to drive the RS 232 line The RS 485 transceiver provides the differential transmitter andreceiverfunctionsfortheRS 422orRS 485differentialsignalpair The remainder of the 2363 s...

Page 119: ...4 4 4 Microprocessor Address DCDR Power Supply 12 24 VDC 5V GPIB CTLR RAM P BUS EEPROM GPIB EPROM Digital Inputs and Outputs Latch Latch Latch Latch RS 232 or RS 485 FIGURE 4 2 OEM BOARD BLOCK DIAGRAM...

Page 120: ...ignals into the logic 1 or mark state and avoid receiver errors When the serial interfaces are installed they are activated at power turn on and remain active until the unit is addressed on the GPIB i...

Page 121: ...4 6 4 This page left intentionally blank...

Page 122: ...plication where the IEEE 488 bus cables are frequently changed or if the input signals appear erratic the 4863 s connectors may require cleaning to remove wax and dirt buildup New GPIB bus and other b...

Page 123: ...4863 Faults and solutions apply to the 2363 also unless otherwise noted 5 3 2 Operating Failures Use the fault isolation information in Table 5 2 to narrow the problem down to a specific area The maj...

Page 124: ...replace PLD U8 in 4863 or in 2363 RDY Flash 4863 Flash failed write test Replace Flash U9 and reprogram configuration See DEFAULT command TALK Flash 4863 Flash loose in its socket or has a bent pin Ch...

Page 125: ...30 Setting Check and or correct address setting SRQ GPIB Wrong firmware or GPIB chip for hardware configuration Check hardware configuration ERR and change firmware or replace GPIB Controller chip U4...

Page 126: ...Open GPIB chip selection line After hung or grounded interrupt into Z180 blinking address ERR Cal Date Flash data reset and all calibration settings When reset lost Reset defaults reconfigure the uni...

Page 127: ...e CAL DATE command to accept default configuration and clear the error so the ERR LED will not come on at next power on time Reload your configuration and use the SAV 0 command to save the new configu...

Page 128: ...strings to see if any dataoutputted EDR missing with Talk handshake enabled Dual Address Mode Talk address not recognized No talk data unless unit is UNTALKed between messages in Dual Address Mode Se...

Page 129: ...table when the procedure is completed Turn power off and again disconnect the power supply cable All configuration parameters have now been restored to the settings listed in Table 1 4 or 1 5 5 Remove...

Page 130: ...be resolved over the phone as opposed to returning a unit for repair 2 Writeadescriptionoftheproblemandattachittothematerialbeing returned Describe the installation system failure symptoms and how it...

Page 131: ...5 10 5 This page left intentionally blank...

Page 132: ...erial Data Communications Background A 17 A2 1 Introduction to Serial Communication A 27 A2 2 RS 232 Standard A 22 A2 3 RS 422 and RS 485 Standards A 24 A2 4 RS 530 Pinouts A 25 A2 5 Serial Interface...

Page 133: ...and windows DDL make the 488 PC2 operate as a 488 2 compatible controller The controller protocols are built in to the PC2 drivers All IEEE 488 2 common commands queries and SCPI commands are placed...

Page 134: ...dress devices to talk or listen and command specific actions within devices A talker sends device dependent messages i e data status A listener accepts interface messages bus commands and device depen...

Page 135: ...l Devices that are SCPI 1991 compatible can have their bus address set by a GPIB SYSTEM configuration command Information is transmitted on the data lines under sequential control of the three handsha...

Page 136: ...the system or leaving characters that will be output when the device is addressed as a talker again IFC interface clear is sent by the system controller and places the interface system in a known qui...

Page 137: ...Enable ADDRESSED COMMAND GROUP UNIVERSAL COMMAND GROUP LISTEN ADDRESS GROUP TALK ADDRESS GROUP SECONDARY COMMAND GROUP PRIMARY COMMAND GROUP PCG LSD MSD MSG GTL SDC PPC GET TCT ASCII DLE DC1 DC2 DC3...

Page 138: ...II data characters have the same code values as bus commands but are transmitted with ATN off The following chart lists the standard command and address mnemonics Address Commands MLA My listen addres...

Page 139: ...the logic true level Cable connectors are modified Amphenol 24 pin Blue ribbon style connectors 57 30240 with metric jack screws Figure A 2 GPIB Signal Pin Assignments 1 2 3 4 5 6 7 8 9 10 11 12 13 1...

Page 140: ...a RESPONSE MESSAGE Asterisk defines a 488 2 common command Ends a query where a reply is expected A1 2 2 IEEE 488 2 Reporting Structure With IEEE 488 2 status reporting was enhanced from the simple se...

Page 141: ...Operation Complete Standard Event Status Register ESR 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 Logical OR Standard Event Status Enable Register ESE NRf ESE Queue Not Empty 7 5 4 3 2 1 0 Logical OR 7 6 3 2 1 0...

Page 142: ...ue Command Devices that support parallel polls must support the following three commands IST Individual Status Query PRE Parallel Poll Register Enable Command PRE Parallel Poll Register Enable Query D...

Page 143: ...a serial poll The RQS bit is reset by the serial poll The same 488 2 device outputs the Status Byte Register contents plus the MSS bit in response to a STB query The MSS bit is cleared when the condit...

Page 144: ...op of the hardware independent portion of the IEEE 488 2 and operates with any language or graphic instrument program generators The obvious benefits of SCPI for the ATE programmer is in reducing the...

Page 145: ...showssomesingleSCPIcommandsforsetting up and querying a serial interface SYSTem COMMunicate SERial BAUD 9600 nl Sets the baud rate to 9600 baud SYST COMM SER BAUD nl Queries the current baud setting S...

Page 146: ...fourth itemXONmeansthatXONisactive Thelastitemis32 ESRregister bit 5 which means execution error caused by the BIT 6 command A1 3 3 Variables and Channel Lists SCPI variables are separated by a space...

Page 147: ...ists random values Figure A 6 Channel List Examples A1 3 4 Error Reporting SCPI provides a means of reporting errors by responses to the SYST ERR query If the SCPI error queue is empty the unit respon...

Page 148: ...al data speed is referred to as Baud Rate A baud is defined as a signaling bit which includes data bits as well as start stop framing parity or any other bits that make up the data format Typical comp...

Page 149: ...ually contains 5 to 8 bits and is transmitted least significant bit first Today most of the computers and terminals use the 7 bit ASCII code to represent numbers and characters Figure A 7 shows how th...

Page 150: ...e phone company s direct dial network DDN as shown in Figure A 8 Modems are used to convert the serial data bits into tones that will pass through the telephone system s 300 to 3000 Hz voice band For...

Page 151: ...hemorecommon control signal pairs are Request to send Clear to send Data terminal ready Data set ready All signals must be high to enable data transmission Dropping any line normally means the receivi...

Page 152: ...it data characters with no parity and single start and stop bits The 2303 will also work with 7 bit data characters The unused data bits are outputted on the 488 Bus as fixed zeros The user can also a...

Page 153: ...eir functions Therelationshipofinterchangecircuitstostandardinterface types Thespecificationdoesnotmeanthattwodevicesthatare RS 232 compatible can be connected together with a standard cable and be ex...

Page 154: ...a DTE are a PC computer or a terminal DTE devices can be mated to DTE devices byaspecial null modem cablethatcrossesthetransmitsignalsofone device with the receive signals on the other device In Europ...

Page 155: ...connecting cable are 2 to 6V or 2 to 6V Receivers are specified to have a 0 2V sensitivity 4Kohm minimum input impedance and be capable of withstanding a maximum input of 10V Cable terminators and tra...

Page 156: ...itsserialinterface The2303isdesignedsothatitmayreceiveeithersingleendedRS 232 or differential RS 422 RS 485 signals A2 5 SERIAL INTERFACE PROBLEMS Most of the problems that arise when connecting seria...

Page 157: ...A2 4 Same character formats It may be obvious but often the character formats and parity settings are incorrect A typical parity setting symptom is half good half bad characters i e 1 2 4 good 3 and 5...

Page 158: ...s the Address Switch in line with the IEEE 488 connector as shown in Figure A 9 a The Vertical Connector Switch Board Assembly has the Address Switch located on top of the IEEE 488 connector as shown...

Page 159: ...l Connector Assembly b Vertical Connector Switch Assembly A3 2 BOARD INSTALLATION Both the Horizontal and the Vertical Connector Switch Board Assemblies are designed to be mounted to the rear panel of...

Page 160: ...studs and two thin lock washers to hold the assembly to the panel 5 Route the flat ribbon cable to the 4803 so it avoids any high RFI or electrical noise area Plug the cable into J2 6 Mark or silkscre...

Page 161: ...80 dia 2 plcs 4 Allow 0 25 inches for cable bend 1 750 0 920 0 350 1 578 1 842 0 350 0 700 1 775 0 420 0 635 Notes 1 All dimensions are in inches 2 D cutout radius is 0 2 inches 3 Holes are 0 180 dia...

Page 162: ...1 18 J2 Signal Pin Table 2 20 Jumpers 2 21 Options 1 3 Physical specifications 1 19 Rear panel 1 19 Repair 5 1 Specifications 1 3 Theory of Operation 4 1 Timing 1 15 Troubleshooting 5 1 488 1 Capabili...

Page 163: ...er Output 1 12 Digital I O Lines Clear output 2 28 Description 2 25 EDR timing 2 25 Input handshaking 2 25 Block diagram 4 2 4863 4 2 Description 4 1 OEM Board 4 4 Buffer 1 8 Byte Handling Commands 3...

Page 164: ...ction Signal Assign ments 2 36 Example Digital Connections 2 35 External Reset Input 1 12 F Factory Configuration 2 2 2363 1 17 4863 1 16 Fault Isolation 5 2 Functions Programmable 1 16 G General Info...

Page 165: ...IEEE 488 2 Common Commands CLS 3 13 ESE 3 13 ESE 3 13 ESR 3 13 IDN 3 14 OPC 3 14 OPC 3 14 PSC 3 14 PSC 3 14 RCL 3 14 RST 3 14 3 15 SAV 3 15 SRE 3 15 SRE 3 15 STB 3 15 TRG 3 15 TST 3 15 WAI 3 15 Table...

Page 166: ...Command Tree 3 17 3 18 3 19 O OEM Copyright wavier 3 48 Documentation 3 48 OEM Board Block Diagram 4 4 Block Diagram Differences 4 5 Configuration Table 1 4 Dimensions 1 21 GPIB Address Switch Header...

Page 167: ...42 Serial Interface Problems A 25 Serial poll 1 5 SERkybd program 3 46 Service Request Message Format 1 8 Setting Address 3 6 Shipment Verification 2 1 Short Form Commands 3 30 Signal Pin assignments...

Reviews: