3
Using the commands
Depending of the type of device the different kinds of communication ports are:
- RS-485 port
- TCP/IP port
RS485 Configuration details
RJ45 (RS485, Digital audio, +24V DC):
For connection to Wall Panels & Paging Consoles
Pin 1
White-Orange AUDIO TX A
Pin 2
Orange
AUDIO TX B
Pin 3
White-Green +24V DC
Pin 4
Blue
RS485 A
Pin 5
White-Blue
RS485 B
Pin 6
Green
GND
Pin 7
White-Brown AUDIO RX A
Pin 8
Brown
AUDIO RX B
TCP/IP Configuration details
IP Address
User configurable
Port
5001
Max connections
1
Command overview
Startsymbol
|
Destination
|
Source
|
Command
|
Argument(s)
|
Checksum
|
Stopsymbol
Each command is followed by an ‘x’ character, which represents the number of the slot whereto the command
is sent. If the audio player doesn’t support multiple slots, the number ‘1’ shall always be used.
Example:
Get IP---
ASCII:
#|S001|F001|GIP|U|return
HEX:
237C533030317c463030317c4749507c557c72657475726e0a
Notes
• The checksum is CRC-16 excluding the ‘#’. The checksum can always be replaced by
‘U’, which is always accepted.
• Return in ASCII : <CR> <LF> HEX : 0x0D 0x0A (carriage return & line feed)
• Source address has a maximum length of 4 characters and cannot contain ‘|’ or ‘#’
Command flow
1) The client sends a command to the relay unit (Command)
2) The relay unit acknowledges the command by returning the same
command and a ‘+’ as Argument. (
Acknowledge
)
3) The relay unit updates with the new information (Update)