0% found this document useful (0 votes)
157 views

Gbib Ieee488

The document provides an introduction to GPIB (General Purpose Interface Bus) and related standards IEEE 488.1, IEEE 488.2, and SCPI. It discusses the history and characteristics of GPIB, as well as common commands defined by IEEE 488.2. The document also introduces Advantech's PCI-1670 GPIB card and provides an example of GPIB commands used in the manuals of instruments from HP.

Uploaded by

mubit993
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views

Gbib Ieee488

The document provides an introduction to GPIB (General Purpose Interface Bus) and related standards IEEE 488.1, IEEE 488.2, and SCPI. It discusses the history and characteristics of GPIB, as well as common commands defined by IEEE 488.2. The document also introduces Advantech's PCI-1670 GPIB card and provides an example of GPIB commands used in the manuals of instruments from HP.

Uploaded by

mubit993
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 21

GPIB Introduction

Advantech IA Technical Support Team

Agenda
1.
2. 3.

Introduction to Advantech GPIB Card Introduction to IEEE 488.1 Introduction to IEEE 488.2 & SCPI

GPIB History
(General Purpose Interface Bus)

GPIB was initially developed by HP, as its the interface between their own internal connection devices and called HPIB. In 1975, IEEE announced IEEE-488-1975 based on HPIB. (It standardizes electrical and mechanical characteristics between Connectors & Cables, and defines the data transmission Handshaking agreement among collecting bus). In 1978, IEEE made the first revision IEEE-488.1-1987 for defining the firmware. IEEE-488.2-1987 is a newly defined standard, called Standard Code, Format, Protocols and Common Commands for solving software compatibility problems. SCPI (Standard Commands for Programmable Instruments)

GPIB characteristics

GPIB can connect 15 devices (0~31 address can be assigned) to PC (controller), PC handles the transmission on bus. The total cable length in a system should not exceed 20m (2m max. between a device and next device) Text mode commands. (Easy to differentiate) Using three handshake line for handshaking to ensure data transmission accuracy.

PCI-1670 Introduction

Specification

Supports Windows 95/98/Me/NT40/2000/XP and DOS OS. Provides NI-like driver & function libraries. Supports Visual C++Borland C++ Builder LabwindowsVisual BasicDelphi and Labviewetc. Provides interactive control utility. GPIBTool.exe IEEE 488 bus transfer rates up to 1.5M bytes/sec. ( Actual rates depend on instrument capabilities )

PCI-1670 can connect to many GPIB instruments


Oscilloscope Function generator

Digital multi-meter

Switch

Advantech PCI-1670 GPIB Card & GPIB cable

PCI-1670 Performance test

Advantech PCI-1670 Big block data ( 106496 bytes) Small data (45 bytes)

NI PCI-GPIB

1.142 sec 0.033 sec

1.116 sec 0.033 sec

IEEE 488.1 Introduction

GPIB Usage
The goal of GPIB usageUsing PC to integrate control and data collection on many instruments GPIB is suitable for measurement or test system In general: Advanced instruments Support GPIB Low price instruments Support RS-232 The transmission speed 8Mbits/s is enough for many instruments High speed data transmission instruments (2%) Ethernet TCP/IP 100M~1Gbits/s or USB 2.0 480Mbits/s

IEEE 488 Signal Lines

IEEE 488 bus consists of 16 signal lines, 8 ground lines and shielding The 16 lines can be divided into 3 categories: 1. Eight data lines 2. Five interface management lines 3. Three handshake lines

For more information about signal lines please refer to PCI-1670 manual

DIO1 DIO2 DIO3 DIO4 EOI DAV NRFD NDAC IFC SRQ

1 2 3 4 5 6 7 8 9 10 11 12

13 14 15 16 17 18 19 20 21 22 23 24

DIO5 DIO6 DIO7 DIO8 REN GND GND GND GND GND

Data lines

Handshake lines

Data lines

ATN SHIELD

GND SIGNAL GROUND

GPIB Connector and Pin Assignments

IEEE 488.2 Introduction

IEEE 488.2 common commands


Group Auto configure Auto configure System data System data System data System data System data System data Internal operatio Internal operations Internal operations Internal operations Controller Mnemonic *AAD *DLF *IDN? *OPT? *PUD *PUD? *RDT *RDT? *CAL? *LRN? *RST *TST? *PCB Name Accept address command Disable listener function command Identification query Optional identification query Protected user data command Protected user data query
Resourec description transfer command

Compliance Optional Optional Mandatory Optional Optional Optional Optional Optional Optional Optional Mandatory Mandatory
Mandatory if orthen than C0

Resourec description transfer query Calibration query Learn device setup query Reset command Selftest query Pass control back command

IEEE 488.2 common commands


Group Synchronization Synchronization Synchronization Macro Macro Macro Macro Macro Macro Parallel poll Parallel poll Parallel poll Stored settings Stored settings Mnemonic *OPC *OPC? *WAI *DMC *EMC *EMC? *GMC? *LMC? *PMC *IST? *PRE *PRE? *RCL *SAV Name Operation complete command Operation complete query Wait-to-continue command Define macro command Enable macro command Enable macro query Get macro contents query Learn macro query Purge macro command Individual status query Parallel poll register enable command Parallel poll register enable query Recall command Save command Compliance Mandatory Mandatory Mandatory Optional Optional Optional Optional Optional Optional Mandatory if PP1 Optional Optional

IEEE 488.2 common commands


Group Status & Event Status & Event Status & Event Status & Event Status & Event Status & Event Status & Event Status & Event Status & Event Trigger Trigger Trigger Mnemonic *CLS *ESE *ESE? *ESR? *PSC *PSC? *SRE *SRE? *STB? *DDT *DDT? *TRG Name Clear status command Standard event status enable command Standard event status enable query Standard eventstatus register query Power on status clear command Power on status clear query Service request enable query Service request enable query Read status byte query Define device trigger command Define device trigger query Trigger command Compliance Mandatory Mandatory Mandatory Mandatory Optional Optional Mandatory Mandatory Mandatory Optional if DT1 Optional if DT1 Mandatory if DT1

SCPI
Standard Commands for Programmable Instruments HP-SL ( HP System Language )

TMSL ( Test and Measurement System Language )

SCPI ( HP TMSL + Tek ADID(Analog Data Interchange Format) )

IEEE 488.1, IEEE 488.2, and SCPI


1989 Defined Standard Commands
1987 Defined Codes, Formats, Protocols, and Common Commands

SCPI IEEE-488.2 IEEE488.1

1975 Defined Bus Defined Bus Handshake

The GPIB command in device manual


HP 34401A : 6 1/2-digit, high-performance digital multi-meter manual

The GPIB command in device manual


HP 33120A : Function/Arbitrary Waveform Generator manual

You might also like