5 - 3
5 DriveProgramming User Variables
DriveProgramming User’s Manual (I622-E1)
5-1 User Variables and User Parameters
5
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.
• 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.
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.
• 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).
Internal User Variables UL(00) to UL(15)
Function
variable
Description Data range
Default
data
Unit Data size R/W
UL(00) to
UL(15)
Internal user variable
Variables that correspond
to UF-02 to UF-32
-2147483648 to
2147483647
0 − Signed
2 words
R/W
Internal User Contacts UB(0) to UB(15)
Function
variable
Description Data range
Default
data
Unit Data size R/W
UB(0) to
UB(15)
Internal user contact
(bit access)
0: OFF
1: ON
0 − bit R/W