EasyManua.ls Logo

Hitachi SJ700-2 Series - Page 87

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 - 33
Variable name Range of values Default Unit Data size Attribute
XA (0)
General-purpose analog input
(O terminal)
0 to 10000
XA (1)
General-purpose analog input
(OI terminal)
0 to 10000
XA (2)
General-purpose analog input
(O2 terminal)
-10000 to 10000
0 0.01 %
Unsigned
1-word
data
Readable
- Explanation
These variables can be used to monitor the data input to the O, OI, and O2 terminals (among the
analog input terminals of the inverter) in a data range from -100.00 to +100.00. The analog inputs
monitored with these variables correspond to the data set by the [O]-[L], [OI]-[L], and [O2]-[L] input
functions (A011 to A015, A101 to A105, and A111 to A114).
- Sample program: Program to configure output frequencies in steps of 10 Hz with general-purpose
analog inputs
(Code area [Code Window])
:
FW= 1
LOOP UL(00)= XA(0) : Fetch analog input data.
UL(00)= UL(00) * 60 : Convert the scale.
UL(00)= UL(00) / 100
if U(00) < U(00) then LBL1 : When data is less than 16.67%, set the
output frequency to 10 Hz.
if U(00) < U(01) then LBL2 : When data is less than 33.33%, set the
output frequency to 20 Hz.
if U(00) < U(02) then LBL3 : When data is less than 50.00%, set the
output frequency to 30 Hz.
if U(00) < U(03) then LBL4 : When data is less than 66.67%, set the
output frequency to 40 Hz.
if U(00) < U(04) then LBL5 : When data is less than 83.33%, set the
output frequency to 50 Hz.
if U(00) < U(05) then LBL6 : When data is less than 100.00%, set the
output frequency to 60 Hz.
goto LBL7
LBL1 SET-Freq= 1000
goto LBL7
LBL2 SET-Freq= 2000
goto LBL7
LBL3 SET-Freq= 3000
goto LBL7
LBL4 SET-Freq= 4000
goto LBL7
LBL5 SET-Freq= 5000
goto LBL7
LBL6 SET-Freq= 6000
LBL7 goto LOOP
:
(Data area [Data Window])
U(00) = 1000
U(01) = 2000
U(02) = 3000
U(03) = 4000
U(04) = 5000
U(05) = 6000

Table of Contents

Related product manuals