EasyManua.ls Logo

BrickElectric BEM104 - Page 26

BrickElectric BEM104
47 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.BrickElectric.com
Auto Ping Channel 1:
Web access URL:
Write: http://192.168.1.105/program=1&k01=1&wait=5&k01=0&program=0
Read: http://192.168.1.105/getpara[141]=1
Socket command text:
Write: program=1;k01=1;wait=5;k01=0;program=0;
Read: getpara[141]=1;
Auto Ping Channel 2:
Web access URL:
Write: http://192.168.1.105/program=2&k01=1&wait=5&k01=0&program=0
Read: http://192.168.1.105/getpara[142]=1
Socket command text:
Write: program=2;k01=1;wait=5;k01=0;program=0;
Read: getpara[142]=1;
(4) Set time between pings
This is the time between each "ping" check of the IP address. Auto ping function waits this
amount of time for a valid ICMP response and then send next ICMP message. Available
options are from 1 millisecond to 65535 seconds. Normally 60 seconds should be useful
for most applications.
To setup time you need to set 2 parameters, time unit and time.
Auto Ping Channel 1:
1. To set time unit to millisecond : setpara[45]=0;
2. To set time unit to second : setpara[45]=1;
3. To set time value to 60: setpara[81]=60;
I want to setup time between pings to 60 seconds, for example:
Web access URL:
Write: http://192.168.1.105/setpara[45]=1&setpara[81]=60
Read: http://192.168.1.105/getpara[45]=1&getpara[81]=1
Socket command text:
Write: setpara[45]=1;setpara[81]=60;
Read: getpara[45]=1;getpara[81]=1;
Auto Ping Channel 2:
1. To set time unit to millisecond : setpara[46]=0;
2. To set time unit to second : setpara[46]=1;
3. To set time value to 60: setpara[82]=60;
I want to setup time between pings to 60 seconds, for example:
Web access URL:
Write: http://192.168.1.105/setpara[46]=1&setpara[82]=60
Read: http://192.168.1.105/getpara[46]=1&getpara[82]=1
Socket command text: