6-10 ML24XXA NATIVE
COMMANDS
This sec tion pro vides an al pha bet i cal list ing of the GPIB com mands (mne mon -
ics) used to pro gram the Model ML2400A Se ries Power Me ter in ML24XXA
(na tive) mode. The em u la tion mode can be set through the front panel
SYSTEM|more|more|Rear panel|GPIB|MODE menu (see Chap ter 4, Op er a tion)
or through the GPIB com mand EMUL (page 6-36 ).
All ML24XXA (na tive) GPIB com mands that use pa ram e ters must
have a
space be tween the com mand header and the first pa ram e ter, and all sub se -
quent pa ram e ters must
be sep a rated by a comma (,). Mul ti ple com mands may
be sent on the same line, but must be sep a rated by a semi co lon (;).
The for mat for ML24XXA (na tive) GPIB com mands is:
<com mand header><space><pa rame ter 1>,<pa rame ter n>,...
The end of the com mand text must be ter mi nated with a line feed char ac ter
(0Ah, dec i mal 10) or a GPIB End of Trans mis sion State (EOI), or both.
*CLS Clear GPIB status bytes
GPIB 488.2
Syn tax: *CLS
Re marks: This com mand per forms a status data struc ture clear com mand. The
event status reg is ter and the status reg is ter are cleared ex cept for the
MAV bit. *CLS does not clear the out put buffer.
*ESE Event Status byte En able
GPIB 488.2
Syn tax: *ESE <val>
val: 8- bit mask
Re marks: Sets the Stan dard Event Status En able Reg is ter bits (see Fig ure 6-2):
Bit 7: Power ON, when there has been a tran si tion from a power OFF
state to a power ON state.
Bit 5: Com mand Er ror. This bit is set when an in cor rect GPIB code is
sent to the power me ter.
Bit 4: Exe cu tion Er ror. This bit is set when in cor rect data is sent to the
power me ter, e.g., ADDR 57 would re sult in an Exe cu tion Er ror as the
al low able ad dress value range is 1 to 30.
Bit 3: De vice De pend ent Er ror (DDE). This bit is set true when ever a
meas ure ment er ror oc curs. De vice De pend ent Er rors are:
ZERO fail - Zero at tempted for a sen sor and failed.
CAL 0 dBm fail - 0 dBm value to far out.
Dis play chan nel number goes out of dis play able range -
Dis play able range is +99.999 to –99.999 dBm.
Il le gal log cal cu la tion for a chan nel - When a chan nel in put
6-12 ML2400A OM
ML24XXA NATIVE COMMANDS GPIB OPERATION