TCG140_R1.1 – May 2018
Page 29
Set a relay
- this message is used to switch on/off the selected relay output
Rights:
Master, Users
Syntax: set˽<relay>=<state>˽[option]
Where
<relay> is r1, r2, r3 or r4
<state> is on, off
[option] -w
Example
Command:
set r1=on
Answer:
r1=on,r2=off,r3=off,r4=off
Command:
set r1=off
Answer:
r1=off,r2=off,r3=off,r4=off
Command:
set r2=on -w
Answer:
no answer
Command:
set r2=off -w
Answer:
no answer
Set pulse a relay
- this message is used to pulse the selected relay output
Rights:
Master, Users
Syntax:
set˽<pulse relay>=<state>˽[option]
Where
< pulse relay > is pl1, pl2
<state> is on
[option] –w
Example
Command:
set pl1=on
Answer:
r1=on,r2=off,r3=off,r4=on
Command:
set pl2=on
Answer:
r1=off,r2=on,r3=off,r4=on
Command:
set pl1=on
-w
Answer:
no answer
Post URL
– sets URL for HTTP Post
Rights:
Master
Syntax:
set˽purl=<link>
Where
<link> is the address of remote server (domain or IP)
Example
Command:
set purl=www.teracomsystems.com:8801/posttest.php
Answer:
post=off,period=5, url=
www.teracomsystems.com:8801/posttest.php
Post period
– sets HTTP Post period
Rights:
Master
Syntax:
set˽pper=<value>
Where
<value> is a number between 60 and 14400 (seconds)
Example
Command:
set pper=120
Answer:
post=off,period=120,url=
www.teracomsystems.com:8801/posttest.php
Содержание TCG140
Страница 1: ......
Страница 47: ...TCG140_R1 1 May 2018 Page 47 Appendix C Fig 1 Fig 2 ...