Starting The Measurements - Sony MG40 Series Command Reference Manual

Table of Contents

Advertisement

Setting the data format
<Example> Setting "2" as the data header type and "space" as the separator character
Data header type
1
Use the HDR command to set "02" which signifi es type 2.
 HDR command
HDR=02 CR LF
OK000 CR LF
Data axis separator
2
Use the SEP command to set "0" which signifi es a space.
 SEP command
SEP=0 CR LF
OK000 CR LF

2-4-3. Starting the Measurements

Switching over to the measurement mode
Aft er the settings of the measurement conditions have been completed, switch over to the measurement mode.
1
Use the MOD command to set "1" which signifi es the measurement mode.
 MOD command
MOD=1 CR LF
OK000 CR LF
Acquiring the data
<Example> Outputting the data of all the axes
 R command, r command
1
Transmit the R command which signifi es the request data of all axes.
R CR LF
Example of the data of all axes
[00A]04C00=0.0050[00B]00C00=-123.4567[01A]00C00=-1.2900[01D]02C00=0.0030 CR LF
 Data format (ASCII data)
Reference
Th e data request command re-calculates the data and outputs it so an error results if there is an axis whose data updating
has been fi xed by the latch or pause setting.
2-6
(E)
MG40 Series

Advertisement

Table of Contents
loading

Table of Contents