Q-Code User Manual
Ver. 7.0 2021/11/30
315
5.6 RAM Resources
RAM will be reserved if specific function or command is used in
Q-Code
. The number of reserved RAMs
will be different according to different functions or commands. The RAM will be occupied forward in
sequence. The cross reference table of reserved RAMs and functions are shown in the following sections.
5.6.1 Command for NY4 RAM Resources
There are two pages of RAM, Page0 and Page1. There are 48 memory units for each page. Totally 86
registers are available for users. 76 memory units are available for users and the others are reserved
by system.
Note: System will randomly configure in accordance with the function.
Q-Code
Function
Description
Number of
Occupied RAM
Reserved by system
Program flow control. The occupied numbers of NY4A are
different from NY4B.
20 / 22
Action
When PlayA / PlayAS function is used, 9 RAMs will be used
in each action channel.
If user executes Action Compression function, each action
channel will use one more RAM.
(9+n) * ch
Action Mark State
2 RAMs will be used when the setting is more than 15
states.
1~2
Additional 1 RAM will be occupied if max path number is
over 15.
1~2
BackGround
1 RAM will be occupied if Path number is more than 15 in
background1.
1~2
1 RAM will be occupied if Path number is more than 15 in
background2.
1~2
Delay
When Delay function is used, 3 RAMs will be used in each
layer and system will occupy 2 RAMs.
3*n+2
FD
The port using FD function will occupy 1 RAM.
1~2
Input State
2 RAMs will be used when the setting is more than 15
states.
1~2
IR
When IR Tx function is used, 1 RAM will be occupied if
DATA Length increases by 4 bit.
1~4
When IR Rx function is used, 1 RAM will be occupied if
DATA Length increases by 4 bit.
1~4
Key Function
Each Matrix output pin up to a corresponding group of input
ports will occupy 3 RAM.
(Key / 4)*3+3~4