Casio CTK6000 User Manual
Page 37
• Data = 3 : Start HBS Session
Start session to send data using handshake protocol. If a device that receives this message accepts
the session, it needs to return ACK.
ERR (Error)
Format:
0eeeeeeeB
The relationship between the data value and error 0eeeeeeeB is defined as shown below.
• Data = 0 : Time Out Error
This error message is generated when a preset amount of time elapses without a receiving device
receiving an expected message. This error is also generated when an unexpected message is received
instead of the expected message. The preset time is set in accordance with the Handshake Max
Interval parameter described under “24.2 System Exclusive Protocol Parameter”.
• Data = 1 : Format Error
This error message is issued in the case of an invalid format in an Instrument System Exclusive
message received by a receiving device.
• Data = 2 : CRC Error
This error message is issued in the case of an invalid CRC value in an HBS message received by
the data receiving device.
Single Parameter Data Size Limit
Under initial default settings for the Instrument’s System Ex-
clusive message format, the size of a single message cannot exceed 256 bytes in the case of bulk dump
using handshake protocol, and cannot exceed 48 bytes in all other cases. The data size and the array
size, however, can cause a packet to exceed 48 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. These message
sizes can be changed with the system parameter.
20.3.14
img : Parameter Set Memory Image
Format:
Data0
0aaaaaaaB
Data1
0bbbbbbaB
Data2
0cccccbbB
Data3
0ddddcccB
:
:
During data transfer, the memory image data of the parameter set to be sent is read sequentially in
1-byte units starting from the first address. That value is transformed starting from the lower bit to a
7-bit wide data string.
Example: 33-byte data transfer
In the case of memory image transfer of the 33 bytes such as Table
1, for example, the transfer image is transformed to 38 bytes as shown in Table 2.
37