This manual contains proprietary information, which is protected by
copyright. All rights are reserved. No part of this manual may be
photocopied, reproduced or translated to another language without
prior written consent of National Instruments.
The information in this manual was correct at the time of printing.
However, National Instruments continues to improve products and
reserves the right to change specification, equipment, and
maintenance procedures at any time without notice.
STATUS REGISTERS ............................................... 173
Status Register Overview ....................... 173
4
RMX-4000 Series Programming Manual
AWG
24
STRIP GAUGE
10.0 mm
1
CH CONT 11CH CONT 21CH CONT 31CH CONT 4
1
CH CONT 51CH CONT 61CH CONT 71CH CONT 8
SER. NO. LB
2
1
FRAME CONT
GO / NG OUTPUT
GPIB
RS232C
DISCONNECT POWER CORD
BEFORE REPLACING FUSE
50/60 Hz
180 VA MAX
AC
250V
T 3.15A
REPLACE FUSE
115V
230V
FUSE RATING
AS SPECIFIED
WARNING
TO AVOID ELECTRIC SHOCK THE POWER CORD PROTECTIVE
DO NOT REMOVE COVERS. REFER SERVICING TO QUALIFIED PERSONNEL.
250V FUSE OF THE SPECIFIED TYPE AND RATING.
FOR CONTINUED FIRE PROTECTION. REPLACE FUSE ONLY WITH
NO OPERATOR SERVICEABLE COMPONENTS INSIDE.
GROUNDING CONDUCTOR MUST BE CONNECTED TO GROUND.
Go/NoGo
Output
GPIB
RS232C
USB-B
terminal
USB-A
terminal
Frame Control 1,2
Power switch,
Power Socket, Fuse
Channel
Control, 1~8
GROUNDING CONDUCTOR MUST BE CONNECTED TO GROUND.
NO OPERATOR SERVICEABLE COMPONENTS INSIDE.
FOR CONTINUED FIRE PROTECTION. REPLACE FUSE ONLYWITH
250V FUSE OF THE SPECIFIED TYPE AND RATING.
DO NOT REMOVE COVERS. REFER SERVICING TO QUALIFIED PERSONNEL.
TO AVOID ELECTRIC SHOCK THE POWER CORD PROTECTIVE
WARNING
ASSPECIFIED
FUSE RATING
230V
115V
REPLACE FUSE
T 3.15A
250V
AC
120 VAMAX
50/60 Hz
BEFORE REPLACING FUSE
DISCONNECT POWER CORD
RS232C
GPIB
GO / NG OUTPUT
FRAME CONT
1
2
SER. NO. LB
CH CONT 41CH CONT 31CH CONT 21CH CONT 1
1
10.0 mm
STRIP GAUGE
AWG 24
Power switch,
Power Socket, Fuse
Channel
Control, 1~4
Go/NoGo
Output
GPIB
RS232C
USB-B
terminal
USB-A
terminal
Frame Control 1,2
LAN
LAN
INTERFACE OVERVIEW
This manual describes how to use the RMX-400x
remote command functionality and lists the
command details. The Overview chapter describes
how to configure the RMX-400x USB/RS232
remote control interface.
Rear Panel Overview
RMX-4002
RMX-4000
5
RMX-4000 Series Programming Manual
USB
PC side connector
Type A, host
RMX
connector
Type B,
Speed
1.1/2.0 (full speed)
Panel
1.
UTILITY
HELP
SHIFT
2.
F3
O
USB
Interface
Configure
Other
System
Info
InterfaceLoad
LOAD
USB
3.
4.
Configuring the USB Interface
Connection
Operat ion
-400x side
device
Press the Shift and Help keys to
access the Utility menu.
Press F3 (Interface Menu).
6
If the interface is not USB, use the
selector knob to choose USB.
Connect the USB cable to the
USB-B slave port on the rear.
RMX-4000 Series Programming Manual
5.
website, ni.com.).
6.
Panel → System → Hardware tab.
7.
8.
details.
When the PC asks for the USB driver, select
pel_cdc_2000.inf (downloadable from the RMX400x product page on the National Instruments
On the PC, activate a terminal application such
as MTTTY (Multi-Threaded TTY). To check the
COM port number, refer to the Device Manager
in the PC. For Windows XP, select Control
Run this query command via the terminal
application:
*idn?
This command should return the manufacturer,
model number, serial number, and firmware
version in the following format:
NATIONAL INSTRUMENTS, RMX-4002, NI
00000001, V2.08T
You have finished configuring the command
interface. Refer to the other chapters for more
7
RMX-4000 Series Programming Manual
R
C
Con
D
Baud rate
2400, 4800, 9600
Parity
None, Odd, Even
Data bit
8 (fixed)
Stop bit
1, 2
Panel
1.
2.
F3
O
RS232
Interface
ConfigureOther
System
Info
InterfaceLoad
Baud rate
Stop Bit
Parity
38400
1
None
LOAD
RS232
3.
RS232C Interface Configurat ion
S232C
onfigurat ion
nector
B-9, Male
, 19200, 38400
Operat ion
Press the Shift and Help keys to
access the Utility menu.
Press F3 (Interface Menu).
If the interface is not set to RS232,
use the selector knob to change
the interface to RS232.
8
RMX-4000 Series Programming Manual
4.
parity.
Baud
2400, 4800, 9600, 19200, 384
Stop
1,2
Parity
None,
5.
RS232C
Terminal
A
Invoke
(Multi
•
To check the CO
the Device Man
select
6.
Stop bits – None
Edit the baud rate, stop bit, and
pplicat ion
rate
bit range
range
Odd, Even
00
Connect the RS232C cable to the
rear panel port DB-9 male
connector.
a terminal application such as MTTTY
-Threaded TTY).
For RS232C, set the COM port, baud rate, stop
bit, data bit, and parity accordingly.
M port No. for RS232C, refer to
ager in the PC. For Windows XP,
Control Panel → System → Hardware tab.
Ensure the terminal application has the
following settings:
Baud rate – as per RMX-400x settings
Com port – as per PC settings (Device
Manager)
Parity – None
Data bits – 8
9
Functionality
C
heck
Run this query command via the terminal
*idn?
This should return the
number,
the following
NATIONAL INSTRU
00000001, V2.08T
Pin
15
6 9
2: RxD (Receive data)
3: TxD (Transmit data)
5: GND
1,
PC
Use the Null Modem connection as s
following
Pin 2 RxD
Pin 3 TxD
Pin 5 GND
Pin 2 RxD
Pin 3 TxD
Pin 5 GND
PEL seriesPC
RMX-4000 Series Programming Manual
:
manufacturer, model
serial number, and firmware version in
format:
MENTS, RMX-4000/4002, NI
Assignment
Connect ion
diagram.
10
4, 6, 7,8, 9: No connection
hown in the
RMX-4000 Series Programming Manual
Compat ible
S
•
•
Command
There are
and queries. A command sends inst
data to the electronic load
data or status information from the electronic load.
Command Types
Simple
A single
a parameter
Example
*O
Compound
Two or more commands
separated by a colon (:)
w
Example
UTILITY
Query
A query is a simple or compound
command followed by a question
mark (?).
ret
Example
UTILITY:SOUND?
COMMAND OVERVIEW
The Command overview chapter lists all the RMX400x commands and command queries. The
command syntax section describes the basic rules
you must apply when using commands.
Command Syntax
IEEE488.2, 1992 (fully compatible)
tandard
SCPI, 1994 (partially compatible)
Typ es
several different instrument commands
ructions or
, and a query receives
command with/without
PC
ith/without a parameter
:SOUND 1
A parameter (data) is
urned.
11
Comma
nd Forms
Commands and queries have two different forms,
long
with the short form of the command in capitals
and the remainder (long form) in lower case.
Short
FETCh
:
VOLTage?
Short
Long
You can write
case,
complete. An incomplete comm
recognized.
Below are exa
commands.
LONG
F E TC h :VO LTa ge ?
FETCH:VO
fetch:voltage?
SHORT
FETC:VO
fetc:volt?
Square Brackets
Commands that
that the contents are optio
function is the same wit
bracketed items
Example:
:
= :
= :
Co
F
1
2
3
4
:PROGram:CHAin
<NR1>LF
1:
2:
3:
4:
RMX-4000 Series Programming Manual
and short. The command syntax is written
the commands in capitals or lower
as long as the short or long forms are
and will not be
mples of correctly written
mmand
ormat
12
LOAD[:STATe]
LT?
contain squares brackets indicate
, as shown below.
LOAD:STATe
LOAD
nal. The command
h or without the square
Command header
Single space
Parameter
Message terminator
LTAGE?
RMX-4000 Series Programming Manual
Parameter
Typ e D
Example
<Boolean>
Boolean
0, 1
<NR1>
integers
0, 1, 2, 3
<NR2>
decimal numbers
0.1, 3.14, 8.5
<NR3>
floatin
4.5e
<NRf>
any of NR1, 2, 3
1, 1.5, 4.5e
<NRf+>
NRf type
including MIN
(minimum) and
MAX (maximum)
limits of the
parameter
Common Commands ............................... 24
COMMAND DETAILS
The Command Details chapter describes the
detailed syntax, equivalent panel operation, and
example for each command. For the list of all
commands, refer to page 14. Before programming
the RMX-400x electronic load, become familiar
with the Status registers, detailed on page 173.
The
determines which events in the Standard Event
Status E
Bit (ESB) of the Status Byte register. Any bit
positions set to 1 enable the cor
Any enab
Byte register.
Synt
*ESE <NRf>
Parameter
<NRf>
Bit(s) Set
<NRf>
Bit(s) Set
4 QYE 32 CME
8 DDE 64 ~
16 EXE 128 ~
Example
*ESE 4
Sets CME and
events
Event Status Event
Register.
Query Syntax
*ESE?
Return Parameter
<NR1>
Bit(s) Set
<NR1>
Bi
4 Q
32 CME
QYE 8 DDE 64 ~
16 EXE 128 ~
Example
*ESE?
40
Returns the settings in
the Standard Event
Sta
Here
enabled.
2B*ESR?
Status Command
Standard Event Status Enable command
vent register can set the Event Summary
responding event.
led events set bit 5 (ESB) of the Status
Refer to page 180.
ax
0
DDE
in the Standard
YE
t(s) Set
tus Enable Register.
CME and QYE are
25
RMX-4000 Series Programming Manual
Descript ion
Reads the Standard Event Status Register. This
command also
Register.
Query S
*
Return Parameter
<NR
Bit(s) Set
<NR1>
Bit(s) Set
4 QYE 32 CME
8 DDE 64 ~
16 EXE 128 ~
Example
*ESR
48
The return value i
status
standard Event Status
Register.
3B
System Command
Descript ion
Returns th
Que
*IDN?
Return Parameter
<aard>
Data
<aard>
Data
NATIONAL
INSTRUMENTS
Manufacturer
NI
00000001
Seri
RMX
Model
V2.08T
Firmware
Version
Example
*IDN?
NATIONAL INSTRUMENTS,
RMX
V2.08T
Retur
mainframe
identific
4B*OPC
Status Command
Descript ion
This command
Bit)
after
operations
clears the Standard Event Status
Refer to page 179.
*IDN?
ry Syntax
yntax
ESR?
1>
-4002
?
e electronic load identification.
s the
reading of the
al No.
-4002, NI 00000001,
sets the OPC (Operation Command
bit (bit 0) of the Standard Event Status Register
the mainframe has completed all pending
. Refer to page 179.
26
ns the
ation string.
RMX-4000 Series Programming Manual
Syntax
*OPC
Example
*OPC
Sets the OPC bit.
Query
*OPC?
Return Parameter
<NR1>
Operat ion
<NR1>
O
0 P
1 Complete
Query
*OPC?
1
All pending operations
are completed.
5B*RCL
Status Command
D
The Recall Inst
instrument settings from a previously saved
memory setting.
Syntax
*
Parameter
<NRf>
Recall Memory Sett ing
1~120
1~120
Example
*RCL 1
Recalls
1
6B*RDT?
System Command
Descript ion
Returns the
order from
returned
Query
*RDT?
Return
<aard>
Occupied
2020L RMX
0 Empty channel
Syntax
Example
escription
ending
peration
rument State command restores the
RCL <NRf>
setting memory
.
.
Syntax
Parameter
load module type in each channel in
1~8. If no frame is present, a 0 is
channel
-4003 left channel
27
RMX-4000 Series Programming Manual
Query
*RDT?
0,0
Chan
empty;
load module
channels
Example
,2020L,2020R,0,0,0,0
nels 1-2 and 5-8 are
the RMX-4003
occupies
3-4.
28
RMX-4000 Series Programming Manual
7B*RST
Status Command
Descript ion
Resets the m
and
Syntax
*RST
Example
*RST
8B*SAV
All
Descript ion
Save
Syntax
*
Parameter
<NR
Save slot
1~120
1~120
E
*SAV 2
Saves data memory to
save slot 2.
9B*SRE
Status Command
Descript ion
The
which events in
MSS (Master summary bit)
causes
Refer to page 181 for details.
Syntax
*SRE <NRf>
Parameter
<NRf>
Bit(s) Set
<NRf>
Bit(
4 CSUM
32 ESB
8 QUES
16 MAV
Example
*SRE 12
Sets bits CSUM and
QUES in the Service
Request Enable register.
ainframe by forcing the ABORt, *CLS,
LOAD:PROT:CLE command.
xample
-Channels
s the data memory into the specified save slot.
SAV <NR1>
1>
Service Request Enable Command determines
the Status Byte Register can set the
. Any bit set to “1”
the MSS bit to be set.
s) Set
29
RMX-4000 Series Programming Manual
Query Syn
*SRE?
Re
<NR1>
Bit(s) Set
<NRf>
Bit(s) Set
4 CSUM
32 ESB
8 QUES
16 MAV
Example
*SRE?
48
Re
Ser
Register. Here ESB and
MAV are returned.
10B*STB?
Status Command
Descript ion
Reads the Sta
c
If the Master Summary Status bit (MSS) is set, i
indicates there is a re
Query Syntax
*STB
Return Parameter
<NRf>
Bit(s) Set
<NRf>
Bit(s) Set
4 CSUM
32 ESB
8 QUES
64 MSS
16 MAV
Query Example
*STB?
36
Returns status of a byte
query in the Status Byte
Register. Here
and ESB are returned.
11B*TST?
Status Command
Descript ion
Performs a system self
passed. 1 is re
Query
*
Return Parameter
<NR1>
Test result
<NR1>
Test result
tax
turn Parameter
turns settings of the
vice Request Enable
tus Query Byte Register. The *STB?
ommand does not clear the register.
ason for a service request.
t
turned if a test failed.
Syntax
30
TST?
CSUM
-test and returns 0 if all tests
Loading...
+ 151 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.