Hioki TM6102 Use and care manual

Communication Instruction Manual
TM6102
RGB LASER ILLUMINANCE METER
TM6103
RGB LASER LUMINANCE METER
TM6104
OPTICAL POWER METER
This manual explains the communication commands for Models TM6102
RGB Laser Illuminance Meter, TM6103 RGB Laser Luminance Meter, and
TM6104 Optical Power Meter.
Please refer to the instruction manual for Model TM6102/TM6103/TM6104
for details regarding communication settings.
Although all reasonable care has been taken in the production of this manual,
should you find any points which are unclear or in error, please contact your local
distributor or the HIOKI International Sales Department at os-com@hioki.co.jp.
In the interest of product development, the contents of this manual may be
subject to revision without notice.
Unauthorized copying and replication of the contents of this instruction
manual are strictly prohibited. All Rights Reserved.
EN
Jun. 2017 Edition 1
TM6102A963-00 17-07


Contents
1 Introduction .............................................................................................................................................1
Message Format.....................................................................................................................................1
Output Queue and Input Buffer............................................................................................................5
Event Registers.......................................................................................................................................6
Initialization Items..................................................................................................................................8
Command Execution Time....................................................................................................................8
Errors During Communications...........................................................................................................8
Color Expressions .................................................................................................................................9
Unit of Radiometric Quantity................................................................................................................9
Unit of Photometric Quantity................................................................................................................9
2 Cautions on Communication Program Creation...............................................................................10
3 Message List..........................................................................................................................................11
4 Message Reference...............................................................................................................................14
Message Reference Interpretation ....................................................................................................14
Standard Commands...........................................................................................................................15
(1) System Data Commands ............................................................................................................15
(2) Internal Operation Commands...................................................................................................15
*TST ................................................................................................................................................15
*TRG................................................................................................................................................15
(3) Synchronized Commands ..........................................................................................................16
*OPC................................................................................................................................................16
*WAI.................................................................................................................................................16
(4) Status and Event Control Commands.......................................................................................16
*CLS................................................................................................................................................16
*ESR................................................................................................................................................16
Device-Specific Commands................................................................................................................17
(1) Event Status Register..................................................................................................................17
:ESR0..............................................................................................................................................17
(2) Communications Settings..........................................................................................................17
:SYSTem:COMMunicate:LAN:IPADdress....................................................................................17
:SYSTem:COMMunicate:LAN:CONTrol.......................................................................................17
:SYSTem:COMMunicate:LAN:SMASk........................................................................................18
:SYSTem:COMMunicate:LAN:GATeway....................................................................................18
:SYSTem:COMMunicate:LAN:UPDate .......................................................................................18
:SYSTem:MAC...............................................................................................................................18
(3) Trigger...........................................................................................................................................19
:TRIGger:SOURce.........................................................................................................................20
:TRIGger:DELay............................................................................................................................20
:TRIGger:DELay:AUTO.................................................................................................................20
(4) Measurement Mode.....................................................................................................................20
:MODE.............................................................................................................................................20
(5) Setting Modulation Frequency Measurement ..........................................................................20
:PULSe:AVERaging.......................................................................................................................20
:PULSe:EDGE ................................................................................................................................20
(6) Modulated Light Function ..........................................................................................................21
:PULSe............................................................................................................................................21
:PULSe:FREQuency .....................................................................................................................21
(7) Measurement Range ...................................................................................................................22
:RANGe:AUTO:# ..........................................................................................................................21
:RANGe:# ......................................................................................................................................22
:RANGe:AREA:# ..........................................................................................................................22
:RANGe:TIME.................................................................................................................................23
(8) Setting for Color-matching Functions ......................................................................................24
:ANGLe ...........................................................................................................................................23
(9) Dark Measurement Settings.......................................................................................................24
:DARK:TYPE ..................................................................................................................................24

