EasyManua.ls Logo

IOtech Digital488OEM - Status un

Default Icon
64 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3-12, Command Descriptions 7-17-01 Digital488 User’s Manual
DIO5
The DIO5 bit is set after an entire command string has been received and
processed by the Digital488. The bit is clear while the Digital488 is processing
commands that have been received from the controller. When used with the M16
command, a Service Request will also be generated when the DIO5 bit is set. An
Execute command (X) must be received before the DIO5 bit can be cleared.
DIO6
DIO6 is not used, and is always a logic zero.
DIO7
When the Digital488 generates a Service Request, the DIO7 will be set
to a logic one. This is used by the controller to determine that the Service Request
was generated by the Digital488.
DIO8
DIO8 is not used, and is always a logic zero.
Example:
CLEAR 718
reset the Digital488
OUTPUT 718;"M4X"
select SRQ on Bus error
OUTPUT 718;"F7X"
send an invalid bus command.
ERROR and SRQ LEDs should illuminate
SPOLL (718)
display should be 84 (64+16+4)
Sixty-four denotes the Digital488 was the source of the SRQ. Sixteen denotes the Digital488 is READY
for more commands. Four denotes a Bus error.
When serial polled, the SRQ LED will turn off.
Status Un
The Status command (U0) will cause the Digital488 to send the status message when next addressed to
talk. The status of the Digital488 may be read at any time without interfering with normal operation. Any
error conditions are cleared after the status string is read by the controller. The Status command (Un) also
enables the controller to read any single bit from the I/O ports (U1 through U40).
U0
Send the Digital488 status when next addressed to talk
Un
Send the status of bit n (1 thru 40) when next addressed to talk
The format of the status byte returned by the Digital488 after receiving a U0 command is as follows:
*.*C#E#F#G#I###K#M###P#R#Y#
where each # equals the number corresponding to that command. The leading information *.* is the
revision level of the Digital488 firmware.
Example:
DIM A$[50]
dimension A$
CLEAR 718
reset the Digital488
OUTPUT 718;"U0X"
send U0 to the Digital488
ENTER 718; A$
read the status byte
DISP A$
display =
1.0C0E0F0G0I000K0M000P0R0Y0

Table of Contents