Chapter 2 Syntax
2-42
2.8 Inverter
Montor
Variables
FM
Variable name
Range of values
Default
Unit
Data size
Attribute
Output frequency monitoring
0 to 40000
-
0.01 Hz
Unsigned
1-word data
Readable
- Explanation
This variable can be used to monitor the inverter output frequency. The data monitored with this variable corresponds to the
data monitored by the output frequency monitoring function (d001). This variable is read-only. For details, refer to the Inverter
Instruction Manual.
- Sample program :
Program to turn a contact output on when output frequency exceeds 50 Hz and turn the contact output off
when output frequency falls below 10 Hz
(Code area [Code Window])
Label
Mnemonic
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
㩷 䋺
㩷
㩷
㩷
㩷
㩷
㩷
LOOP
if
FM
<
U(00)
then
LBL1
: When the output frequency is less than 10 Hz
㩷
if
FM
>
U(01)
then
LBL2
: When the output frequency is more than 50 Hz
㩷
goto LBL3
㩷
㩷
㩷
㩷
LBL1 UB(02)= 0
㩷
㩷
㩷
: Turn UB (02) off.
㩷
goto LBL3
㩷
㩷
㩷
㩷
LBL2 UB(02)= 1
㩷
㩷
㩷
: Turn UB (02) on.
LBL3 Y(02)= UB(02)
㩷
㩷
㩷
㩷
: Set the data of UB (02) in Y (02).
㩷
goto LOOP
㩷
㩷
㩷
㩷
㩷
㩷
㩷 䋺
㩷
㩷
㩷
㩷
㩷
㩷
(Data area [Data Window])
U(00) = 1000
: Set the frequency of 10 Hz in variable “U (00)”.
U(01) = 5000
: Set the frequency of 50 Hz in variable “U (01)”.
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 ...