Chapter 2 Syntax
2-39
YA (0) to YA (2)
Variable name
Range of values
Default
Unit
Data size
Attribute
YA (0)
General-purpose analog
output
(SJ700 : FM terminal)
(WJ200 : EO terminal)
0 to 10000
0
0.01 %
Unsigned
1-word data
Readable
and writable
YA (1)
General-purpose analog
output (AM terminal)
YA (2)
General-purpose analog
output (AMI terminal)
- Explanation
These variables can be used to monitor the data output to the FM or EO, AM, and AMI terminals (analog output terminals of
the inverter) in a data range from 0% to 100.00%. To obtain the analog outputs, you must assign general-purpose output
functions to the FM or EO, AM, and AMI terminals with inverter parameters “C027”, “C028”, and “C029”.
The WJ200 Series doesn't correspond to YA (2). For details, refer to the Inverter Instruction Manual.
YA (0) : FM or EO output terminal
(C027 = 12 [YA0])
YA (1) : AM output terminal
(C028 = 13 [YA1])
YA (2) : AMI output terminal
(C029 = 14 [YA2])
- Sample program :
Program to output inverter output frequency data to a general-purpose analog output as data that is
one-half of the full-scale data
Label
Mnemonic
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
㩷 䋺
㩷
㩷
㩷
㩷
㩷
㩷
㩷
FW= 1
㩷
㩷
㩷
㩷
LOOP UL(00)=
㩷
㩷
XA(0)
㩷
㩷
: Fetch analog input data.
㩷
UL(00)= UL(00)
*
60
㩷
㩷
: Convert the scale.
㩷
UL(00)= UL(00)
/
100
㩷
㩷
㩷
SET-Freq=
㩷
㩷
UL(00)
㩷
㩷
: Set the output frequency.
㩷
UL(01)= FM *
100
㩷
㩷
㩷
UL(01)= UL(01)
/
60
㩷
㩷
: Convert the scale.
㩷
YA(1)= UL(01)
/
2
㩷
㩷
: Output data that is one-half of the
full-scale data.
㩷
goto LOOP
㩷
㩷
㩷
㩷
㩷
㩷
㩷 䋺
㩷
㩷
㩷
㩷
㩷
㩷
Summary of Contents for NT2021XA
Page 4: ... Safety Instructions ...
Page 8: ... Contents ...
Page 10: ...Chapter 1 Outline of EzSQ ...
Page 14: ...1 4 Chapter 1 Outline of EzSQ ...
Page 16: ...Chapter 2 Syntax ...
Page 68: ...2 52 Chapter 2 Syntax ...
Page 70: ...Chapter 3 Interface with the Inverter ...
Page 80: ...3 10 Chapter 3 Interface with the Inverter ...