EasyManua.ls Logo

Hitachi SJ700-2 Series - Other Reserved Variables; UL (00) to UL (03)

Hitachi SJ700-2 Series
134 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...
Chapter 5 Instruction Words
5 - 29
5.8 Other Reserved Variables
Variable name Range of values Default Unit Data size Attribute
U (00) to
U (31)
User-defined
variable
0 to 65535
Data stored in
P100 to P131
-
Unsigned
1-word data
Readable
and writable
- Explanation
User-designed variables are the general-purpose functions that can be used as unsigned 1-word
variables regardless of format. The data written from a sequence program to the user-defined variables
is not stored in the inverter's EEPROM. The variables will restore the initial settings when the inverter
power is turned off. The user-defined variables correspond to inverter parameters "P100" to "P131".
You can also change the settings of user-defined variables from the digital operator. The changes made
from the digital operator will be stored in EEPROM.
- Sample program
:
U(00)= U(00) + U(01)
U(02)= U(00) * U(02)
U(03)= U(00) mod U(01)
:
Variable name Range of values Default Unit Data size Attribute
UL (00) to
UL (07)
Internal user
variable
-2
31
to 2
31
-1 0 -
Signed
2-word data
Readable
and writable
- Explanation
Internal user variables are the general-purpose functions that can be used as unsigned 2-word
variables, for example, to temporarily store arithmetic operation results.
Note: If an arithmetic operation causes data overflow, an execution error (E45) will result.
- Sample program
:
UL(00)= Tmon : Acquire the output torque data.
if UL(00) >= 0 then SKIP : When the output torque is a positive value
UL(01)= -1
UL(00)= U(01) * UL(00) : When the output torque is a negative value (x -1)
SKIP U(05)= UL(00)
U(05)= U(05) * 100 : Convert the scale.
U(05)= U(05) / 300
YA(1)= U(05) : Output the data to general-purpose analog output.
:

Table of Contents

Related product manuals