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 297
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 282
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 282
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 282
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 288
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 288
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 288
59 M_DIn Input No.(from 6000 )
CC-Link's remote register: Input register R Integer type 278
60 M_DOut Output No.(from 6000)
CC-Link's remote register: output register RW Integer type 278
61 M_HndCq Input No.(1 to 8)
Returns a hand check input signal. R Integer type 281
62 P_Safe Mechanism No.(1 to 3)
Returns an safe point position. R Position type 305
63 J_Origin Mechanism No.(1 to 3)
Returns the joint coordinate data when setting the
origin.
R Joint type 271
64 M_Open File No.(1 to 8) Returns the open status of the specified file
or the communication line.
R Integer type 287
65 C_Mecha Slot No.(1 to 32)
Returns the type name of the robot. R Character string
type
266
66 C_Maker None
Shows manufacturer information (a string of up to
64 characters).
R Character string
type
265
67 C_User None
Returns the content of the parameter
"USERMSG."(a string of up to 64 characters).
R Character string
type
267
68 C_Date None
Current date expressed as "year/month/date". R Character string
type
265
69 C_Time None
Current time expressed as "time/minute/second". R Character string
type
267
70 M_BTime None
Returns the remaining battery capacity time
(hours).
R Integer type, Time 273
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
294
72 P_Zero None
A variable whose position coordinate values (X, Y,
Z, A, B, C, FL1, FL2) are all 0
R Position type 306
73 M_PI None
Circumference rate (3.1415...) R Double-precision
real number type
288
74 M_Exp None
Base of natural logarithm (2.71828...) R Double-precision
real number type
279
No
Variable
name
Array designation
Note1)
Details
Attribute
Note2)
Data type, Unit Page