:DARK:AVERaging ........................................................................................................................24
:DARK:JUDGment.........................................................................................................................24
(10) Dark Estimation .........................................................................................................................26
:DARK:ESTimate ...........................................................................................................................25
:DARK:ESTimate:RESult..............................................................................................................25
(11) Dark Value Acquisition State....................................................................................................28
:DARK:STATe:# ............................................................................................................................26
(12) Clearing Dark Value...................................................................................................................28
:DARK:CLEar:# ............................................................................................................................26
(13) Normal Measurement Settings.................................................................................................28
(a) Average Times ...........................................................................................................................28
:AVERaging....................................................................................................................................26
(b) White BalanceAdjustmentAssistance Function .......................................................................29
:TARGet ..........................................................................................................................................27
:TARGet:DEViation:# ...................................................................................................................27
:TARGet:DEViation:PHOTometry.................................................................................................28
(c) Centroid Wavelength Input Mode (Correction Function)...........................................................31
:SCALe:WAVelength:# .................................................................................................................29
:SCALe:WAVelength:DATA:# ......................................................................................................29
(d) Centroid Wavelength Offset (Correction Function)....................................................................32
:SCALe:WAVelength:OFFSet .......................................................................................................30
:SCALe:WAVelength:OFFSet:DATA:# ........................................................................................30
(e) Radiometric Quantity Gain (Correction Function) .....................................................................33
:SCALe:RADiometry:GAIN...........................................................................................................31
:SCALe:RADiometry:GAIN:DATA:# ...........................................................................................31
(f) Chromaticity (x,y) Offset (Correction Function)..........................................................................34
:SCALe:XY:OFFSet........................................................................................................................32
:SCALe:XY:OFFSet:DATA:# ........................................................................................................32
(g) Radiometric Quantity Gain (Correction Function) .....................................................................35
:SCALe:PHOTometry:GAIN..........................................................................................................33
:SCALe:PHOTometry:GAIN:DATA ...............................................................................................33
(14) Reading Measured Values........................................................................................................36
(a) Measurement Status..................................................................................................................36
(b) Measurement Value Formats.....................................................................................................37
(c) Reading Measured Values.........................................................................................................38
:READ .............................................................................................................................................36
:ABORt............................................................................................................................................37
:FETCh:WAVelength:CENTroid:# ...............................................................................................37
:FETCh:WAVelength:DOMinant:# ..............................................................................................38
:FETCh:RADiometry:# .................................................................................................................39
:FETCh:XYZ:# ...............................................................................................................................40
:FETCh:XY:# .................................................................................................................................41
:FETCh:PHOTometry:# ................................................................................................................42
:FETCh:UDVD:# ...........................................................................................................................43
:FETCh:TCP ...................................................................................................................................43
:FETCh:DELUv...............................................................................................................................44
:FETCh:NTSCratio.........................................................................................................................44
:FETCh:LEVel.................................................................................................................................45
:FETCh:PULSe...............................................................................................................................45
:FETCh:DARK................................................................................................................................45
(d) Reading Target Value of Radiometric Quantity..........................................................................48
:TARGet:RESult:# ........................................................................................................................46
:TARGet:RESult:RGB....................................................................................................................48
(15) Others.........................................................................................................................................51
:SYSTem:POWer:LED ...................................................................................................................49
:SYSTem:PRESet...........................................................................................................................49
:SYSTem:ERRor.............................................................................................................................50

1
1 Introduction
In this publication, items relevant only to the TM6102, TM6103, and TM6104 are indicated as “the instrument.”
Various messages are supported for controlling the instrument through the interfaces.
Messages can be either program messages, sent from the controller such as PC to the instrument, or response
messages, sent from the instrument to the controller.
Message types are further categorized as follows. Command Messages
Program Messages Query Messages
Messages
Response Messages
When issuing commands that contain data, make sure that the data is provided in the specified format.
Message Format
Program Messages
Program messages can be either Command Messages or Query Messages.
(1)Command Messages
Instructions to control the instrument, such as to change settings or reset
Example: (instruction to set the red measurement range)
:RANGE:R 1
Header portion Space Data portion
(2)Query Messages
Requests for responses relating to results of operation or
measurement, or the state of instrument settings
Example: (request for the red measurement range that is currently set)
:RANGE:R?
Header portion Question mark
See: “Headers (p.2)”, “Separators (p.3)”, “Data Formats (p.4)”
Program Messages
Response Messages
Controller
Instrument

2
Response Messages
When a query message is received, its syntax is checked and a response message is generated.
If an error occurs when a query message is received, no response message is generated for that query.
Command Syntax
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 upper-case letters, extended to the long form in lower case
letters, although the commands are not case-sensitive in actual usage.
:RANGE:R? OK (long form)
:RANG:R? OK (short form)
:RAN? Error
Headers
Headers must always be prefixed to program messages.
(1) Command Program Headers
There are three types of commands: Simple, Compound and Standard.
•Headers for Simple Commands
This header type is a sequence of letters and digits
:ABORt
•Headers for Compound Commands
These headers consist of multiple simple command type headers separated by colons “:”
:RANGe:AUTO:R
•Headers for Standard Commands
This header type begins with an asterisk “*”, indicating that it is a standard command defined by IEEE 488.2.
*RST
(2) Query Program Header
These commands are used to interrogate the instrument about the results of operations, measured values and
the current states of instrument settings.
As shown by the following examples, a query is formed by appending a question mark “?” after a program
header.
:FETCh:XY:R?
:RANGe:AUTO:R?

3
Message Terminators
This instrument recognizes the following message terminators (delimiters):
• CR+LF
Separators
(1) Message Unit Separator
Multiple messages can be written in one line by separating them with semicolons “;”.
:RANGE:R 1; *IDN?
•When messages are combined in this way and if one command contains an error, all subsequent messages up
to the next terminator will be ignored.
(2) Header Separator
In a message consisting of both a header and data, the header is separated from the data by a space “ ” (ASCII
code 20H).
:RANGE:R 1
(3) Data Separator
In a message containing multiple data items, commas are required to separate the data items from one another.
:TARGET:DEVIATION:X 0.3333,0.01

4
Data Formats
The instrument uses character data, decimal numeric data and character string data depending on the command.
(1) Character Data
Character data always begins with an alphabetic character, and subsequent characters may be either
alphabetic or numeric. Character data is not case-sensitive, although response messages from the instrument
are only upper case. When the command data portion contains <1/0/ON/OFF>, the operation will be similar to
when 0 is OFF and 1 is ON.
:RANGE:AUTO:R OFF
(2) Decimal Numeric Data
Three formats are used for numeric data, identified as NR1, NR2, and NR3. Numeric values may be signed or
unsigned. Unsigned numeric values are handled as positive values. Values exceeding the precision handled by
the instrument are rounded to the nearest valid digit.
•NR1 Integer data (e.g.: +12, -23, 34)
•NR2 Fixed-point data (e.g.: +1.23, -23.45, 3.456)
•NR3 Floating-point exponential representation data (e.g.: +1.0E-2, -2.3E+4)
The term “NRf format” includes all three of the above numeric decimal formats.
The instrument accepts NRf format data. The format of response data is specified for each command, and the
data is sent in that format.
:RANGE:R 16
:FETCH:WAVELENGTH:CENTROID:R?
6.3478E+02 ,0
(3) Character string data
•Character string data is enclosed by quotation marks.
•This type of data consists of 8-bit ASCII characters
•As for quotation marks, the sender from the instrument uses double quotes (”).
:SYSTEM:MAC?
Response> “00-01-67-07-03-85”

5
Compound Command Header Omission
When several commands having a common header are combined to form a compound command
(e.g., :RANGe:AUTO:R and :RANGe:AUTO:B)if they are written together in sequence, the common
portion (here, :RANGe:AUTO) can be omitted after its initial occurrence.
This common portion is called the “current path” (analogous to the path concept in computer file storage), 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
:RANGE:AUTO:R 0;:RANGE:AUTO:G 0;:RANGE:AUTO:B 0
Compacted expression
:RANGE:AUTO:R 0; G 0; B 0
This portion becomes the current path, and can be omitted from the messages immediately following.
The current path is cleared when the power is turned on, by a colon “:” at the start of a command, 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.
Output Queue and Input Buffer
Input Buffer
The input buffer capacity of the instrument is 1024 bytes.
If 1024 bytes are allowed to accumulate in this buffer so that it becomes full, the LAN interface bus enters the
waiting state until space is cleared in the buffer.
Note: Ensure that the no command ever exceeds 1024 bytes.

6
Event Registers
Standard Event Status Register (SESR)
The Standard Event Status Register is an 8-bit register.
The Standard Event Status Register is cleared in the following situations:
•When a *CLS command is executed
•When an event register query (*ESR?) is executed
•When the instrument is powered on again
Bit 7
PON
Power-On Flag
Set to 1 when the power is turned on, or upon recovery from an
outage.
Bit 6
URQ
(Unused)
Not used by this instrument
User Request
Bit 5
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
•Received a command not supported by the instrument
•The specified data value is outside of the set range
Bit 4
EXE
Execution Error
This bit is set to 1 when a received command cannot be executed for
some reason.
•The specified setting data cannot be set
•Execution is prevented by some other operation being performed
Bit 3
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.
Bit 2
QYE
Query Error (the output queue is cleared)
This bit is set to 1 when a query error is detected by the output queue
control.
•When the data overflows the output queue
•When data in the output queue has been lost
Bit 1
RQC
(Unused)
Not used by this instrument
Request Control
Bit 0
OPC
Operation Complete
•It indicates the execution of an “*OPC” command.
•It indicates the completion of operations of all messages up to the
“*OPC” command

7
Device-Specific Event Status Registers
This instrument provides Event Status Register 0 for controlling events. The Event Status Register is an 8-bit
register.
Event Status Registers 0 is cleared in the following situations:
•When a *CLS command is executed
•When an Event Status Register 0 query is executed
(:ESR0?)
•When the instrument is powered on again
Standard Operation Register
Bit 7
-
Unused
Bit 6
-
Unused
Bit 5
-
Unused
Bit 4
-
Unused
Bit 3
-
Unused
Bit 2
IDX
Sampling complete
Bit 1
EOM
Measurement complete
Bit 0
-
Unused

8
Initialization Items
Initialization Method
Item
At
Power-on
*RST
Command
:SYSTem:
PRESet
Command
*CLS
Command
Factory
Default
LAN IP Address
-
-
0.0.0.0
-
0.0.0.0
LAN Subnet mask
-
-
255.255.255.0
-
255.255.255.0
LAN default gateway
-
-
0.0.0.0
-
0.0.0.0
LAN port
-
-
1024
-
1024
Device-specific functions
(measurement range, etc.)
-
●
●
-
●
Output Queue
●
-
-
-
●
Input Buffer
●
-
-
-
●
Event Registers
●*1
-
-
●
●
Current path
●
-
-
-
●
*1. Except the PON bit (bit 7).
Command Execution Time
Command execution time indicates the time for analyzing and processing long form commands.
However, the command execution time for commands with data is the time described in accordance with the data
format specified in the <data portion>.
•Display delays may occur depending on the frequency of communication processes and process contents.
•All commands except *TRG are processed sequentially.
•In communications with the client, time must be added for data transmission.
•Wait until measurements stabilize after a change before using a setting command.
Command
Execution time (except
communication time)
*RST
:SYSTem:PRESet
300 ms or less *1
:FETCh:WAVelength:DOMinant:#?
R, G, or B is entered in #.
100 ms or less
:READ?
Measurement time + 5 ms or
less*2
*TST?
50 ms or less
Commands other than those above
5 ms or less
*1. For details, see Note about *RST and :SYSTem:PRESet.
*2. For details, see Note about :READ?.
Errors During Communications
•Command Error
When message syntax (spelling) is invalid
When the data format in a command or query is invalid
•Query Error
When a response message cannot be sent from the instrument as the controller cannot receive it
•Execution Error
When any character or numerical data that is not specified is set

9
Color Expressions
Expressions such as R, G, B, and RGB are used in syntaxes and descriptions. Their meanings are as follows.
R: Red
G: Green
B: Blue
RGB: RGB mixed light (Three colors, R, G, and B, are mixed.)
Unit of Radiometric Quantity
The unit of the radiometric quantity is omitted in descriptions. Each instrument uses the unit as described below.
TM6102: [W/m2]
TM6103: [W/sr•m2]
TM6104: [W]
Unit of Photometric Quantity
The unit of the photometric quantity is omitted in descriptions. Each instrument uses the unit as described below.
TM6102: [lx]
TM6103: [cd/m2]
TM6104: [lm]

10
2
Cautions on Communication Program Creation
The TCP/IP communication performs the process so that large data is sent efficiently. Therefore, when small data
such as a command to control the instrument is sent, the send process may not be performed until the size of the send
data reaches a certain level. In this case, the response from the instrument becomes slow. Therefore, when creating a
communication program, perform the following settings to make the response from the instrument faster.
•For Socket Program
Set 1 for TCP_NODELAY of the socket option.
Example: C/C++)
SOCKET sock;
BOOL opt;
•••
opt = 1;
setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (char*)&opt, sizeof(BOOL));
• For .Net Framework
Set NoDelay of the TcpClient class to true.
Example: VB)
Dim tcpClient As System.Net.Sockets.TcpClient
•••
tcpClient.NoDelay = True

11
3 Message List
Messages
Data
Description
[ ]: Omissible
[ ]: Omissible, ( ): Response data
Standard Commands
*IDN?
(<Manufacturer name>,<Model name>,<Serial number>,<Software
version>)
Queries the Device ID (Identify code).
*RST
Initializes the device.
*TST?
(<PASS/FAIL>)
Initiates a self-test and queries the result.
*TRG
Requests the measurement start.
*OPC
Sets OPC of SESR after all operations that are being
executed are completed.
*OPC?
Responds with ASCII “1” after all operations that are
being executed are completed.
*WAI
Executes subsequent commands after command
processing is completed.
*CLS
Clears the Event Registers and the Status Byte
Register.
*ESR?
0 to 255
Reads and clears the Standard Event Status Register
(SESR).
Event Registers
:ESR0?
(0/2/4/6)
Queries Event Status Register 0 of the Standard
Operation Register Group.
Communications Settings
:SYSTem:COMMunicate:LAN:IPADdress
<IP address>
Sets the IP address.
:SYSTem:COMMunicate:LAN:IPADdress?
(<IP address>)
Queries the IP address.
:SYSTem:COMMunicate:LAN:CONTrol
<Port No.>
Sets the LAN port.
:SYSTem:COMMunicate:LAN:CONTrol?
(<Port No.>)
Queries the LAN port.
:SYSTem:COMMunicate:LAN:SMASk
<Subnet mask>
Sets the Subnet mask.
:SYSTem:COMMunicate:LAN:SMASk?
(<Subnet mask>)
Queries the Subnet mask.
:SYSTem:COMMunicate:LAN:GATeway
<Address>
Sets the default gateway.
:SYSTem:COMMunicate:LAN:GATeway?
(<Address>)
Queries the default gateway.
:SYSTem:COMMunicate:LAN:UPDate
Reflects the LAN settings.
:SYSTem:MAC?
(<MAC address>)
Queries the MAC address.
Trigger
:TRIGger:SOURce
< BUS/ EXTernal >
Sets the trigger source.
:TRIGger:SOURce?
(< BUS/ EXT >)
Queries the trigger source.
:TRIGger:DELay
<Delay time (sec)>
Sets the trigger delay.
:TRIGger:DELay?
(<Delay time (sec)>)
Queries the trigger delay.
:TRIGger:EDGE
<RISE/FALL >
Sets the trigger detection edge.
:TRIGger:EDGE?
(<RISE/FALL >)
Queries the trigger detection edge setting.
Measurement Mode
:MODE
<NORMal/DARK/PULSe>
Sets the measurement mode.
:MODE
(<NORM/DARK/PULS>)
Queries the measurement mode.
Modulation Frequency Measurement Settings
:PULSe:AVERaging
<Average times>
Sets the number of average times of the modulation
frequency measurement.
:PULSe:AVERaging?
(<Average times>)
Queries the number of average times of the
modulation frequency measurement.
:PULSe:EDGE
<RISE/FALL >
Sets the period detection edge of the SYNC signal.
:PULSe:EDGE?
(<RISE/FALL >)
Queries the period detection edge of the SYNC
signal.
Modulated Light Function
:PULSe
<1/0/ON/OFF>
Sets the modulated light function.
:PULSe?
(<1/0 >)
Queries the modulated light function.
:PULSe:FREQuency
<Modulation frequency [Hz]>
Sets the modulation frequency.
:PULSe:FREQuency?
(<Modulation frequency [Hz]>)
Queries the modulation frequency.

