![Hioki SM7860 Series Instruction Manual Download Page 33](http://html1.mh-extra.com/html/hioki/sm7860-series/sm7860-series_instruction-manual_2137403033.webp)
29
Communication Method
Program Messages
1. Command Messages and Query Messages
Command Messages
Commands that control the device, for example to configure settings or reset the device.
Query Messages
Requests for responses relating to results of operation or measurement, or the state of device settings.
Query commands end with a question (?) mark.
2. Message delimiter (terminator)
This device recognizes the following input message delimiters:
LF with CR+EOI
LF with EOI
CR with EOI
EOI
CR+LF
LF
Response Messages
1. Response Messages
When a query message is received, its syntax is checked and a response message is generated.
2. Message delimiter (terminator)
The following three response message delimiters can be specified with the “
DLM
” command:
LF (initial setting)
CR+LF
EOI
Separators
1. Message Unit Separator
Multiple message can be written in one line by separating them with semicolons “ ; ”.
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).
3. Data Separator
In a message containing multiple data items, commas “,” are required to separate the data items from one
another.
Data Formats
Query messages use the formats outlined in the table below. The format is selected according to the command.
Response Messages and Parameter Data Types
Data type
Description
Example
Remarks
NR1
Integer
0, 1, 2, 3 etc.
Setting items, etc.
NR2
Fixed-point decimal number
+12.345, 400.0 etc.
Primarily setting values
NR3
Floating-point decimal number
+1.234±50 etc.
Primarily settings and measured values
ASCII
ASCII string
XXXXXXXXXXXXXXXX
Primarily device IDs
Summary of Contents for SM7860 Series
Page 2: ......
Page 4: ...Contents ii...
Page 12: ...8 Operating Precautions...
Page 26: ...22 Output Setting for the Device Interlocked...
Page 61: ......
Page 62: ......
Page 63: ......
Page 64: ......