Local Variables - Mitsubishi Electric C80 Series Instruction Manual

Hide thumbs Also See for C80 Series:
Table of Contents

Advertisement

C80 Series Instruction Manual
3 Inputting a Machining Program and Defining Variables

3.9.2 Local Variables

Monitr
Loc var
Select [Loc var] on the monitor (Monitr) screen, and the details of the local variables are displayed.
Local variables 1 to 33 are prepared for each user macro subprogram call level. Up to 33 local variable data items are dis-
played on one level. A 5-level configuration from level 0 to level 4 is used in page order. If there is a local variable command
or an argument designation called by the user macro subprogram in the block, and that block is executed first, the set vari-
able value (variable name) will be displayed.
(1)
(2)
(3)
(4)
Display items
Display items
(1)
Execution level
(2)
Display level
(3)
Variable number
(4)
Variable value
This displays the nest level of the subprogram control called by the user macro.
0: Not in user macro call state
1: User macro call level 1
2: User macro call level 2
3: User macro call level 3
4: User macro call level 4
This displays the nest level of the local variable displayed in the area.
This displays the local variable No.
The alphabetic character before the local variable No. is the argument code. G, L, N,
O, P cannot be used as arguments, and thus not displayed.
There are 33 local variables (1 to 33) for each user macro subprogram call level.
This displays the local variable value.
If the variable data is "blank", the display will be blank.
An exponential is displayed when a 7 digits are set in the integer section and 5 digits
or more as set in the decimal section.
(Example)1234567 -> 1.2346E+006, 0.00001 → 1.0000E-005
<Note>
When the setting is "blank", the setting will be handled as "0" in the calculations.
However, when the conditional expressions EQ or NE are used, the blank will not
be handled as "0".
93
Details
IB-1501453-C

Advertisement

Table of Contents
loading

Table of Contents