background image

4

CONFIGURATION AND SETTING COMMANDS

GIP

Get info about the ip address, subnet mask and gateway the relay unit is using:
 

Command:  

GIP 

 

Arguments:  

None (0)

  Feedback: dhcp^ip4.ip3.ip2.ip1^mask4.mask3.mask2.mask1^gw4.gw3.gw2.gw1^
    DHCP: dhcp ON(1) or OFF(0)
 

 

 

 

IP: IP4 address of unit

    MASK: 

subnet 

mask

 

 

 

 

GW: IP4 address of gateway

 
Example: Get info about the IP address 

#|S001|F001|GIP||crc|<CR><LF>

 

ARU replies:  

#|F001|S001|IP|0^192.168.0.197^255.255.255.0^192.168.0.1|crc|<CR><LF> 

                           

 

SIP

Set IP address, subnet, gateway and dns servers:
 

Command:  

GIP 

 

Arguments:  

^ip4.ip3.ip2.ip1^mask4.mask3.mask2.mask1^gw4.gw3.gw2. 

   

  gw1^dns4.dns3.dns2.dns1^adns4.adns3.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^dest^cmd^param^U

    xx: 

event 

nr

 

 

 

 

cc: header, must be 55 for valid event

 

 

 

 

hhmmss: time for event to execute

 

 

 

 

yymmdd: date for event to execute

 

 

 

 

ww: weekday for event to execute

    dest: 

Address 

of 

ARU

    cmd: 

cmd 

to 

execute 

 

 

 

 

 

can be  SRON, SROFF, SRPULS, SRBUT 

    param: 

parameters 

of 

command

 

Feedback:  

+ : acknowledge 

Example: Set event

#|S001|F001|SEVNT|^01^55^170500^181206^01^S001^SRON^00000055^U|U|<CR><LF> 

ARU replies: 

#|F001|S001|SEVNT|+|crc|<CR><LF> 

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: