background image

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) 

 

Summary of Contents for ARU2 Series

Page 1: ...p 6 SGTYPE Get the type of switch unit 6 SGCFG Get config 6 Relay commands SRON Switch on relay 7 SROFF Switch off relay 7 SRBUT Switch on 1 relay rest is switched off 7 SPULS Puls relay 8 SDELON Switch delay on 8 SDELOFF Switch delay off 9 Paging commands PGRQ Paging request 10 PG Start Stop paging 10 Misc commands WOS Who is online switch unit 10 GTIME Get time 10 GDATE Get date 11 SGREV Get har...

Page 2: ...series This manual describes the commands whereby the range of relay units can be controlled using their remote control ports The ARU2xx series can be controlled using the web interface audac touch 2 or by RS485 and TCP IP commands which are listed further in this document ...

Page 3: ...sum 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 ...

Page 4: ...s3 adns2 adns1 dhcp dhcp ON 1 or OFF 0 ip IP4 address of unit mask subnet mask gw IP4 address of gateway dns IP4 address of dns server 1 adns IP4 address of dns server 2 Feedback acknowledge Example Set the IP address F001 S001 SIP 0 192 168 0 197 255 255 255 000 192 168 0 1 8 8 8 8 0 0 0 0 U CR LF ARU replies F001 S001 SIP crc CR LF SEVNT Set event Command SEVNT Arguments xx cc hhmmss yymmdd ww d...

Page 5: ...rc CR LF SXEVNT Execute event Command SXEVNT Arguments xx xx event nr Feedback Acknowledge Example Execute event 01 S001 F001 SXEVNT 01 U CR LF ARU replies F001 S001 SXEVNT crc CR LF SAS Set address switch unit Command SAS Arguments xxx xxx address of the unit On receive the LED flashes Feedback Acknowledge if switch is pressed Example Set unit address 199 ALL web SAS 199 U CR LF when received led...

Page 6: ...tup Feedback Acknowledge Example set delayed power up S001 web SDPU 1 crc CR LF ARU replies web S001 SDPU crc CR LF and ALL S001 DPU x crc CR LF SGTYPE gets type of the switch unit Command SGTYPE Arguments Feedback xx xx 04 4channel xx 08 8channel Example get type of switch unit S001 web SGTYPE crc CR LF ARU replies web S001 SGTYPE 04 crc CR LF SGCFG gets config Command SGCFG Arguments Feedback TT...

Page 7: ...xample Activate relay 1 S001 web SRON 00000001 crc CR LF ARU replies web S001 SRON crc CR LF and ALL S001 SZSET 0001 crc CR LF SROFF Switch off relay Command SROFF Arguments 000000rr rr 8 bit hex value bit0 relay 1 bit7 relay 8 if bit 1 then relay is active Feedback Acknowledge Example Deactivate relay 1 S001 web SROFF 00000001 crc CR LF ARU replies web S001 SROFF crc CR LF and ALL S001 SZSET 0000...

Page 8: ...ll relays on with 100ms delay time S001 web SDELON 0100 crc CR LF ARU replies web S001 SDELON crc CR LF and status from all relays ALL S001 SZSET 0001 crc CR LF ALL S001 SZSET 0003 crc CR LF ALL S001 SZSET 0007 crc CR LF ALL S001 SZSET 000F crc CR LF ALL S001 SZSET 001F crc CR LF ALL S001 SZSET 003F crc CR LF ALL S001 SZSET 007F crc CR LF ALL S001 SZSET 00FF crc CR LF Note All relays will be switc...

Page 9: ...001 SZSET 003F crc CR LF ALL S001 SZSET 001F crc CR LF ALL S001 SZSET 000F crc CR LF ALL S001 SZSET 0007 crc CR LF ALL S001 SZSET 0003 crc CR LF ALL S001 SZSET 0001 crc CR LF ALL S001 SZSET 0000 crc CR LF Note All relays will be switched off with a delay direction relay8 relay1 This function can also be programmed to do at powerup with the command SDPU argument 1 by placing jumper A into lower pos...

Page 10: ... LF for ACK if paging not busy in requested zones or A001 S001 PGRQ crc CR LF for NACK if paging busy in requested zones PG Paging start stop Command PG Arguments s s status start 1 stop 0 Feedback Acknowledge Example start paging S001 A001 PG 1 U CR LF MISC COMMANDS WOS Check which relay units are online Command WOS Arguments Feedback Acknowledge Example who is online ALL web WOS U CR LF ARU repl...

Page 11: ...replies web S001 SREV V1 0 crc CR LF SGHW Get hardware type Command SGHW Arguments Feedback ARU2xx Example get hardware Revision SOO1 web SGHW U CR LF ARU replies web S001 HW ARU208 crc CR LF SGSV Get software revision Command SGSV Arguments Feedback Vxxx Example get software Revision SOO1 web SGSV U CR LF ARU replies web S001 SV V1 0 crc CR LF FLCLR Erase flash Command FLCLR Arguments Feedback Ac...

Page 12: ...12 EECLR Erase EEPROM Command EECLR Arguments Feedback Acknowledge Example erase EEPROM S001 web EECLR U CR LF ARU replies web S001 EECLR crc CR LF ...

Reviews: