Omron RX2 Series User Manual page 77

Driveprogramming, cx-drive
Hide thumbs Also See for RX2 Series:
Table of Contents

Advertisement

Internal User Variables UL(00) to UL(15)
The DriveProgramming's internal user variables UL(00) to UL(15) are the signed 2-word variables.
Use these variables for saving data during calculations such as four arithmetic operations.
Function
variable
UL(00) to
Internal user variable
UL(15)
Variables that correspond
to UF-02 to UF-32
• Data saved in EEPROM of parameters UF-02 to UF-32 is set to EzSQ user parameter UL (00 to 15)
when the power supply is turned ON.
• Even when data of EzSQ user parameter UL (00 to 15) is changed on a program of the DrivePro-
gramming, parameters UF-02 to UF-32 are not in EEPROM.
• To move the upper word data of the internal user variables UL(00) to UL(15) to the 1-word size user
parameter variables U(00) to U(63), use the following operation.
Assign the positive upper word data: U(00) = UL(00)/65536
Assign the negative upper word data: U(00) = UL(00)/65535
The lower word data will move to U(00) when U(00) = UL(00) is executed.
Precautions for Correct Use
When the DriveProgramming program is stopped, the data of internal user variables before the
program stop is retained. When the program execution is started again, the process begins
with the retained data.
Internal User Contacts UB(0) to UB(15)
The DriveProgramming's internal user contacts UB(0) to UB(15) are the bit-access variables.
Use these variables for saving data during bit operations.
You can also use the variable UBw as a word-access data which contains the internal user contacts
UB(0) to UB(15) in its lower byte.
Function
variable
UB(0) to
Internal user contact
UB(15)
(bit access)
• You can use the internal user contacts UB(0) to UB(15) as bit-size variables.
• UB(0) to UB(15) are cleared to zero when the power supply is turned ON.
Any data saving measure like EEPROM is not provided.
• To set initial data, create a program in which the initial data is set to UB(0) to UB(15).
DriveProgramming User's Manual (I622-E1)
Description
Data range
-2147483648 to
2147483647
Description
Data range
0: OFF
1: ON
5 DriveProgramming User Variables
Default
Unit
data
0
Default
Unit
data
0
Data size
R/W
Signed
R/W
2 words
5
Data size
R/W
bit
R/W
5 - 3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx2 series

Table of Contents