Page 1 of 1

[In 11.3.0] Can we control relay with telnet?? please help

Posted: Mon Mar 24, 2014 5:00 pm
by mookai1973
Dear All,
I would like to use relay control board with SCS 11.2.5 (SCS Plus License) by Telnet command please see all pic.

Image

Image

Image

Can we do this funtion on SCS with Telnet command?

Best Regards,
Kai

Re: Can we control relay with telnet?? please help

Posted: Mon Mar 24, 2014 9:00 pm
by Mike Daniell
mookai1973 wrote:Can we do this funtion on SCS with Telnet command?
Unfortunately no. However, it may be a fairly simple mod to provide this support. From what you have described it seems that SCS would need to send a 'full HTTP Request' with specific HTTP headers, etc. I do have a library that will provide this and I've run tests using this library to send commands to another package. I'll see if I can provide you with a temporary mod that will support this, with a view to providing a full implementation later.

Re: Can we control relay with telnet?? please help

Posted: Tue Mar 25, 2014 3:18 am
by mookai1973
Mike Daniell wrote:
mookai1973 wrote:Can we do this funtion on SCS with Telnet command?
Unfortunately no. However, it may be a fairly simple mod to provide this support. From what you have described it seems that SCS would need to send a 'full HTTP Request' with specific HTTP headers, etc. I do have a library that will provide this and I've run tests using this library to send commands to another package. I'll see if I can provide you with a temporary mod that will support this, with a view to providing a full implementation later.
Dear Mike,
Thank so much for help.

Regards,
Kai

Re: Can we control relay with telnet?? please help

Posted: Tue Jun 24, 2014 8:04 pm
by tocsin
Maybe that helps as workaround?

DOS Batch witch contains following script for Channel On

Code: Select all

@echo off
"C:\Program Files\Internet Explorer\IEXPLORE.EXE" "http://192.168.1.99/1234/6/?11&"
cls
exit
source: http://www.computerhope.com/forum/index ... ic=41882.0

Regards
tocsin

Re: Can we control relay with telnet?? please help

Posted: Tue Jun 24, 2014 10:38 pm
by Mike Daniell
Thanks for the suggestion, tocsin, but I should have replied earlier to this topic that I have now added HTTP control send support in SCS 11.3.0, which is currently available as a release candidate.