Measurement-computing Digital488/80A Uživatelský manuál Strana 50

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 106
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 49
Command Summary
The following summary presents all 23 of the Digital488/80A commands in alphabetical order according to
their command syntax, plus the Query (
?) command support.
Command Syntax Description
A
Bit Set
Abit Set bit to logic 1, where bit = bit value from 1 to 40.
A? Returns bit of the last bit that was set.
B
Bit Clear
Bbit Clear bit to logic 0, where bit = bit value from 1 to 40.
B? Returns bit of the last bit that was cleared.
C
Configuration
Cn Define I/O mode n of ports, where n = value from 0 to 5.
C0
(Default) Define all 5 ports as input.
C1
Define Port 1 as output; the other ports are input.
C2
Define Ports 1 and 2 as output; the other ports are input.
C3
Define Ports 1 through 3 as output; the other ports are input.
C4
Define Ports 1 through 4 as output; Port 5 is input.
C5
Define all 5 ports as output.
C? Returns current port configuration mode n.
D
Data Output
DvalZ Define data to be outputted, where val = data value,
terminated by
Z.
Note:
In the Format
F4 mode, the Z terminator suffix is not used. In
the Format
F5 mode, both the D command prefix and the Z
terminator suffix are not used.
E?
Query Error Status
E?
Returns error status code which indicates the last error
encountered. It returns:
E0 if No Error has occurred.
E1 if Unrecognized Command.
E2 if Invalid Command Parameter.
E3 if Command Conflict Error.
E5 if Non-Volatile RAM Checksum Failure.
E6 if Internal Data Buffer Overrun.
Note:
Except for
E5, error is cleared upon reading error status.
F
Data Format
Fn Define format n of data, where n = value from 0 to 5.
F0
(Default) Define ASCII hexadecimal (4 bits per character).
F1
Define ASCII character (4 bits per character).
F2
Define ASCII binary (1 bit per character).
F3
Define ASCII decimal (8 bits per number).
F4
Define Binary (each byte = 8 bits).
F5
Define High-speed binary (each byte = 8 bits).
F? Returns current data format n.
G
Bus Input/Output
Gn Define mode n of data transmission on the IEEE 488 bus when
the Digital488/80A is addressed to Talk, where n = value
from
0 to 4.
G0
(Default) Input and output port data are sent when addressed to
Talk.
G1
Only input port data is sent
G2
Only output port data is sent
G3
Buffered input and output data are sent
G4
Continuous buffered input and output data are sent
G? Returns current bus input/output mode n.
Note:
The amount of data sent is dependent upon the Port Select (
P)
command.
44 Digital488/80A Commands
967695 Digital488/80A User's Manual
Zobrazit stránku 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 105 106

Komentáře k této Příručce

Žádné komentáře