Mitsubishi MELFA CR1D Instruction Manual page 279

Table of Contents

Advertisement

C_Mecha
[Function]
This variable returns the name of the mechanism to be used.
[Format]
Example) <Character String Variable >=C_Mecha[(<Mechanism Number>)]
[Terminology]
<Character String Variable >
<Mechanism Number>
[Reference Program]
1 C1$=C_Mecha(1)
[Explanation]
(1) This variable returns the name of the mechanism to be used.
(2) This variable only reads the data.
C_Prg
[Function]
This variable returns the selected program number (name).
[Format]
Example) <Character String Variable >=C_Prg [(<Numeric>)]
[Terminology]
<Character String Variable >
<Numeric>
[Reference Program]
1 C1$=C_Prg(1)
[Explanation]
(1) The program number (name) set (loaded) into the specified task slot is assigned.
(2) If this variable is used in single task operation, the task slot number becomes 1.
(3) If it is set in the operation panel, that number is set.
(4) This variable only reads the data.
(5) If a task slot for which a program is not loaded is specified, an error occurs at execution.
Specify a character string variable to be assigned.
Enter the mechanism number. 1 to 3, If the argument is omitted, 1 is set
as the default value.
' "RV-6SD" is assigned to C1$. (If the robot type name is RV-6SD)
Specify a character string variable to be assigned.
1 to 32, Enter the task slot number. If the argument is omitted, 1 is set as
the default value.
' "10" is assigned to C1$. (if the program number is 10.)
Detailed explanation of Robot Status Variable 4-266
4MELFA-BASIC IV

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melfa cr2dMelfa cr3d

Table of Contents