Q-Code User Manual
Ver. 7.0 2021/11/30
123
Ex.
[Path]
SC_RX: [R1, R0] = SC_RX
; Store received SC data to R0 and R1.
3.9.28.34 WaveID_RX
The path “
WaveID_RX
” can only be applied in
[Path]
section. When WaveID_RX is applied, it
represents that system will execute this path once after WaveID receives data. User can access the
data of WaveID in this path.
Note:
NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T / NX1 EF do not support interrupt path.
Ex
.
[Path]
WaveID_RX: R0= WaveID_RX
; Store received WaveID data to R0.
3.9.28.35 Interrupt
The “
Interrupt
” only can be applied in
[Path]
section. When “Interrupt” is applied, it represents that
system will execute the path once each time IC is interrupted.
Note:
1. NY4 / NY6 / NY9T / NX1 do not support interrupt path.
2. There is only one level stack for interrupt function, PlayA / PlayAS, PlayM / PlayMS and
QIO of Q-Code language are implemented with interrupt function. Therefore, commands
in the interrupt path will be executed when running PlayM and PlayA.
3. For NY5, after executing PlayA / PlayAS, PlayM / PlayMS and QIO command, the interrupt
interval will be modified.
5.9 Unusable Commands for Special Path
used.
Ex.
[Path]
PowerOn: KEY1, INT_ON, INT=1.024
Interrupt: !PA
; Interrupts every 1ms. And PA output is inverted
when interrupted.
3.9.28.36 Enforce_Calibrate
“
Enforce_Calibrate
” path name can only appear in
[Path]
section. Every time after
Enforce_Calibrate is done, the path will be executed once.
Note:
1. NY4 / NY5 / NY5+ / NY6 / NY7 / NX1 do not support the path.