EasyManua.ls Logo

YASKAWA YRC1000 - 4.6 User Variables

YASKAWA YRC1000
493 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4 Teaching
4.6 User Variables
4-44
HW1485509
HW1485509
4.6 User Variables
Variables are used to store counters, calculation results, or input signals in
the job. The variables can be freely defined in the job. User variables
have a global scope, which means that the same variable can be used in
multiple jobs and its data value is common to all the jobs. A variable’s
value is maintained even when the power is turned OFF.
Variables have the following applications:
• Counting the amount of workpieces
• Managing the repeating count of jobs
• Sending/receiving of information between jobs
The data formats for variables are described in the following table.
Default number of available variables is shown in the table. Users can
change the amount of variable allocation using the Software Pendant
(refer to chapter 12 “Software Pendant” ).
NOTE
Consider the data size of each variable and the amount of
memory available in the YRC Controller when changing the
amount of variable allocation.
Data Format Variable No.
(pcs.)
Functions
Byte type
(unsigned 8-bit)
B000 to B099
(100 count)
Range of storable values is from 0 to 255.
Can store I/O status.
Can perform logical operations (AND,
OR, etc.)
Integer type
(16-bit)
I000 to I099
(100 count)
Range of storable values is from
-32768 to 32767.
Double integer
type
(32-bit)
D000 to D099
(100 count)
Range of storable values is from
-2147483648 to 2147483647.
Real type
(32-bit float)
R000 to R099
(100 count)
Range of storable values is from
-3.4E+38 to 3.4E38.
String type
(character)
S000 to S099
(100 count)
Maximum storable number of characters
is 32.
Position type P000 to P127
(128 pcs.)
Can store position data in angle form or in
XYZ form. XYZ type variables can be
used as target position data for motion
instructions, and as incremental values
for parallel shift instructions. Teaching
line coordinates cannot be used.
142 of 493

Table of Contents

Other manuals for YASKAWA YRC1000

Related product manuals