8013: APPLICATION
8013 SCPI COMMAND TREE
SCPI Commands
Short Form Cmds
SYSTem
System Settings
:ERRor?
:VERSion?
CONFigure
Configure I/O
[:DIGital]
:INPut
<channel list>
N
:POLarity
0 | 1
TPn
:HANDshake
<boolean>
TBn
:OUTput
<channel list>
LN
:POLarity
0 | 1
LPn
:HANDshake
<boolean>
LH
:CLEar
0 | 1
:EDR
0 | 1
E
:INHibit
0 | 1
I
:REMote
0 | 1
R
:RESet
0 | 1
X
:STRobe
0 | 1
S
:TRIGger
0 | 1
TR
:ASTATus
0 | 1
A
:BSTATus
0 | 1
B
FORmat
:TALK
<ASCii | Hex | HEXL | Table>
:TRANSlation
<16 char string>
:LISTen
<ASCii | Hex | HEXL | 4833>
ROUTe
Bit Commands
:CLOSe
byte, bit
CLOSE
:OPEN
byte, bit
OPEN
:RESET
byte
BRESET
:PULSe
byte,bit
PL
:CHANnel
number or channel list
PC
:WIDTh
10-30000 [50]
PW
SENSe
Input Data
[:DIGital]
:DATA
[:VALue]?
PI?
:PORT?
number or <channel list>
BI?
:PORTn?
BIn?
:POLarity?
IPn
:RESet:EDR
ER
:BIT?
0-1
READ?
:BYTe?
0-255
BREAD?
[SOURce]
Output Data
[:DIGital]
:DATA
[:VALue]
0-255
PO
:PORTn
0-255
BOn
:POLarity
0-255
OPn
:STRobe
SP
CALibrate
Calibrate Configuration
:IDN
string (72 char max)
:DATe
mm/dd/yy
:DEFault
:LOCK
1(On)| 0(Off) [0]
Figure 3 8013 SCPI Command Tree
SCPI and Short Form Commands
Figure 3 shows the 8013's SCPI Command Tree which contains
the configuration and data transfer commands. SCPI commands
branch out from a root command. e.g. 'CONF:INP:POL 1' starts
with the CONF root word and branches down to INPut and then to
POLarity. Most functions can also be queried to verify the com-
mand setting. SCPI commands have an advantage in that they are
self-documenting and make it easy to maintain your code. Most
8013 SCPI commands also have a corresponding Short Form com-
mand for quick programming.
The CONFigure branch assigns the input-output bytes for string
data transfer and sets their data polarity and handshaking rules. The
CONFigure branch also sets the control signal polarities.
The FORMat branch sets the data conversion method and the
characters in the user's Talk conversion table.
The SENSe branch gives the user a way to read digital data from
a single byte or from the configured input bytes. When reading
data from a specific byte, input data polarity can be assigned on a
bit-by-bit basis.
The SOURce branch provides a way to write values to a byte or
to the configured output bytes. When data is outputted to a specific
byte, output data polarity can be assigned on a bit-by-bit basis.
The STATus branch (not shown) is used to setup and query the
Operational and Questionable registers so that changes in the digital
inputs or status inputs can be used to generate 488 Service Requests
(SRQs). The Questionable registers can be used to monitor and query
the first 15 digital I/O lines. The Operational registers can be used
to examine or monitor the two external Status inputs.
The CALibrate branch provides a way to customize the 8013
with the user's own IDN message and to lockout the configuration
parameters from being changed by the end user. The DEFault com-
mand restores the 8013 to ICS's factory defaults.
Firmware Customization
The 8013's firmware allows the user to store a custom IDN mes-
sage and other parameters in the 8013's Flash memory which makes
the 8013 appear as part of the OEM's product. The IDN message
can be changed to show the OEM's company and product identifica-
tion including serial number and product revision. A lock function
hides the setup variables from the end user and prevents accidental
changes to the setup.
The 8013 has an internal WebServer with HTML web pages that
the user can customize so that the HTML pages match your compny's
colors and theme. ICS supplies a utility for uploading your HTML
pages and graphics to the 8013. These changes let the end user see
your company's logo, name, color and control labels which further
personalizes the 8013 as part of your product.
Application Bulletin AB80-5 provides guidelines and detailed
directions for how the OEM can customize the 8013's web pages.