![Sony MG40 Series Command Reference Manual Download Page 111](http://html.mh-extra.com/html/sony/mg40-series/mg40-series_command-reference-manual_411003111.webp)
(E)
4-23
MG40 Series
Comparator value
Th
is function is used to set and acquire the comparator values.
Th
e setting range diff ers depending on the comparator mode.
Precautions when setting the comparator values
Set the comparator values in sequence from level 1 starting with the lowest value.
(Level 1 setting value < Level 2 setting value < Level 3 setting value < ... < Level 16 setting value)
Th
e comparator value of each level to be set cannot be lower than the setting value of the previous
level.
(Example: An error will result if “5” is set for level 2 when “10” has been set for level 1.)
If, when the settings are to be changed, the setting value is higher than that of the subsequent level, all
the setting values of the subsequent levels will be canceled.
(Example: If, when “10” is set for level 1, “20” is set for level 2, “30” is set for level 3 and “40” is set for level
4, the setting value for level 2 is changed to 40, the setting values for level 3 and 4 will be canceled.)
Set
Setup
mode
Ethernet
CC-Link
The command sets the comparator values.
Command format
CMV Designated axis <Group number><Level number>=<Value>
<Group number>
01 : Group 1 to 16 : Group 16
Th
ere are no factory
settings.
<Level number>
01 : Level 1 to 16 : Level 16
<Value>
Corresponds to output
resolution digit (setting cleared
when no value is input).
Return format
Execution results
Target
Designated axis, MG42 hub unit, all axes
Save setting values
Setting values saved.
Examples of use
Transmission :
CMV[00A]0101=12.3335
(Set 12.3335 for group number 01 and
level number 01 of axis A for the MG41 main unit.)
Return
:
OK000
Transmission
:
CMV[00B]0101=
(Clear the comparator setting value for group
number 01 and level number 01 of axis B for the MG41 main unit.)
Return
:
OK000
Compatible command
None
Acquire
Setup
mode
Ethernet
CC-Link
Measurement
mode
The command acquires the comparator values.
Command format
CMV Designated axis <Group number><Level number>?
Return format
CMV Designated axis <Group number><Level number>=<Value>
<Group number>
01 : Group 1 to 16 : Groups 16
<Level number>
01 : Level 1 to 16 : Level 16
<Value>
Corresponds to output resolution digit (no output when
the value has not been set).
Target Designated
axis
Examples of use
Transmission :
CMV[00A]0101?
Return
: CMV[00A]0101=12.3335 (12.3335 is the comparator value.)
Transmission
:
CMV[00B]0101?
Return
:
CMV[00B]0101=
(No
setting)
Compatible command
None
Summary of Contents for MG40 Series
Page 2: ...MG40 Series ...
Page 4: ...ii J MG40 Series ...
Page 8: ...1 4 J MG40 Series ...
Page 20: ...3 4 J MG40 Series ...
Page 68: ...5 6 J MG40 Series ...
Page 72: ...ii E MG40 Series ...
Page 76: ...1 4 E MG40 Series ...
Page 88: ...3 4 E MG40 Series ...
Page 136: ...5 6 E MG40 Series ...