![Hitachi SJ700 Series Software Instruction Manual Download Page 83](http://html.mh-extra.com/html/hitachi/sj700-series-software/sj700-series-software_instruction-manual_140536083.webp)
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.
:
Summary of Contents for SJ700 Series Software
Page 8: ...Contents vii ...
Page 10: ......
Page 16: ...Chapter 1 Introduction 1 6 ...
Page 18: ......
Page 24: ...Chapter 2 Creation and Execution of a User Program 2 6 ...
Page 26: ......
Page 30: ...Chapter 3 Syntax 3 4 ...
Page 32: ......
Page 54: ......
Page 102: ......
Page 110: ...Chapter 6 Interface with the Inverter 6 8 ...
Page 112: ......
Page 115: ...Chapter 8 Appendix 8 1 Inverter Parameters and Available Settings 8 1 ...
Page 116: ......