Q-Code User Manual
Ver. 7.0 2021/11/30
137
4.2.21 PausePWM?Path
Jump to Path if PausePWM feature is currently being executed.
PausePWM?Path
PausePWM(n)?Path
PausePWM(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 whether PWM-IO on specified pin is paused.
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.
The playing of PWMIO is being paused.
PausePWM?True_Path
; Jump to “True” path when PWMIO is paused.
4.2.22 HoldPWM(n)?Path
Jump to Path if the designated foreground or background is executing HoldPWM function.
n:
0=foreground, 1=background1 and 2=background2. If n is not designated, it is regards all
HoldPWM.
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support this command.
Ex.
HoldPWM(0)?True_Path
; Jump to “True_Path” Path when executing pause in PlayPWM /
PlayPWMS in foreground.
Ex.
HoldPWM?True_Path
; Jump to “True_Path” Path when executing pause in PlayPWM /
PlayPWMS of all foreground and background.
4.2.23 Pause(n)?Path
Jump to Path if the designated foreground or background is executing play or delay.
n:
0=foreground, 1=background1, 2=background2 and 3=background3. If n is not designated, it is
regards all channels.
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support this command.
Ex.
Pause(0)?True_Path
; Jump to “True_Path” Path when executing pause in foreground.
Ex.
Pause?True_Path
; Jump to “True_Path” Path when executing pause in all
foreground and background.
4.2.24 Record?Path
Jump to Path when the Record function is executing.