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>