Casio CTK-4200 Computer Accessories User Manual


 
Block Bit Field Division When the parameter block has a multi-dimensional array structure, bit 21
of the block number is divided into prescribed bit fields based on the rules explained below.
Case 1
When an array has three or fewer nesting levels and the number of arrays in each dimension is 128
or less, they are assigned b elow the three 7-bit fields. Unused regions are filled will zeros.
Example:
parameter [A][B][C]
With a 3-dimensional array parameter that consists of A = 8 (3 bits), B = 5 (3 bits) and
C = 10 (4 bits), the block bit fields are allocated as:
Block = 0000aaa 0000bbb 000cccc (Binary).
Case 2
When Case 1 conditions are not satisfied, the minimal number of fields required for each number
of arrays is reserved from the lower bit of the block. Unused regions are filled will zeros. (This case
does not apply with this Instrument.)
Example 1:
parameter [A][B][C][D]
With a 4-dimensional array parameter that consists of A = 3 (2 bits), B = 4 (3 bits), C = 3
(2 bits), and D = 4 (3 bits) like the one shown above, the block bit fields are allocated as:
Block = 0000000 0000aab bbccddd (Binary).
Example 2:
parameter [A][B]
With a 2-dimensional array parameter that consists of A = 3 (2 bits) and B = 200 (8 bits)
like the one shown above, the block bit fields are allocated as:
Block = 0000000 0000aab bbbbbbb (Binary).
19.3.10 pkt : Packet Number
Format: LSB 0iiiiiiiB
0jjjjjjjB
MSB 0kkkkkkkB
This is the divided packet number kkkkkkkjjjjjjjiiiiiiiB (Binary) for transferring a single
parameter set.
19.3.11 prm : Parameter ID
Format: LSB 0pppppppB
MSB 0qqqqqqqB
The Parameter ID indicates the parameter type. When transferring parameters (see “V Parameter
List” below) individually (as opposed to bulk transfer), this field is used to identify the parameter being
transferred by its parameter ID.
19.3.12 idx : Data Index Number
Format: LSB 0iiiiiiiB
MSB 0jjjjjjjB
The data index number indicates the first array number of the array from which transfer starts.
26