Gbib Ieee488
Gbib Ieee488
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 )
Digital multi-meter
Switch
Advantech PCI-1670 Big block data ( 106496 bytes) Small data (45 bytes)
NI PCI-GPIB
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 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
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
SCPI
Standard Commands for Programmable Instruments HP-SL ( HP System Language )