EasyManua.ls Logo

Omron 3G3RX Series - Page 82

Omron 3G3RX Series
196 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...
5 - 3
5 Drive Programming User Variables
Drive Programming User’s Manual (I580-E2)
5-1 User Variables and User Parameters
5
Precautions for Correct Use
When the Drive Programming program is stopped, the data of the user parameter variables
before the program stop is retained. When the program execution is started again, the process
begins with the retained data.
The Drive Programming's internal user variables UL(00) to UL(07) are the signed 2-word variables.
Use these variables for saving data during calculations such as four arithmetic operations.
The internal user variables UL(00) to UL(07) 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 UL(00) to UL(07).
To move the upper word data of the internal user variables UL(00) to UL(07) to the 1-word size user
parameter variables U(00) to U(31), 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 Drive Programming 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 Drive Programming's internal user contacts UB(0) to UB(7) 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(7) in its lower byte.
You can use the internal user contacts UB(0) to UB(7) as bit-size variables.
UB(0) to UB(7) 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(7).
Internal User Variables UL(00) to UL(07)
Function
variable
Description Data range
Default
data
Unit Data size R/W
UL(00) to
UL(07)
Internal user variable 2,147,483,648 to
2,147,483,647
0 Signed
2 words
R/W
Internal User Contacts UB(0) to UB(7)
Function
variable
Description Data range
Default
data
Unit Data size R/W
UB(0) to
UB(7)
Internal user contact
(bit access)
0: OFF
1: ON
0 bit R/W

Table of Contents

Related product manuals