4MELFA-BASIC IV
Detailed specifications of MELFA-BASIC V
4-142
52
M_Uar32
Mechanism No.(1 to 3)
Bit data.
(1: Within user specified area, 0: Outside user
specified area)
(Bit 0:area 1 to Bit 31:area 32)
R
Integer type
53
M_In
Input No.(0 to 32767)
Use this variable when inputting external input
signals (bit units).
General-purpose bit device: bit signal input 0=off
1=on
The signal numbers will be 6000s for CC-Link
R
Integer type
54
M_Inb
Input No.(0 to 32767)
Use this variable when inputting external input
signals (8-bit units)
General-purpose bit device: byte signal input
The signal numbers will be 6000s for CC-Link
R
Integer type
55
M_Inw
Input No.(0 to 32767)
Use this variable when inputting external input
signals (16-bit units)
General-purpose bit device: word signal input
The signal numbers will be 6000s for CC-Link
R
Integer type
56
M_Out
Output No.(0 to 32767)
Use this variable when outputting external output
signals (bit units).
General-purpose bit device: bit signal input 0=off
1=on
The signal numbers will be 6000s for CC-Link
RW
Integer type
57
M_OutB
Output No.(0 to 32767)
Use this variable when outputting external output
signals (8-bit units)
General-purpose bit device: byte signal input
The signal numbers will be 6000s for CC-Link
RW
Integer type
58
M_OutW
Output No.(0 to 32767)
Use this variable when outputting external output
signals (16-bit units)
General-purpose bit device: word signal input
The signal numbers will be 6000s for CC-Link
RW
Integer type
59
M_DIn
Input No.(from 6000 )
CC-Link's remote register: Input register
R
Integer type
60
M_DOut
Output No.(from 6000)
CC-Link's remote register: output register
RW
Integer type
61
M_HndCq
Input No.(1 to 8)
Returns a hand check input signal.
R
Integer type
62
P_Safe
Mechanism No.(1 to 3)
Returns an safe point position.
R
Position type
63
J_Origin
Mechanism No.(1 to 3)
Returns the joint coordinate data when setting the
origin.
R
Joint type
64
M_Open
File No.(1 to 8)
Returns the open status of the specified file
or the communication line.
R
Integer type
65
C_Mecha
Slot No.(1 to 32)
Returns the type name of the robot.
R
Character string
type
66
C_Maker
None
Shows manufacturer information (a string of up to
64 characters).
R
Character string
type
67
C_User
None
Returns the content of the parameter
"USERMSG."(a string of up to 64 characters).
R
Character string
type
68
C_Date
None
Current date expressed as "year/month/date".
R
Character string
type
69
C_Time
None
Current time expressed as "time/minute/second".
R
Character string
type
70
M_BTime
None
Returns the remaining battery capacity time
(hours).
R
Integer type, Time
71
M_Timer
Timer No. (1 to 8)
Constantly counting. Value can be set. [ms]
It is possible to measure the precise execution
time by using this variable in a program.
RW
Single-precision
real number type
72
P_Zero
None
A variable whose position coordinate values (X, Y,
Z, A, B, C, FL1, FL2) are all 0
R
Position type
73
M_PI
None
Circumference rate (3.1415...)
R
Double-precision
real number type
74
M_Exp
None
Base of natural logarithm (2.71828...)
R
Double-precision
real number type
No
Variable
name
Array designation
Note1)
Details
Attribute
Note2)
Data type, Unit
Page