Q-Code User Manual
Ver. 7.0 2021/11/30
155
[Path]
TR1: PlayV(Ch1, $V0)&[BG1], StopV
[Background1]
BG1: Delay(1), Break
4.4.5 StopFG
Stop currently executing steps in foreground.
Ex.
Stop steps executing in foreground using StopFG command.
[Path]
PowerOn:
TR1: BG1, Label(Pathname), PB=[X X 1 1], Delay (0.166), PB=[X X 0 0], Delay (0.166), Pathname
[Background1]
BG1: Delay(10), StopFG
; Stop executing steps in foreground after
delay 10 seconds in background1.
4.4.6 StopBG
Stop currently executing background threads (background1 thread, background2 thread and
background3 thread).
Ex.
Stop steps executing in background using StopBG command.
[Path]
PowerOn:
BG(OUT1,OUT2)
TR1: StopBG
[Background1]
OUT1: PB=[X X 1 1], Delay (0.166), PB=[X X 0 0], Delay (0.166), OUT1
[Background2]
OUT2: PB=[0 0 X X], Delay (0.166), PB=[1 1 X X], Delay (0.166), OUT2
4.4.7 StopBG1
Stop currently executing step in background1.
Ex.
Stop executing background1 step using StopBG1 command.
[Path]
PowerOn:
BG(OUT1,OUT2)
TR1: StopBG1
[Background1]
OUT1: PB=[X X 1 1], Delay (0.166), PB=[X X 0 0], Delay (0.166), OUT1