How To Read The Robot Language Table - Omron SCARA YRCX Series Programming Manual

Robot controller
Hide thumbs Also See for SCARA YRCX Series:
Table of Contents

Advertisement

How to read the robot language table

The key to reading the following robot language table is explained below.
(1)
|
No.
Name
26
DIM
(1) No.
Indicates the Item No. where this robot language is explained in detail.
Example of "No." column
No.
26
DIM
Declares array variable
MEMO
(2) Description
Explains the function of the robot language.
(3) Online
If " 3 " is indicated at this item, online commands can be used.
If " - " is indicated at this item, commands containing operands that cannot partially be
executed by online command.
(4) Type
Indicates the robot language type as "Command" or "Function".
When a command is used as both a "Command" and "Function", this is expressed as follows:
Command/Function
(2)
|
Description
Declares array variable
Format
array definition
array definition
DIM
,
Format
name
%
(
constant
,
!
$
Values
constant
............................Array subscript: 0 to 32,767 (positive integer)
Explanation
Directly declares the name and length (number of elements) of an array variable. A
maximum of 3 dimensions may be used for the array subscripts. Multiple arrays can
be declared in a single line by using comma ( , ) to separate.
• Array subscripts can be "0 to a specified value", with their total number being the
• A "9.300: Memory full" error may occur depending on the size of each dimension
array.
SAMPLE
DIM A%(
)
D e f i n e s
10
・・・・・・・・・・・・・・・・・・・・・・・・
variable A% (
(Number of elements:
DIM B(
2
,
3
,
4
)
Defines a real array variable
・・・・・・・・・・・・・・・・・・・・・
B (
0
(Number of elements:
DIM C%(
2
,
2
),D!(
10
)
・・・・・・・・・・・・
Defines an integer array C%
(
,
) to C% (
0
0
array D! (
(3)
|
Online
-
,
...
constant
,
constant
)
constant
+ 1.
defined
in an
a
i n t e g e r
a r r a y
) to A% (
).
0
10
).
11
,
0
,
0
) to B (
2
,
3
,
4
).
60
).
,
) and a real
2
2
) to D! (
).
0
10

How to read the robot language table

(4)
|
Type
Command
8-1
8
9
10
11
12
13

Advertisement

Table of Contents
loading

Table of Contents