Mitsubishi Electric M700V Series Programming Manual page 356

Hide thumbs Also See for M700V Series:
Table of Contents

Advertisement

13. Program Support Functions
(4) Parameter read (#100010)
The designated parameter data is read with this system variable.
The following data is read according to the parameter type.
Type
Value
Text
Example of programs for reading parameters
(1) To read the parameter [#1002 axisno (Number of axes)]
#100000 = 1002 ; .....................Designates [#1002].
#100001 = 0 ;
#101 = #100010 ; .....................Reads the number of axes.
#100001 = 5 ; ...........................Designates [5th part system]. (Program error (P39) occurs.)
#100001 = 10 ; .........................Designates [PLC axis].
#110 = #100010 ; .....................Reads the number of PLC axes.
(2) To read the parameter [#2037 G53ofs (#1 reference position)]
[Conditions]
#2037 G53ofs
#100002 = 1 ; ...........................Designates [1st axis].
#100000 = 2037 ; .....................Designates [#2037].
#101 = #100010 ; .....................Reads the [#1 reference position] for the 1st axis.
#100002 = 2 ; ...........................Designates [2nd axis].
#102 = #100010 ; .....................Reads the [#1 reference position] for the 2nd axis.
(3) To read each parameter for each axis and spindle
#100002 = 1 ; ...........................Designates [1st spindle].
#100000 = 3001 ; .....................Designates [#3001].
#101 = #100010 ; .....................Reads the [#3001 slimt1 (Number of limit rotation gears 00)]
#100000 = 3002 ; .....................Designates [#3002].
#102 = #100010 ; .....................Reads the [#3002 slimt2 (Number of limit rotation gears 01)]
#100002 = 2 ; ...........................Designates [2nd spindle].
#100000 = 3001 ; .....................Designates [#3001].
#201 = #100010 ; .....................Reads the [#3001 slimt1 (Number of limit rotation gears 00)]
#100000 = 3002 ; .....................Designates [#3002].
#202 = #100010 ; .....................Reads the [#3002 slimt2 (Number of limit rotation gears 01)]
The values displayed on the Parameter screen are output.
ASCII codes are converted into decimal values.
<1st axis>
<2nd axis>
1000.000
200.000
(#101 = 100.000.)
(#102 = 200.000.)
for 1st spindle.
for 1st spindle.
for 2nd spindle.
for 2nd spindle
344
13.5 User Macro Specifications
Read data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents