Sony MG40 Series Command Reference Manual page 111

Table of Contents

Advertisement

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
The command sets the comparator values.
Command format
Return format
Target
Save setting values
Examples of use
Compatible command
Acquire
The command acquires the comparator values.
Command format
Return format
Target
Examples of use
Compatible command
MG40 Series
Setup
mode
CMV Designated axis <Group number><Level number>=<Value>
<Group number>
01 : Group 1 to 16 : Group 16
<Level number>
01 : Level 1 to 16 : Level 16
<Value>
Corresponds to output
resolution digit (setting cleared
when no value is input).
Execution results
Designated axis, MG42 hub unit, all axes
Setting values saved.
CMV[00A]0101=12.3335
Transmission :
level number 01 of axis A for the MG41 main unit.)
Return
: OK000
CMV[00B]0101=
Transmission :
number 01 and level number 01 of axis B for the MG41 main unit.)
Return
: OK000
None
Setup
mode
CMV Designated axis <Group number><Level number>?
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).
Designated axis
CMV[00A]0101?
Transmission :
Return
: CMV[00A]0101=12.3335 (12.3335 is the comparator value.)
CMV[00B]0101?
Transmission :
Return
: CMV[00B]0101=
None
Ethernet
Th ere are no factory
settings.
(Set 12.3335 for group number 01 and
(Clear the comparator setting value for group
Measurement
Ethernet
mode
(No setting)
CC-Link
CC-Link
4-23
(E)

Advertisement

Table of Contents
loading

Table of Contents