1 description of functions (gp-ib), Listener and talker functions – Yokogawa DA100 User Manual

Page 7

Advertising
background image

IM DA100-11E

1-1

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-8)

Talker Function

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

Data Output

When trigger(GET) becomes activated DA100 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 the below when using a PC to divide and read output data from the DA100.
The data group being read in after ATN* has just become TRUE may miss its first bite.

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

Dividing and reading in measured data line after line.

7 0

PRINT @1; “FM0, 001,010”

8 0

LINE INPUT @1; D$: PRINT D$

9 0

LINE INPUT@1; D$: PRINT D$

100 IF MID$ (D$, 2, 1)<>“E” THEN 90

“LINE INPUT@1; D$:PRINT D$” in line 90 re-specifies the talker address. Therefore ATN
becomes TRUE before the third data group is being read in.

Precaution:

7 0

PRINT @1; “FM0, 001,010”

8 0

LINE INPUT @1; D$: PRINT D$

9 0

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 line 90.
ATN won’t become TRUE if the talker address is not re-specified.
It’s not necessary to re-specify when reading in data from the same address.

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

Advertising