Editing Local Variables - YASKAWA NX100 Operator's Manual

Hide thumbs Also See for NX100:
Table of Contents

Advertisement

3 Teaching
3.9 Other Job-editing Functions
3.9.5

Editing Local Variables

User variables and local variables can be used in the storage of counters, calculations, and input
signals. The data format is the same as that of user variables. As shown in the following table, the letter
L is affixed to the variable number to indicate a local variable.
Data Format
Byte Type
Integer Type
Double Precision
Integer Type
Real Type
Character Type
Position
Robot
Type
Axes
Base
Axes
Station
Axes
Local variables differ from user variables in the following four ways:
• Used in One Job Only
With user variables it is possible to define and use one variable in multiple jobs, but local
variables are used only in the one job in which they are defined, and cannot be read from
other jobs. Accordingly, local variables do not affect other jobs, so it is possible to define a
variable number (such as LB001) separately in different jobs, and use it in different ways
in each of these jobs.
Job 1
• Able to Use Any Number of Variables
The number is set in the JOB HEADER window. When the number is set, the area for the
value is saved in memory.
Local Variables
Variable No.
Range of storable values is from 0 to 255.
LB000 to
Can store I/O status.
LB
Can perform logical operations (AND, OR, etc.).
Ll000 to
Range of storable values is from -32768 to 32767.
LI
LD000 to
Range of storable values is from -2147483648 to
LD
2147483647.
LR000 to
Range of storable values is from -3.4E+38 to 3.4E+38
LR
Accuracy: 1.18E-38 < x ≤ 3.4E+38
LS000 to
Maximum storable number of characters is 16.
LS
LP000 to
Can store position data in pulse form or in XYZ form. XYZ
LP
type variables can be used as target position data for
move instructions, and as incremental values for parallel
LBP000 to
shift instructions.
LBP
LEX000 to
LEX
User Variable
B001
Job 2
Job 3
User Variables
3-80
Functions
Job 1
Job 2
Job 3
Local Variable
Local Variable
Local Variable
LB001
LB001
LB001
Local Variables
149235-1CD
144 of 493
RE-CSO-A031

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents