Manual

4-38
IM MV1000-17E
Description You can execute this command on models
with the /C2 or /C3 serial interface option.
Y
ou can use this command when the serial
interface protocol is set to Master
. For serial
interface settings, see section 2.3.
The settings specified with this command take
ef
fect when you save the settings with the XE
command and power-cycle the MV
.
To set a command for writing floating type data
into Modbus registers
Syntax
YM p1,p2,p3,p4,p5,p6,p7<terminator>
p1
Command number (1 to 16)
p2
Command type
W
W
rite data from measurement
channels
W-M
Write data from computation
channels
p3
First channel number
Measurement channel number (1 to 48) if
p2 is set to W
Computation channel number (101 to 124)
if p2 is set to W-M
p4
Last channel number (1 to 48)
Measurement channel number (1 to 48) if
p2 is set to W
Computation channel number (101 to 124)
if p2 is set to W-M
p5
Server number (1 to 16)
p6
First register number (40001 to 499991,
400001 to 465536)
p7
Register data type
INT16
16-bit signed integer
UNIT16
16-bit unsigned integer
INT32_B
32-
bit signed integer (Big
Endian)
INT32_L
32-bit signed integer (Little
Endian)
FLOAT_B
32-bit floating point (Big
Endian)
FLOAT_L
32-bit floating point (Little
Endian)
Example Using command number 1, write the data from
measurement channels 1 to 16 to the registers
at server number 3 starting from register
number 40001 in 32-bit floating point format (Big
Endian).
YM1,W,1,16,3,40001,FLOAT_B
Query
YM?
Description
The selectable range of the first channel number
(p3) and last channel number (p4) varies
depending on the model.
WR Sets the instrument information
output
Syntax
WR p1,p2,p3,p4<terminator>
p1
Memory/Media state ON/OFF
p2
Self diagnosis ON/OFF
p3
Communication error ON/OFF
p4
Memory stop ON/OFF
Query
WR?
Example Output various information.
WRON,ON,ON,ON
XE Activates Basic Setting Mode
Syntax
XE p1<terminator>
p1
Store or discard the settings (ST
ORE,
ABOR
T)
Example
Save the setup data of the basic setting
commands.
XESTORE
Description
T
o activate the settings that are changed with
the basic setting commands, you must save the
settings with the XE command. Make sure to
save the settings with the XE command before
changing from Basic Setting Mode to Operation
Mode. Otherwise, new settings will not take
ef
fect.
YE Activates Basic Setting Mode
(cold reset)
Syntax
YE p1<terminator>
p1
Setting activation
STORE
Start by saving the basic settings
ABORT
Start without saving basic settings
Example
Start by saving the basic settings.
YESTORE
4.6 Basic Setting Commands