12
Messages
Data
Description
[ ]: Omissible
[ ]: Omissible, ( ): Response data
Measurement Range
:RANGe:AUTO:# (# is R, G, or B)
<1/0/ON/OFF>
Sets the auto range function.
:RANGe:AUTO:#? (# is R, G, or B)
(<1/0 >)
Queries the auto range function.
:RANGe:# (# is R, G, or B)
<Measurement range number>
Sets the measurement range.
:RANGe:#? (# is R, G, or B)
(<Measurement range number>)
Queries the measurement range.
:RANGe:AREA:#? (# is R, G, or B)
<Measurement range number>,<Centroid wavelength [nm]>
(<Maximum measurable radiometric quantity>)
Queries the maximum measurable radiometric
quantity.
:RANGe:TIME?
<Measurement range number>
(<Measurement time [sec]>)
Queries the measurement time during normal
measurement.
Setting for Color-matching Functions
:ANGLe
<Setting for Color-matching Functions>
Sets color-matching functions
:ANGLe?
(<Setting for Color-matching Functions>)
Queries the color-matching function setting.
Dark Measurement Settings
:DARK:TYPE
(<ALL/FIX>)
Sets the dark measurement type.
:DARK:TYPE?
(<ALL/FIX>)
Queries the dark measurement type.
:DARK:AVERaging
<Average times>
Sets the number of average times of the dark
measurement.
:DARK: AVERaging?
(<Average times>)
Queries the number of average times of the dark
measurement.
:DARK:JUDGment
<1/0/ON/OFF>
Sets the judgment function for the dark measurement
result.
:DARK:JUDGment?
(<1/0>)
Queries the judgment function for the dark
measurement result.
Dark Estimation
:DARK:ESTimate
<1/0/ON/OFF>
Sets the dark estimation function.
:DARK:ESTimate?
(<1/0>)
Queries the dark estimation function.
:DARK:ESTimate:RESult?
(<1/0>)
Queries the dark estimation result.
Dark Value Acquisition State
:DARK:STATe:#? (# is R, G, or B)
<Measurement range number>
(<1/0>)
Queries the dark value acquisition state.
Clearing Dark Value
:DARK:CLEar
Clears the dark value.
Normal Measurement Settings
:AVERaging
<Average times>
Sets the number of average times of the normal
measurement.
:AVERaging?
(<Average times>)
Queries the number of average times of the normal
measurement.
:TARGet
<1/0/ON/OFF>
Sets the white balance adjustment assistance
function.
:TARGet?
(<1/0>)
Queries the white balance adjustment assistance
function.
:TARGet:DEViation:# (# is X or Y)
<Target value>,<Error tolerance>
Sets the target value of the chromaticity (x,y).
:TARGet:DEViation:#? (# is X or Y)
(<Target value>,<Error tolerance>)
Queries the target value of the chromaticity (x,y).
:TARGet:DEViation:PHOTometry
<Target value>,<Error tolerance>
Sets the target value of the photometric quantity.
:TARGet:DEViation:PHOTometry?
(<Target value>,<Error tolerance>)
Queries the target value of the photometric quantity.
:SCALe:WAVelength:# (# is R, G, or B)
<1/0/ON/OFF>
Sets the centroid wavelength input mode.
:SCALe:WAVelength:#? (# is R, G, or B)
(<1/0>)
Queries the centroid wavelength input mode.
:SCALe:WAVelength:DATA:# (# is R, G, or B)
<Centroid wavelength [mm]>
Sets the centroid wavelength value in the centroid
wavelength input mode.
:SCALe:WAVelength:DATA:#? (# is R, G, or B)
(<Centroid Wavelength [mm]>)
Queries the centroid wavelength value in the centroid
wavelength input mode.
:SCALe:WAVelength:OFFSet
<1/0/ON/OFF>
Sets the centroid wavelength offset function.
:SCALe:WAVelength:OFFSet?
(<1/0 >)
Queries the centroid wavelength offset function.
:SCALe:WAVelength:OFFSet:DATA:#
<Offset value [nm]>
Sets the offset value of the centroid wavelength.
:SCALe:WAVelength:OFFSet:DATA:#?
(<Offset value [nm]>)
Queries the offset value of the centroid wavelength.
:SCALe:RADiometry:GAIN
<1/0/ON/OFF>
Sets the radiometric quantity gain function.
:SCALe:RADiometry:GAIN?
(<1/0 >)
Queries the radiometric quantity gain function.
:SCALe:RADiometry:GAIN:DATA:# (# is R, G, or B)
<Gain value>
Sets the gain value of the radiometric quantity.

13
Messages
Data
Description
[ ]: Omissible
[ ]: Omissible, ( ): Response data
:SCALe:RADiometry:GAIN:DATA:#? (# is R, G, or B)
(<Gain value>)
Queries the gain value of the radiometric quantity.
:SCALe:XY:OFFSet
<1/0/ON/OFF>
Sets the chromaticity (x,y) offset function.
:SCALe:XY:OFFSet?
(<1/0 >)
Queries the chromaticity (x,y) offset function.
:SCALe:XY:OFFSet:DATA:# (# is X or Y)
<Offset value>
Sets the offset value of the chromaticity (x,y).
:SCALe:XY:OFFSet:DATA:#? (# is X or Y)
(<Offset value>)
Queries the offset value of the chromaticity (x,y).
:SCALe:PHOTometry:GAIN
<1/0/ON/OFF>
Sets the photometric quantity gain function.
:SCALe:PHOTometry:GAIN?
(<1/0 >)
Queries the photometric quantity gain function.
:SCALe:PHOTometry:GAIN:DATA
<Gain value>
Sets the gain value of the photometric quantity.
:SCALe:PHOTometry:GAIN:DATA?
(<Gain value>)
Queries the gain value of the photometric quantity.
Reading Measured Values
:READ?
• Modulation Frequency Measurement
(<Modulation frequency [Hz]>,<Measurement status>)
• Dark Measurement
(<Judgment result>)
• Normal Measurement
(<Chromaticity (x) of RGB mixed light>,<Chromaticity (y) of RGB
mixed light>,<Photometric quantity of RGB mixed
light>,<Measurement status>)
Waits for trigger and reads the measured values.
:ABORt
Aborts the measurement or waiting for measurement
completion.
:FETCh:WAVelength:CENTroid:#? (# is R, G, or B)
(<Measured value of centroid wavelength [nm]>,<Measurement
status>)
Queries the measured value of the centroid
wavelength.
:FETCh:WAVelength:DOMinant:#? (# is R, G, or B)
(<Measured value of dominant wavelength [nm]>,<Measurement
status>)
Queries the measured value of the dominant
wavelength.
:FETCh:RADiometry:#? (# is R, G, B, or RGB)
(<Measured value of radiometric quantity>,<Measurement status>)
Queries the measured value of the radiometric
quantity.
:FETCh:XYZ:#? (# is R, G, B, or RGB)
(<X measured value>,<Y measured value>,<Z measured
value>,<Measurement status>)
Queries the measured values of the tristimulus values
XYZ.
:FETCh:XY:#? (# is R, G, B, or RGB)
(<Measured value of chromaticity (x)>,<Measured value of
chromaticity (y)>,<Measurement status>)
Queries the measured values of the chromaticity
(x,y).
:FETCh:PHOTometry:#? (# is R, G, B, or RGB)
(<Measured value of radiometric quantity>,<Measurement status>)
Queries the measured value of the radiometric
quantity.
:FETCh:UDVD#? (# is R, G, B, or RGB)
(<Measured value of chromaticity (u')>,<Measured value of
chromaticity (v')>,<Measurement status>)
Queries the measured values of the chromaticity
(u',v').
:FETCh:TCP?
(<Measured value of correlated color temperature>,<Measurement
status>)
Queries the measured value of the correlated color
temperature.
:FETCh:DELUv?
(<Measured value of delta uv>,<Measurement status>)
Queries the measured value of the delta uv.
:FETCh:NTSCratio?
(<Measured value of NTSC ratio>,<Measurement status>)
Queries the measured value of the NTSC ratio.
:FETCh:LEVel?
(<Red detection level [%]>,<Green detection level [%]>,<Blue
detection level [%]>)
Queries the detection levels.
:FETCh:PULSe?
(<Modulation frequency [%]>,<Measurement status>)
Queries the modulation frequency measurement
result.
:FETCh:DARK?
(<Judgment result>)
Queries the dark measurement result.
Reading Target Value of Radiometric Quantity
:TARGet:RESult:#? (# is R, G, or B)
< Target value of radiometric quantity >,<Measurement
status>,<Judgment>,<Lower threshold of target value of
radiometric quantity >,<Upper threshold of target value of
radiometric quantity >
Queries the target value of radiometric quantity
:TARGet:RESult:RGB?
(<Judgment>)
Queries the judgment result to the target value of
photometric quantity and the target value of
chromaticity (x,y).
Others
:SYSTem:POWer:LED
<1/0/ON/OFF>
Sets the power LED lighting.
:SYSTem:POWer:LED?
(<1/0 >)
Queries the power LED lighting setting.
:SYSTem:PRESet
Executes system reset.
:SYSTem:ERRor?
(<Error information>)
Reads error information.

14
4 Message Reference
Message Reference Interpretation
< >: Indicates the contents (character or numeric parameters)
of the data portion of a message. Character parameters
are returned as all capital letters.
Numeric Parameters :
• NRf Number format may be any of NR1, NR2 and NR3
•NR1 Integer data (e.g.: +12, -23, 34)
•NR2 Fixed-point data (e.g.: +1.23, -23.45, 3.456)
•NR3 Floating-point exponential representation data (e.g.: +1.0E-2,
-2.3E+4)
Shows the command description.
Shows the message syntax.
Explains the command data or
response message.
Describes the message.
Shows an example of an actual
command application.
Set and Query Number of Average Times of Modulation Frequency
Measurement
Syntax
Command
:PULSe:AVERaging <Average Times(NRf)>
Query
:PULSe:AVERaging?
Response
<Average Times(NR1)>
Description
Command
Sets the number of average times of the
modulation frequency measurement.
Query
Queries the currently set number of average
times of the modulation frequency measurement.
Example
:PULS:AVER 2
:PULS:AVER?
2
Command, Query
Response
Controller
Instrument

15
Standard Commands
(1) System Data Commands
Query Device ID (Identify Code)
Syntax
Query
*IDN?
Response
<Manufacturer name>,<Model name>,<Serial number>,<Software version>
Example
*IDN?
HIOKI,TM6102,123456789,V1.00
The Device ID is HIOKI TM6102, 123456789, software version 1.00. The <Model
name> will be the following.
For TM6102: TM6102
For TM6103: TM6103
For TM6104: TM6104
(2) Internal Operation Commands
Initialize Device
Syntax
Command
*RST
Description
Resets the instrument to its initial state.
Example
*RST
*OPC?
1
Note
The communications conditions are not initialized.
•The dark value, dark estimation value, and dark estimation result are also cleared.
The Event Status Register is not cleared.
•Be sure to check that the operation is complete using *OPC?.
When the communication disconnection process is executed without checking the
operation completion, the initialization process may not be executed.
Execute Self-test and Query Result
Syntax
Query
*TST?
Response
<PASS/FAIL>
Description
Performs the instrument self-check and returns the result.
Returns PASS when no error occurs and FAIL when an error occurs.
Example
*TST?
FAIL
An error occurred. Correct measurement may not be possible. Use :SYSTem:ERRor?
to check the details of the error, and then take an appropriate corrective action
corresponding to the error.
Request a Sample
Syntax
Command
*TRG
Description
Performs one measurement when communication triggering (trigger source
<BUS>) is enabled.
Example
:TRIG:SOURBUS
*TRG
Communication triggering is enabled.
Note:
When the trigger source is the external (EXTernal) setting, an execution error occurs.
Other manuals for TM6102
1
This manual suits for next models
2
Table of contents
Other Hioki Measuring Instrument manuals

Hioki
Hioki FT3432 User manual

Hioki
Hioki SM7420 User manual

Hioki
Hioki CM4141-50 User manual

Hioki
Hioki 3661-20 User manual

Hioki
Hioki 8870-20 User manual

Hioki
Hioki MR8880-20 User manual

Hioki
Hioki 3551 User manual

Hioki
Hioki PW3336-01 User manual

Hioki
Hioki PQ3198 User manual

Hioki
Hioki 3273-50 User manual