![](http://datasheet.mmic.net.cn/380000/-PD780983_datasheet_16744915/-PD780983_42.png)
CHAPTER 3 CONTROL
42
(4)
Setting mode transition
Key input setting mode transition is performed. Table 3-13 lists the setting mode state transitions for key input.
During mode processing indicated by one of
<1>
to
<3>
in "Mode", upon the key input indicated in "Key,"
transition to the mode corresponding to the number shown is performed.
A "*" in a column indicates that the key is valid and that state transition is not performed.
A "-" in a column indicates that the key is invalid.
Table 3-13. Setting Mode State Transition
Mode
Key
[ON/OFF]
[+]
[-]
[Changeover]
<1>
Table setting
<3>
*
*
-
<2>
Output setting
<3>
*
*
<3>
<3>
OFF
*
<2>
<2>
*
Remark
Upon a reset start, table setting mode
<1>
is assumed.
(5)
Main mode transition
As indicated in Table 3-1 "State Transition," inverter output mode MMODE is changed and _MINIT is set.
_MINIT is the flag used for mode initialize processing, that is set only when the state is changed (upon a reset
start, depending on the initialize processing, stop mode is assumed). Table 3-14 lists the values set for
MMODE.
Table 3-14. MMODE Set Values
Main mode
MMODE
(Protection) stop mode
0
Fixed output mode
1
Output change mode
2
(6)
Inverter output variable setting (subroutine: INVSET)
In output change mode (MMODE = 2), every time the wait counter (decremented by 1 every 5 ms) reaches 0,
output frequency NFOUT is incremented or decremented by 1 such that it corresponds as closely as possible
to set target frequency RFOUT.
When the output frequency is changed, and when the settings of the carrier frequency, dead time, and rate of
frequency change are changed by key input (_PCHNG: set), the value of the transfer buffer for interrupt
variable setting is calculated as indicated in Table 3-15 (the method of calculation is given in
Table 3-3
).
To reference the interrupt variable by means of interrupt processing, a value is set in the transfer buffer during
main processing, and _CHNGST is set.
During interrupt processing _CHNGST is checked and, if set, the interrupt variable is set to the value in the
transfer buffer and _CHNGST is reset (
Figure 3-6
).