1 description of functions (gp-ib) – Yokogawa DR240 User Manual

Page 7

Advertising
background image

1-1

IM DR231-11E

Overview and Specifications of GP-IB Interface

1

1.1

Description of Functions (GP-IB)

Listener and Talker Functions

Listener Function

This allows almost all settings except power on/off and operation control.
• Settings except communication settings.
• Operation control except power on/off.
• Call-up of setting data
• Specifying of output data (specifying of channel numbers or output data types)
• Specifying of causes of interrupt generation (see IM command: page 6-18)

Talker Function

The following data can be output:
• Measured data
• Data on RAM disk
• Report data
• Computed data
• System configuration
• Data for operation mode setting
• Data for setup mode setting
For measured data, data on RAM disk and computed data, either binary output or ASCII output can
be selected. Report data are output in binary format. Other data are output in the form of ASCII
data.

Data Output

When trigger (GET) becomes activated, DR130/DR230/DR240 will store the new data in a buffer.
When an output request such as the FM command is received, these new data will be output.

Note when dividing and reading in data output from DR with the personal computer:
The data group being read in after ATN* has just become TRUE may miss its first bite.

Example of N88-BASIC (Standard language for PC9801 series)

Dividing and reading in measured data by every line

70 PRINT @1; “FM0, 001,010”
80 LINE INPUT @1; D$: PRINT D$
90 LINE INPUT@1; D$: PRINT D$
100 IF MID$ (D$, 2, 1)<>“E” THEN 90

Because the specification of talker address is repeated in the line 90 LINE INPUT@1; D$:PRINT
D$, ATN becomes TRUE before the third data group being read in.

Precaution:

70 PRINT @1; “FM0, 001,010”
80 LINE INPUT @1; D$: PRINT D$
90 LINE INPUT@; D$:PRINT D$
100 IF MID$ (D$,2,1)<>“E” THEN 90

The command is changed into LINE INPUT@; D$:PRINT D$ in the line 90.
ATN won’t become TRUE if the specification of talker address is not repeated.
It’s unnecessary to repeat the specification when reading in data from the same address.

* ATN is a signal for data distinction:
TRUE (0) Device message
FALSE (1) Interface message

Advertising
This manual is related to the following products: