Q-Code User Manual
Ver. 7.0 2021/11/30
136
1. NY4 / NY5 / NX1 do not support this command.
2. This command is available only when program uses PlayA or PlayAS.
Ex.
Any playing action is paused.
PowerOn
: InputState
TR1: PlayA(PC.0,ch1,$A1), PlayA(PC.0,ch2,$A1), PlayA(PC.0,ch3,$A1), PlayA(PC.0,ch4,$A1)
TR2: PauseA?ActionPause
; Jump to “ActionPause” path when any playing
action is paused.
TR3: PauseA(1)?Ch1_Pause
; Jump to “CH1_Pause” path when playing action
on channel 1 is paused.
TR4: PauseA(2)?Ch2_Pause
; Jump to “CH2_Pause” path when playing action
on channel 2 is paused.
TR5: PauseA(ch3)?Ch3_Pause
; Jump to “CH3_Pause” path when playing action
on channel 3 is paused.
TR6: PauseA(ch4)?Ch4_Pause
; Jump to “CH4_Pause” path when playing action
on channel 4 is paused.
4.2.20 PWMIO?Path
Jump to Path if the designated foreground or background is executing PWM-IO.
PWMIO?Path
PWMIO(n)?Path
PWMIO(Px.n)?Path
n:
0 = foreground, 1 = background1 and 2 = background2. If n is not designated, it is regards as all
PlayPWM / PlayPWMS / PWMOut.
Px.n:
check for PWM-IO on specified pin.
Note:
1. NX1 does not support this command.
2. NY4 / NY5 / NY5+ / NY6 / NY7 do not support parameter n.
3. NY4 / NY5 / NY6 / NY7 / NY9T do not support parameter Px.n.
Ex.
PWMIO is playing.
PWMIO?True
; Jump to “True” path if PWMIO is playing in all foreground
and background.
PWMIO(0)?True_Path
; Jump to “True_Path” Path when PWM is playing in
foreground.
PWMIO(PB.0)?True_Path
; Jump to “True_Path” path when PWM-IO is executing on
PB.0.