16
Joy CD Player RS232 commands
The CD player can be controlled completely, including status feedback, through
the green RS232 screw connector.
Baudrate: 57600
Data bits: 8
Parity: No
Stop bits: 1
All number values are in the HEX format.
Command structure:
Each command contains a start byte 0x02 ($2: shortened way of writing 0x02), a
header, a data block (optional) and a stop byte 0x03. Start and stop bytes are
entered as HEX values; header and data block as String values.
The header consists of 4 bytes; the data block consists of a maximum of 10 bytes.
$2 “ZC CM RW LL D0 D1 ..” $3
$2 : Start
“ : Start of String
ZC : Target code (Start of Header)
CM : Command code
RW : Write: 0; Read: 1
LL : Number of subsequent data bytes (End of Header)
DX : Data bytes
..
“ : End of String
$3 : End
As the command records are receiver-specific, the target code (ZC) handles the
correct assignment of the received telegrams. Therefore, the same command
code (CM) can have different meanings, depending on the receiver.