JBL Synthesis SDP-45 4K User Manual

Page 3

Advertising
background image

Command format:

ASCII strings ended with carriage return (code 13). All Host Controller commands (input to SDP-45) and SDP-45
Response (feedback) use the same format.

# D1 D2 C1 C2 C3 C4 P1 P2 ... <CR>

#

Command start character. In Hex this is 23 or \x23. For TCP/IP: use URL code %23

D1

Device category, one digit. For SDP-45 D1 must be 1.

D2

RS485 device ID, 1 digit. For SDP-45 D2 should remain 0.
D2=0 typically and can only be changed through the front panel menu!

C1..C4 Command name (4 chars) , typically uppercase ASCII letters.
P1,P2 Parameters are two or more arbitrary ASCII characters.
<CR>

Special end character \r: Decimal code 13 or in hex 0D over RS232,or URL dot (.) character over
TCP/IP

Response format:

Response format is the same as commands, repeating the D1,D2,C and P bytes (P bytes may carry either an
actual status value or ?? in case of errors).

Example of Command and Response for power:

Description

String Example (RS232):

String Example (Ethernet):

command: query power status

#10MPWRQS\r

%2310MPWRQS.

response: power is off (in standby) #10MPWR00\r

%2310MPWR00.

command: power up

#10MPWR01\r

%2310MPWR01.

response(delayed): power is on

#10MPWR01\r

%2310MPWR01.

Communication Notes:

All characters preceding the # of a command, and following the <CR> will be ignored. Do not insert #,
spaces, <LF>, <TAB> or other non-ASCII characters inside the command string.

When using TCP/IP, replace carriage return code with dot '.' and # with %23.

Do not assume that the number of response bytes P1,P2,... is fixed. Allow up to 320 bytes to be read or
until a <CR> is encountered.

The format of the automatic responses is the same as the response to a serial command sent with the
parameter bytes P1 P2 = "QS".

Advertising