Communication Command Handling Instruction Manual 3390 Power Analyzer 9 This instruction manual handles only parts related to commands. 9 For communication settings, please refer to the instruction manual for the main unit 9 Care has been taken to ensure the accuracy of the contents in this instruction manual, however, please approach HIOKI’s Sales Planning Division or your nearest HIOKI dealer should you have any queries or found any mistakes. 9 Improvements may be made to this instruction manual without prior notice. 9 Unauthorized reproduction or copying of this instruction manual is prohibited. Inquiries HIOKI E. E. Corporation Sales Planning Division Address 81, Koizumi, Ueda, Nagano 386-1192 TEL 0268-28-0560 FAX 0268-28-0569 E-mail [email protected]URL http://www.hioki.co.jp HIOKI E. E. Corporation
92
Embed
Communication Command Handling Instruction Manual - Hioki
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Communication Command Handling Instruction Manual
3390
Power Analyzer
This instruction manual handles only parts related to commands.
For communication settings, please refer to the instruction manual for the main unit
Care has been taken to ensure the accuracy of the contents in this instruction
manual, however, please approach HIOKI’s Sales Planning Division or your
nearest HIOKI dealer should you have any queries or found any mistakes.
Improvements may be made to this instruction manual without prior notice.
Unauthorized reproduction or copying of this instruction manual is prohibited.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
1. Communication Command Overview The 3390 Power Analyzer uses a TCP/IP connection to control the functions, and acquire measurement data and record data from a PC connected by LAN through text commands and queries. The port number of TCP/IP is fixed to 3390.
Commands/Messages
Data sent and received from the communication device are called messages and are classified as
follows.
Message
Program Message
Response Message
Command Program Message
Query Program Message
Program Message Message sent from the controller to the instrument.
Response Message Message sent from the instrument to the controller. This message is created at
the time when a query program message is received and syntax checked.
Command Program
Message
Command to control settings and resetting of the instrument.
Query Program
Message
Order to interrogate instrument on operation results, measurement results,
and setting status.
Command/Program message, and Query Program Message are collectively known as commands.
Command Syntax
Commands are accepted in uppercase, lowercase or a mixture of both types of letters. Command names are chosen to mnemonically represent their function, and can be abbreviated. The full command name is called the "long form", and the abbreviated name is called the "short form". The command references in this manual indicate the short form in uppercase letters, extended to the long form in lower case letters. The response message from the main device is returned as long form in uppercase letters.
Example
Description as shown in this manual
(Command Name)
Short Form
Long Form
DISPlay DISP DISPLAY
A mixture of uppercase and lowercase letters such as DiSpLay is accepted, but DISPLA, DISPL and DIS are considered as errors.
6/92
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
Command Program Header
A header shows what kind of function that command has.
A command always requires a header and comes in three types, “Simple Command Type”, “Compound
Command Type”, and “Standard Command Type”.
Types of Commands Description
Explanation
Simple Command Type
A sequence of letters
[Example] :HEADer ON
Compound Command
Type
Multiple simple command type headers separated by colons ":"
[Example] :VOLTage1:RANGe 600
Standard Command
Type
Begins with an asterisk "*", indicating that it is a standard command defined
by IEEE 488.2.
[Example] *RST
Data
Simple Command Type
Data
Compound Command Type
Query Program Header
These commands are used to interrogate the instrument about the results of operations and settings. A
query is formed by appending a question mark "?" after a program header
Types of Commands Description
Simple Command Type
A sequence of letters
[Example] :HEADer?
Compound Command
Type
Multiple simple command type headers separated by colons ":"
[Example] :VOLTage1:RANGe?
Standard Command
Type
Begins with an asterisk "*", indicating that it is a standard command defined
by IEEE 488.2.
[Example] *IDN?
Simple Command Type
Compound Command Type
7/92
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
Response Message
The response message to a query, like the program message, consists of the header and data and is in
principle outputted in the same format as the program message in response to the query. The header
can be omitted.
[Example]
Query Program Message :VOLTage1:RANGe?
Response Message :VOLTAGE1:RANGE 300
300
(When header is ON)
(When header is OFF)
Terminator and Separator
(1) Message Terminator The message terminator means the division of one message forwarding.
However, there is no message in the terminator.
Main instrument/Communication
Software Setting
ANSI Word
code
(hexadecimal)
Meaning English Name
CR+LF 0Dh 0Ah Recovery +
Change line Carriage Return + Line Feed
(2) Message Unit Separator The semicolon ";" is a message unit separator and is used to write multiple messages in one line.
[Example] :VOLTage1:RANGe 600;:CURRent:RANGe 50
(3) Header Separator In a message containing header and data, a space (header separator) is used to separate the header
from the data.
[Example] :VOLTage1:RANGe 600
(4) Data Separator In a message containing multiple data items, commas are used to separate the data items from one
another.
[Example] :AOUT:ITEM Urms1,Irms1,P1,Q1,S1,PF1
Data Separator
Header Separator
Message Unit Separator
8/92
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
9/92
Multiple-Command Header Omission
When several commands having a common header are combined to form a compound command
if they are written together in sequence, the common portion can be omitted. This common portion is
called the "current path", and until it is cleared, the interpretation of subsequent commands presumes
that they share the same common portion.
This usage of the current path is shown in the following example:
Full Expression :VOLTage1:RANGe 600;:VOLTage1:MEAN OFF
Compacted Expression :VOLTage1:RANGe 600;MEAN OFF
The current path is cleared when the power is turned on, when reset by key input, by a colon ":" at the
start of a command, and when a message terminator is detected.
Standard command messages can be executed regardless of the current path. They have no effect
upon the current path.
A colon ":" is not required at the start of the header of a Simple or Compound command. However, to
avoid confusion with abbreviated forms and operating mistakes, we recommend always placing a colon
at the start of a header.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
10/92
2. Command Reference (Standard Command) Clear Standard Event Status Register (SESR) (except Output Queue)
Syntax Command *CLS
Example Clear Event Register. (SESR)
Note ・No effect on Output Cue.
Read Standard Event Status Register (SESR)
Syntax Query *ESR? Example Return SESR Contents as NR1 numerical values 0-255.
PON: Power-On Flag. Set to 1 when the power is turned on, or upon recovery from an outage. URQ:User Request. Unused. CME:Command error. (The command to the message terminator is ignored.)
This bit is set to 1 when a received command contains a syntactic or semantic error: • Program header error • Incorrect number of data parameters • Invalid parameter format
EXE: Execution Error This bit is set to 1 when a received command cannot be executed for some reason. • The specified data value is outside of the set range • The specified setting data cannot be set (Invalid data format) • Cannot be executed when another function is in operation (during hold, integration, etc.)
DDE:Device-Dependent Error This bit is set to 1 when a command cannot be executed due to some reason other than a command error, a query error or an execution error. • Execution is impossible due to an internal instrument fault
QYE:Query Error (the output queue is cleared) This bit is set to "1" when an abnormality occurs in processing an output queue. • When the data overflows the output queue
Query Returns the subnet mask setting as a numerical value.
Example Command :IP:SUBN 255,255,255,0
Set the subnet mask to 255,255,255,0.
Query :IP:SUBN?
Response :IP:SUBNETMASK 255,255,255,000 (WHEN HEADER IS ON)
255,255,255,000 (WHEN HEADER IS OFF)
Set and Query Key Lock
Syntax Command :KEYLock <ON/OFF>
Query :KEYLock?
Response ON : Turn key lock on.
OFF : Turn key lock off.
Description Command Sets the key lock ON/OFF.
Query Returns the key lock setting as ON or OFF.
Example Command :KEYL ON
Set the key lock ON.
Query :KEYL?
Response :KEYLOCK ON (WHEN HEADER IS ON)
ON (WHEN HEADER IS OFF)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
58/92
Set and Query Main Instrument Display Language
Syntax Command :LANGuage <Language>
Query :LANGuage?
Response <Language> :JAPANESE/ENGLISH/CHINESE
Description Command Sets the display language for the main instrument.
Query Returns the display language setting for the main instrument as
a character string.
Example Command :LANG ENGLISH
Set the display language of the main instrument to English.
Query :LANG?
Response :LANGUAGE ENGLISH (WHEN HEADER IS ON)
ENGLISH (WHEN HEADER IS OFF)
Select and Query Low Pulse Filter (LPF)
Syntax Command :LPF[CH] <OFF/500Hz/5kHz/100kHz>
Query :LPF[CH]?
[CH] ・・・・ 1,2,3,4
Response <OFF/500Hz/5kHz/100kHz>
Description Command Sets the cutoff frequency for the low pulse filter (LPF).
Query Returns the setting for the cut off frequency for the low pulse filter as a
character string.
Example Command :LPF1 500Hz
Set the cutoff frequency for the low pulse filter of Channel 1 to 500Hz.
Query :LPF1?
Response :LPF1 500Hz (WHEN HEADER IS ON)
500Hz (WHEN HEADER IS OFF)
Note By combining measurement lines (for above IP3W), the settings for the low pulse filters (LPF)
of other channels which are combined are also changed.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
59/92
Query Measurement Data
Syntax Query :MEASure? <Item 1>, <Item 2>, ....... ,<Item 31>,<Item 32> Response <Item 1>, <Item 2>, ....... ,<Item 31>,<Item 32> <Item 1 to 32> : Fundamental measurement item arbitrary within
the parameter. (Refer to 4. Fundamental Measurement Item Parameters) Description Query Item Specified Mode (with parameters) <Item> Describing any part will change it to this mode.
<Item> Create measurement data specified by this. A maximum of 32 items is possible. <Item> Can be arbitrarily specified within the fundamental measurement item parameter, but anything else that is specified will return a command error. <Item> Order is arbitrary. Creates the data in the order specified.
Item No Specified Mode (with no parameters) <Item> If not part is specified, the mode will change to this. Create measurement data of item specified under a type
of :MEASure:ITEM Command. The measurement data order is fixed. (Refer to the output item and order table) Status data is always attached to the beginning of the data.
Example Query :MEAS? Urms1, P1, DEG1 (Example of Item specified mode) Query the voltage RMS, effective power value, and power phase angle of Channel 1.
Response Urms1 151.63E+00,P1 5.74E+00,DEG1 83.80E+00 (WHEN HEADER IS ON) 151.78E+00,5.58E+00,84.00E+00 (WHEN HEADER IS OFF)
Measurement data format
General Measurement value
6 digits including digits after the decimal point Index 2 digits
Integration Value 7 digits including digits after the decimal point Index 2 digits
Time Year/Month/Date Hour/Minute/Second Elapsed time Elapsed Time (ms)
Error Input over +9999, 9E + 99 Note Controls whether to omit the + at the beginning of the fraction and the preceding 0, under
the :TRNSmit:COLumnCommand. If nothing is specified, the beginning of the fraction and the preceding 0 will be omitted (:TRNSmit:COLumn 1)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
60/92
Query Harmonic Measurement Data
Syntax Query :MEASure:HARMonic?
Description Query Creates measurement data of item specified under a type
of :MEASure:ITEM Command.
The measurement data order is fixed. (Refer to the output item and order
table)
Statusdata is always attached to the beginning of the data.
Example Query :MEAS:HARM?
Query the harmonic measurement data.
Response Status F0000000,HU1L001 90.45E+00,HU1D001 100.00E+00
Note Controls whether to omit the + at the beginning of the fraction and the preceding 0, under
the :TRNSmit:COLumnCommand.
If nothing is specified, the beginning of the fraction and the preceding 0 will be omitted
(:TRNSmit:COLumn 1)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
61/92
Query Noise Measurement Value Data
Syntax Query :MEASure:NOISepeak? Description Query Returns the voltage of the noise measurement value, the
frequencies of the top 10 pole current values and numerical values. The measurement data order is fixed. (Refer to the output item and order table) First, ten voltage followed by 10 current values will be outputted from the top in the order of frequency and numerical value.
Example Query :MEAS:NOIS? Query the noise measurement’s voltage and current.
Query Voltage Noise Measurement Value Data
Syntax Query :MEASure:NOISepeak:U? Description Query Returns the frequencies of the top 10 pole voltage values and numerical
values. The measurement data order is fixed. (Refer to the output item and order table) The top 10 voltage values will be outputted from the top in the order of frequency and numerical value (20 data).
Example Query :MEAS:NOIS:U? Query the noise measurement value.
Query Current Noise Measurement Value Data
Syntax Query :MEASure:NOISepeak:I? Description Query Returns the frequencies of the top 10 pole current values and numerical
values. The measurement data order is fixed. (Refer to the output item and order table) The top 10 current values will be outputted from the top in the order of frequency and numerical value (20 data).
Example Query :MEAS:NOIS:I? Query the noise measurement value of the current. Note Controls whether to omit the + at the beginning of the fraction and the preceding 0, under
the :TRNSmit:COLumnCommand.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
62/92
If nothing is specified, the beginning of the fraction and the preceding 0 will be omitted (:TRNSmit:COLumn 1)
Initialize Communication Output Item Data
Syntax Command :MEASure:ITEM:ALLClear
Description Command Initializes the communication output data item.
All communication output data item related to ":MEASure:ITEM:" will be
OFF.
Example Command :MEAS:ITEM:ALLC
Initialize the communication output data item.
Set and Query Efficiency, Loss Calculation Value Communication Output Items
Syntax Command :MEASure:ITEM:EFFiciency <0 to 255>
Query :MEASure:ITEM:EFFiciency?
Response
128 64 32 16 8 4 2 1
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
- LOSS3 LOSS2 LOSS1 - EFFI3 EFFI2 EFFI1
Description Command Sets the efficiency, communication output data items of loss
calculation values between 0 and 255.
Query Returns the setting of efficiency, communication output data items of loss
calculation values with values of 0 – 255.
Example Command :MEAS:ITEM:EFF 17
Set the “1” of the efficiency calculation and the “1” of the loss calculation to
ON.
Query :MEAS:ITEM:EFF?
Response :MEASURE:ITEM:EFF 17 (WHEN HEADER IS ON)
17 (WHEN HEADER IS OFF)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
63/92
Set and Query Communication Output Items of Option Input
Syntax Command :MEASure:ITEM:EXTernalin <0 to 255>
Query :MEASure:ITEM:EXTernalin?
Response
128 64 32 16 8 4 2 1
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
TEMP - - - SLIP PM EXTB EXTA
Description Command Sets the communication output item of the option input as 0 –
255.
Query Returns the setting for the communication output item of the option input as 0
– 255.
Example Command :MEAS:ITEM:EXT 7
Set the EXTA, EXTB, PM of the motor analysis option calculation value to
ON.
Query :MEAS:ITEM:EXT?
Response :MEASURE:ITEM:EXTERNALIN 7 (WHEN HEADER IS ON)
7 (WHEN HEADER IS OFF)
Initialize Harmonic Communication Output Data Items
Syntax Command :MEASure:ITEM:HARMonic:ALLClear
Description Command Initializes the Harmonic communication output data item.
All Harmonic communication output data item set to OFF.
Example Command :MEAS:ITEM:HARM:ALLC
Initialize the Harmonic communication output data item.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
64/92
Select and Query Harmonic List Communication Output Items
Description Command Sets the normal measurement value communication output items of
the various channels as 0 – 255. Query Returns the settings for the normal measurement value communication
output items of the various channels as numerical values. Example Command :MEAS:ITEM:NORM 1,1,1,0,0,1,0,0
Set the voltage, current, effective power, and power factor data of Channel 1 to ON.
Query :MEAS:ITEM:NORM? Response :MEASURE:ITEM:NORMAL 1,1,1,0,0,1,0,0 (WHEN HEADER IS ON)
1,1,1,0,0,1,0,0 (WHEN HEADER IS OFF)
Note When this command is used to turn U to ON, all U items in the specified Channel (:MEASure:ITEM:U) will be ON, when it is used to turn U to OFF, all U items in the specified channel will be OFF. When this command is used to turn I to ON, all I items in the specified Channel (:MEASure:ITEM:I) will be ON, when it is used to turn I to OFF, all I items in the specified channel will be OFF. To specify individually saved items in the U data and I data, use :MEASure:ITEM:U, :MEASure:ITEM:I Command after this command is executed. During Query, if even 1 item of each of the channel is turned to ON, the channel will become ON.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
68/92
Set and Query SUM’s Normal Measurement Value Communication Output Items
H3390001.BMP,44682,M3390000.CSV,578 (WHEN HEADER IS OFF)
Note Up to 90 files displayed from the start of the screen can be acquired.
When more than 90 files exist in the same folder, subsequent file names cannot be acquired.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
72/92
Acquire Folder Name in USB Memory
Syntax Query :MEMory:FOLDername? Response <Folder name>,<Folder name>,<Folder name>,,,,, Folder names will continue for as long as there are folders. When there are no more folders, the words “NO_FOLDER” will be
returned. Description Query Acquires the folder name under the root of the USB memory. Example Query :MEM:FOLD?
Response :MEMORY:FOLDERNAME HI3390 (WHEN HEADER IS ON) HI3390 (WHEN HEADER IS OFF)
Note Up to 215 folders displayed from the start of the screen can be acquired. When more than 215 folders exist in the root, subsequent folder names cannot be acquired.
Acquire File Data in USB Memory
Syntax Query :MEMory:PICKout? <File name>,<Start position (NR1)>
,<Stop position (NR1)>,<Specified folder name> Response <Folder name>,<Start position>,<Stop position>,<Specified folder name> File name :File name to be forwarded
Start position (NRI) :Specify the acquired start position in the file with byte count
Stop position (NRI) :Specify the acquired stop position in the file with byte count
Specified Folder Name:Search for file name under the specified folder When omitted, search for the file name under the root.
Description Query Reads the specified file name under the folder from the USB Memory
from the start position to the stop position, attach STX (02) to the start and ETX (03) to the end of the data to be forwarded, and forward data.
Example Query :CARD:PICK? 02030100.CSV,1,1000,HI3390 Return the 1-100 byte data of the 02030100.CSV file under the HI3390 folder
from USB Memory. Response STX(02)HIOKI 3390・・・・・ETX(03) Note Even when the header is set as ON, headers will not attach to Response data. Specify “1” if the beginning of the file is made the start position. STX/ETX is not a ASCII Code but (02)/(03) of the Binary Data.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
Description Command Selects wiring mode, and set according to the wiring of the
various channels.
Query Sets the wiring mode and returns it as character string of TYPE.
Example Command :MODE TYPE1
Set the wiring modes of all channels to IP2W.
Query :MODE?
Response :MODE TYPE1 (WHEN HEADER IS ON)
TYPE1 (WHEN HEADER IS OFF)
Note The wiring mode setting affects many settings. Try to set it as early as possible.
To set a wiring mode for a combination of multiple channels, the current sensors of the
channels to be combined must be the same.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
74/92
Set and Query Execution Confirmation Message
Syntax Command :RS232c:ANSWer <ON/OFF> Query :RS232c:ANSWer? Response ON: Execution Confirmation Message OFF: No Execution Confirmation Message Description Command Sets the existence of execution confirmation message.
When there is a message, response will return even when the command is being sent, and an execution confirmation message will be attached at the end of the query’s response during query. The execution confirmation message has a 3-digit “nnn” format and shows an error at the nnnth Command.
“000” is shown when there is an error. Query Returns the setting for the execution confirmation message as ON or OFF.
Example Command :RS232:ANSW ON Set the execution confirmation message to ON. Query :RS232:ANSW?
Response :RS232C:ANSWER ON;000 (WHEN HEADER IS ON) ON,000 (WHEN HEADER IS OFF)
Note The command name is RS232C, but is the same operation as when communicating with LAN or USB.
Response The folder name is a character string of up to 8 characters.
Characters that can be used are ASCII characters H’20 – H’7E (except for
" */:<>?¥|).
When “NONE” is specified in the folder name, the root will become the folder
to be saved to.
Description Command Set the folder name of the automatic saving measurement file.
Query Returns the setting for the folder name of the automatic saving
measurement file as a character string.
Example Command :SAVE:AUTO:FOLD AUTO3390
Set the folder name of the automatic saving measurement file to
"AUTO3390".
Query :SAVE:AUTO:FOLD?
Response :SAVE:AUTO:FOLDERNAME AUTO3390 (WHEN HEADER IS ON)
AUTO3390 (WHEN HEADER IS OFF)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
76/92
Set and Query Manual Saving Folder Name
Syntax Command :SAVE:FOLDername <Folder name>
Query :SAVE:FOLDername?
Response The folder name is a character string of up to 8 characters.
Characters that can be used are ASCII characters H’20 – H’7E (except for
" */:<>?¥|).
When “NONE” is specified in the folder name, the root will become the folder
to be saved to.
Description Command Sets the folder name of the manual saving measurement file.
Query Returns the setting for the folder name of the manual automatic
saving measurement file as a character string.
Example Command :SAVE:FOLD DATA3390
Set the folder name of the manual saving measurement file to "AUTO3390".
Query :SAVE:FOLD?
Response :SAVE:FOLDERNAME DATA3390 (WHEN HEADER IS ON)
DATA3390 (WHEN HEADER IS OFF)
Select and Query Manual Saving Media Location
Syntax Command :SAVE:MEDIa <MEMORY/CARD>
Query :SAVE:MEDIa?
Response MEMORY :USB Memory
CARD :CF Card
Description Command Sets the manual saving media location
Query Returns the setting for the manual saving media location as a
Character string.
Example Command :SAVE:MEDI CARD
Set the manual saving media to the CF card.
Query :SAVE:MEDI?
Response :SAVE:MEDIA CARD (WHEN HEADER IS ON)
CARD (WHEN HEADER IS OFF)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
77/92
Set and Query CT Ratio
Syntax Command :SCALe[CH]:CT <CTRatio> Query :SCALe[CH]:CT? [CH] ・・・・ 1,2,3,4 Response CT Ratio :0000.01 to 9999.99 Description Command Sets the CT ratio of the specified channel.
Query Returns the setting for the CT ratio of the specified channel in numerical value.
Example Command :SCAL1:CT 2.0 Set the CT ratio of Channel 1 to 2.0. Query :SCAL1:CT?
Response :SCALE1:CT 0002.00 (WHEN HEADER IS ON) 0002.00 (WHEN HEADER IS OFF)
Note The setting for CT Ratio OFF is 1.0. The Query Response for OFF is 0001.00. Settings for the other channels in the measurement line combination will also be changed. Specify the first channel in the combination channels.
Set and Query VT Ratio
Syntax Command :SCALe[CH]:VT <VT Ratio> Query :SCALe[CH]:VT? [CH] ・・・・ 1,2,3,4 Response VT Ratio :0000.01 to 9999.99 Description Command Sets the VT ratio of the specified channel.
Query Returns the setting for the VT ratio of the specified channel in numerical value.
Example Command :SCAL1:VT 10.0 Set the CT ratio of Channel 1 to 10.0. Query :SCAL1:VT?
Response :SCALE1:VT 0010.00 (WHEN HEADER IS ON) 0010.00 (WHEN HEADER IS OFF)
Note The setting for VT Ratio OFF is 1.0. The Query Response for OFF is 0001.00. Settings for the other channels in the measurement line combination will also be changed. Specify the first channel in the combination channels.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
Query Returns the setting for the response data’s value data format as 0 or 1.
Example Command :TRAN:COL 1
Set not to omit the fraction.
Query :TRAN:COL?
Response :TRANSMIT:COLMUN 1 (WHEN HEADER IS ON)
1 (WHEN HEADER IS OFF)
Note Response example of ":MEASure?"Command (WHEN HEADER IS OFF)
・When TRANsmit:COLumn 0
Query :MEAS? U1_RMS,I1_RMS
Response 78.01E+00,5.0120E+00
・When TRANsmit:COLumn 1
Query :MEAS? U1_RMS,I1_RMS
Response +078.01E+00,+5.0120E+00
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
84/92
Set and Query Response Message Unit Separator
Syntax Command :TRANsmit:SEParator <0/1>
Query :TRANsmit:SEParator?
Response 0: Semicolon ‘;’
1 : Colon ‘,’
Description Command Sets the message unit separator when the header is OFF.
Query Returns the setting for the message unit separator when the header is OFF
as a numerical value.
Example Command TRAN:SEP 1
Set the message unit separator when the header is OFF as a comma (,).
Query TRAN:SEP?
Response :TRANSMIT:SEPARATOR 1 (WHEN HEADER IS ON)
1 (WHEN HEADER IS OFF)
Note The response message unit separator can only be changed when the header is OFF.
The measurement value Response data of the "MEASure?" type is independent of this setting
and is separated by a ‘,’.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
85/92
Set and Query Voltage Auto Range
Syntax Command :VOLTage [CH]:AUTO <ON/OFF>
Query :VOLTage [CH]:AUTO?
[CH] ・・・・ 1,2,3,4
Response ON : Measures voltage by auto range.
OFF : Measures voltage by manual range.
Description Command Sets the voltage auto range ON/OFF.
Query Returns the setting for the voltage auto range as ON or OFF.
Example Command :VOLT1:AUTO ON
Set the auto range for voltage Channel 1 to ON.
Query :VOLT1:AUTO?
Response :VOLTAGE1:AUTO ON (WHEN HEADER IS ON)
ON (WHEN HEADER IS OFF)
Note When the range is set using the :VOLTage [CH]:RANGeCommand, the auto range of the
specified channel will be OFF.
By combining measurement lines (for above IP3W), the settings for the voltage auto ranges of
other channels which are combined are also changed.
Select and Query Voltage Rectifier Type
Syntax Command :VOLTage [CH]:MEAN <ON/OFF> Query :VOLTage [CH]:MEAN? [CH] ・・・・ 1,2,3,4 Response ON : Sets the voltage rectifier type to MEAN. OFF : Sets the voltage rectifier type to RMS. Description Command Selects the RMS/MEAN of the voltage rectifier type.
Query Returns the selection of the RMS/MEAN of the voltage rectifier type as ON (MEAN) or OFF (RMS).
Example Command :VOLT1:MEAN OFF Select the rectifier type of voltage Channel 1 as RMS. Query :VOLT1:MEAN?
Response :VOLTAGE1:MEAN OFF (WHEN HEADER IS ON) OFF (WHEN HEADER IS OFF)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
86/92
Note By combining measurement lines (for above IP3W), the settings for the voltage rectifier types of
other channels which are combined are also changed.
Description Command The numerical value can be in NRf format, but rounding is
performed for figures beyond the last valid decimal place. (Valid digits: 4
digits)
Query Queries the voltage range. Returns the voltage range as a numerical value.
Example Command :VOLT1:RANG 300
Sets the voltage range of channel 1 as 300V.
Query :VOLT1:RANG?
Response :VOLTAGE1:RANGE 300 (WHEN HEADER IS ON)
300 (WHEN HEADER IS OFF)
Note • Do not add a unit to the measurement range.
• Wait until the internal circuit has stabilized after changing a range before reading
measurements.
• When the range is specified, the auto range of the specified channel will be OFF.
• By combining measurement lines (for above IP3W), the settings for the voltage ranges of
other channels which are combined are also changed.
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
87/92
Set and Query Zero Suppress
Syntax Command :ZEROsp <OFF/0.1%/0.5%>
Query :ZEROsp?
Response <OFF/0.1%/0.5%>
Description Command Sets zero suppress.
Query Returns setting for zero suppress as a character string.
Example Command :ZERO 0.1%
Set the zero suppress level o 0.1% f.s.
Query :ZERO?
Response :ZEROSP 0.1% (WHEN HEADER IS ON)
0.1% (WHEN HEADER IS OFF)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
88/92
4. Fundamental Measurement Item Parameters
Contents Parameter List Voltage RMS Urms1/Urms2/Urms3/Urms4/Urms12/Urms34/Urms123 Rectified Voltage Average Umn1/Umn2/Umn3/Umn4/Umn12/Umn34/Umn123 Voltage AC Component, Fundamental Wave Phase Angle
Uac1/Uac2/Uac3/Uac4/HU1P/HU2P/HU3P/HU4P
Voltage Simple Average, Fundamental Wave Component
Udc1/Udc2/Udc3/Udc4/Ufnd1/Ufnd2/Ufnd3/Ufnd4
Voltage ± Peak PUpk1/PUpk2/PUpk3/PUpk4/MUpk1/MUpk2/MUpk3/MUpk4 Voltage Distortion, Voltage Ripple Rate
Uthd1/Uthd2/Uthd3/Uthd4/Urf1/Urf2/Urf3/Urf4
Current RMS Irms1/Irms2/Irms3/Irms4/Irms12/Irms34/Irms123 Rectified Current Average Imn1/Imn2/Imn3/Imn4/Imn12/Imn34/Imn123 Current AC Component, Fundamental Wave Phase Angle
Iac1/Iac2/Iac3/Iac4/HI1P/HI2P/HI3P/HI4P
Current Simple Average, Fundamental Wave Component
Idc1/Idc2/Idc3/Idc4/Ifnd1/Ifnd2/Ifnd3/Ifnd4
Current ± Peak PIpk1/PIpk2/PIpk3/PIpk4/MIpk1/MIpk2/MIpk3/MIpk4 Current Distortion, Current Ripple Rate
Ithd1/Ithd2/Ithd3/Ithd4/Irf1/Irf2/Irf3/Irf4
Effective power, Reactive power
P1/P2/P3/P4/P12/P34/P123/Q1/Q2/Q3/Q4/Q12/Q34/Q123
Apparent Power S1/S2/S3/S4/S12/S34/S123 Power factor PF1/PF2/PF3/PF4/PF12/PF34/PF123 Power phase angle DEG1/DEG2/DEG3/DEG4/DEG12/DEG34/DEG123 frequency, unbalance factor, temperature
FREQ1/FREQ2/FREQ3/FREQ4/UUNB123/IUNB123/TEMP
Efficiency, Loss EFF1/EFF2/EFF3/LOSS1/LOSS2/LOSS3 Integ. current in positive/negative direction
PIH1/PIH2/PIH3/PIH4/MIH1/MIH2/MIH3/MIH4
Sum of integ. current IH1/IH2/IH3/IH4 Energy in positive direction PWP1/PWP2/PWP3/PWP4/PWP12/PWP34/PWP123 Energy in negative direction MWP1/MWP2/MWP3/MWP4/MWP12/MWP34/MWP123 Sum of Energy WP1/WP2/WP3/WP4/WP12/WP34/WP123 (Only during :AOUT:ITEM) OFF Motor ExtA/ExtB/Pm/Slip (Only during motor option)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
89/92
Output Items of :MEASure? and the order
Output Item Output Item and the order Status Status
RMS Urms1 to Urms4 Urms12 Urms34 Urms123 Rectified Average Umn1 to Umn4 Umn12 Umn34 Umn123 AC Component Uac1 to Uac4 Simple Average Udc1 to Udc4 Fundamental Wave Component Ufnd1 to Ufnd4 Waveform peak + PUpk1 to PUpk4 Waveform peak – MUpk1 to MUpk4 THD/Ripple Rate Uthd1 to Uthd4 / Urf1 to Urf4
Voltage
Unbalance factor Uunb123 RMS Irms1 to Irms4 Irms12 Irms34 Irms123 Rectified Average Imn1 to Imn4 Imn12 Imn34 Imn123 AC Component Iac1 to Iac4 Simple Average Idc1 to Idc4 Fundamental Wave Component Ifnd1 to Ifnd4 Waveform peak + PIpk1 to PIpk4 Waveform peak – MIpk1 to MIpk4 THD/Ripple Rate Ithd1 to Ithd4 / Irf1 to Irf4
Current
Unbalance factor Iunb123 Effective power P1 to P4 P12 P34 P123 Apparent Power S1 to S4 S12 S34 S123 Reactive power Q1 to Q4 Q12 Q34 Q123 Power factor PF1 to PF4 PF12 PF34 PF123 Phase angle DEG1 to DEG4 DEG12 DEG34 DEG123 frequency FREQ1 to FREQ4
Integ. current in positive direction PIH1 to PIH4 PIH12 PIH34 PIH123 Integ. current in negative direction MIH1 to MIH4 MIH12 MIH34 MIH123 Sum of integ. current IH1 to IH4 IH12 IH34 IH123 Energy in positive direction PWP1 to PWP4 PWP12 PWP34 PWP123 Energy in negative direction MWP1 to MWP4 MWP12 MWP34 MWP123
Integration
Sum of Energy WP1 to WP4 WP12 WP34 WP123 Efficiency Eff1 to Eff3 Loss Loss1 to Loss3 Temperature Temp Motor ExtA ExtB Pm Slip
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
90/92
Output Items of :MEASure:HARMonic? and the order
Harmonic Measurement Items
Status Status
frequency HFREQ
Voltage 0th HU1L000 to HU4L000 HU12L000 HU34L000 HU123L000
Current 0th HI1L000 to HI4L000 HI12L000 HI34L000 HI123L000
Level Power 0th HP1L000 to HP4L000 HP12L000 HP34L000 HP123L000
Voltage 0th HU1D000 to HU4D000 HU12D000 HU34D000 HU123D000
Current 0th HI1D000 to HI4D000 HI12D000 HI34D000 HI123D000
Content Power 0th HP1D000 to HP4D000 HP12D000 HP34D000 HP123D000
Voltage 0th HU1P000 to HU4P000 HU12P000 HU34P000 HU123P000
Current 0th HI1P000 to HI4P000 HI12P000 HI34P000 HI123P000
Phase angle Power 0th HP1P000 to HP4P000 HP12P000 HP34P000 HP123P000
• • • n th Last 3 digits are n
Voltage 100th HU1L100 to HU4L100 HU12L100 HU34L100 HU123L100
Current 100th HI1L100 to HI4L100 HI12L100 HI34L100 HI123L100
Level Power 100th HP1L100 to HP4L100 HP12L100 HP34L100 HP123L100
Voltage 100th HU1D100 to HU4D100 HU12D100 HU34D100 HU123D100
Current 100th HI1D100 to HI4D100 HI12D100 HI34D100 HI123D100
Content Power 100th HP1D100 to HP4D100 HP12D100 HP34D100 HP123D100
Voltage 100th HU1P100 to HU4P100 HU12P100 HU34P100 HU123P100
Current 100th HI1P100 to HI4P100 HI12P100 HI34P100 HI123P100
Phase angle Power 100th HP1P100 to HP4P100 HP12P100 HP34P100 HP123P100
Noise Measurement Items
Voltage UNf01 UN01 to UNf10 UN10
Noise Current INf01 IN01 to INf10 IN10
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
91/92
About Status data The status information shows the measurement status when the measurement data is being saved, and
is shown as a hexadecimal of 32bit.
Contents of the individual bits in the 32bit are shown below.
bit 31 bit 30 bit 29 bit 28 bit 27 bit 26 bit 25 bit 24
HM4 HM3 HM2 HM1 MRB MRA MPB MPA
bit 23 bit 22 bit 21 bit 20 bit 19 bit 18 bit 17 bit 16
ULM ---- UCU HUL UL4 UL3 UL2 UL1
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8
RI4 RI3 RI2 RI1 RU4 RU3 RU2 RU1
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
PI4 PI3 PI2 PI1 PU4 PU3 PU2 PU1
HMx : Harmonic parameter invalid(when the Harmonic synchronization is off, etc.)
MRx : Motor analysis option A, B range over
MPx : Motor analysis option A, B peak over
ULM : Motor analysis option A, B synchronization unlock
UCU : Uncalculable(when the measuremnt data becomes invalid immediately after a range
change, etc.)
HUL : Harmonic synchronization unlock
ULx : Respective channels synchronization unlock
RIx : Respective channels current range over
RUx : Respective channels voltage range over
PIx : Respective channels current peak over
PUx : Respective channels voltage peak over
(x is the channel number)
3390 Power Analyzer Communication Command Handling Instruction Manual Second Revised Edition
92/92
5. Troubleshooting
Please refer to the following contents for any operation that is not processed properly.
Symptoms Causes Solutions
Is the LAN cable connected
correctly?
When using a HUB to connect the main instrument
and the computer, use a straight cable.
When connecting the main instrument and the
computer as 1:1, either attach a cross conversion
connector to the straight cable or use a cross cable
to connect.
Is the Interface setting
correct?
Confirm the settings for the IP address, subnet
mask and default gateway of the main instrument.
Is the IPAddress the same
as other instruments?
Confirm the IPAddress setting of the main and
other instruments.
Cannot
communicate at all
Is the TCP/IP port number
correct?
Specify the correct port number.
Cannot
communicate well
Is the message terminator
(delimiter) correct?
Insert CR+LF to divide each message that is
forwarded.
Is there any error? Use *ESR? and look at the contents of the
standard event status register to confirm the error. Command not