Len : Data Length; Data : Parameter Data; Single Parameter Data Size Limit - Casio CDP-200R User Manual

Midi implementation
Hide thumbs Also See for CDP-200R:
Table of Contents

Advertisement

19.3.13

len : Data Length

Format: 0lllllllB (LSB) 0mmmmmmmB (MSB)
As shown below, the meaning of this field differs depending on whether an individual transfer or a bulk parameter set
transfer is being performed.
Individual Parameter Transfer
Data length indicates the length of the array being transferred minus 1 when the parameter contains a character string or
other similar array structure.
Bulk Parameter Set Transfer
Data length indicates the number of bytes of data included within a packet. When this value is zero, it means there is no
actual data.
19.3.14

data : Parameter Data

Format: 0dddddddB
Parameter data indicates the parameter value. Data that is the size of the number of arrays equivalent to len + 1 follows.
For the structure of one data item, the length depends on the data bit width, as shown below.
dddddB + 1
Number of Data
1 - 7
8 - 14
15 - 21
22 - 28
29 - 32
Each block of data is packed from the lowest order byte first. In the case of multiple-byte data, the lowest weighted bit
is the LSB of the first "data" block, and the highest weighted bit is the MSB of the final "data" block. The following
shows an example of how data would be divided for transfer in the case of 32-bit data.
7
data0:
0
[bit06]
data1:
0
[bit13]
data2:
0
[bit20]
data3:
0
[bit27]
data4:
0
19.3.15

Single Parameter Data Size Limit

With the Instrument's system exclusive message format, the size of a single message cannot exceed 256 bytes. The data
size and the array size, however, can cause a packet to exceed 256 bytes when transferring a single parameter array. In
this case, the IPS and IPR message data length and data index number values can be modified to enable division of a
single parameter value into multiple messages so it can be sent that way.
(0eeeeeeeB)
1
2
3
4
5
6
5
[bit05]
[bit04]
[bit12]
[bit11]
[bit19]
[bit18]
[bit26]
[bit25]
0
0
(0fffffffB)
(0gggggggB)
:
:
4
3
[bit03]
[bit02]
[bit10]
[bit09]
[bit17]
[bit16]
[bit24]
[bit23]
0
[bit31]
[bit30]
30
(0hhhhhhhB)
2
1
[bit01]
[bit00]
[bit08]
[bit07]
[bit15]
[bit14]
[bit22]
[bit21]
[bit29]
[bit28]
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lk-205Wk-500Lk-270Ctk-4000Ctk-5000Wk-200 ... Show all

Table of Contents