GP485A TDK Corporation, GP485A Datasheet - Page 25

no-image

GP485A

Manufacturer Part Number
GP485A
Description
GPIB CONTROLLER
Manufacturer
TDK Corporation
Series
ZUPr
Datasheets

Specifications of GP485A

Accessory Type
Controller
For Use With/related Products
ZUP Series
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4846340
Table 5-5: functions syntax contd.
srqen [mask]<
st
or
st
or
st
at [[c] n]<
at [c] s<
at [c] n s<
CR
CR
CR
>
CR
>
>
>
Use
currently present.
error.
n - Returned status information as numeric string.
s - Returned status information in symbolic format (mnemonic string).
c - Returns status information after each programming message eliminating
* Call
* When calling
* The
Use
in Table 5-5-1.
mask= 0 never assert
To determine the mask value, add up the hex or decimal values of each
condition of which
Example: for asserting
*
* call
*
Example:
1. WRT$=”
2. WRT$=”
Table 5-5-1: SRQ mask bits
always returned first.
serial error code and a count which indicates the number of bytes currently
contained in the GP485 serial port receive buffer. The GP485 returns
final <LF> that comes after count.
Bit
current setting.
a <CR><LF> following each piece of the response and asserts
srq
srq
0
1
2
3
4
5
6
7
the need to call
CALL IBWRT(GP485%, WRT$)
CALL IBWRT(GP485%, WRT$)
st
srq
en mode is disabled by default -
srq
en remains in effect until
st
st
Value
at to obtain the status of the GP485 to see if certain conditions are
Hex
10
20
40
80
at without an argument, continuous status reporting is disabled.
at contains four pieces of information: GP485 status, GPIB error code,
>0 assert
1
2
4
8
en to allow the GP485 to assert
en without an argument returns a decimal string that indicates the
( 4 for GERR and 8 for SERR ).
srq
srq
Decimal
st
Value
128
en 0”+CHR$(13)
en 4”+CHR$(13)
16
32
64
1
2
4
8
at with both n and s modes specified, the numeric status is
st
SRQ
SRQ
st
at is used to see if the previous operation resulted in an
at after each programming message.
SRQ
Mnemonic Description
SRQ
* according to Table 5-5-1
* is to be asserted.
GERR
SERR
BNE
EOS
BF
-
-
-
*
* on GPIB errors and serial port errors mask=12
srq
en called again, call nl or turn off GP485.
Not used
Serial port receive buffer full and serial
device not addressed to talk
GPIB error - (see
Serial error - (see
Serial port receive buffer not empty and
serial device not addressed to talk
EOS character received and serial
device not addressed to talk
Not used
Not used
SRQ
SRQ
‘Never assert
‘Asserts
‘GPIB error occurs.
* never asserted.
* under the conditions described
SRQ
st
st
SRQ
* when a
o
at)
at)
*
EOI
* with the

Related parts for GP485A