CAI Webcontrol PLC Programing (Will pay for help)

wheelmanjas

New Member
So I own a Self storage facility. Not to many units but I live 30 miles round trip from the facility. I was sick of driving in when people have a problem with the gate. So i purchased a CAI Webcontrol board. It is awesome. I can view my camera system from my iphone. Purchasing this board allowed me to do 3 things:
1. allow me to open/close the gate from my phone using the web.
2. Shut off power to the gate allowing the opener and keyboard to reboot.
3. allow a bypass of the sensor that thinks someone is standing in the way of the gate preventing it from closing.
 
Sorry I got kicked out and cannot figure out how to edit the original post. Anyway...

This board has worked great for those things. Then I started thinking, I have 16 camera channels, I have 4 small hallways that don’t warrant a channel each so I decided I want to have one channel that rotates every 5 seconds on these 4 cameras. I then realized that this board will allow me to do this. I know nothing about PLC programming but I think that if someone starts me off I can go from there. So I am looking for someone who will give me the code to do the following:

Power TTL output #4 for 5 seconds, power it off,
Power TTL output #5 for 5 seconds, power it off,
Power TTL output #6 for 5 seconds, power it off,
Power TTL output #7 for 5 Seconds, power it off and restart this process.

This will allow me to power each camera for 5 seconds each and see them all on one channel.
I am happy top send a few bucks through paypal to someone who is willing to help.

On another note… I login to my board through the web using My IP address. To open/close the gate I power TTL, on for 1 second then turn it off (just like pushing your garage door button). I am unable to label what each TTL slot does so It confuses my brother. Is there any easier way to do this? A cheap App, or setting up a website using HTML code allowing this to function? Ideas and help would be appreciated.
 
If you don't do anything else with PLC code, then the simplest code would be:

start
set op4 1
delay 5000
set op4 0
set op5 1
delay 5000
set op5 0
set op6 1
delay 5000
set op6 0
set op7 1
delay 5000
set op7 0
end
 
wheelmanjas,.

You can also use an app called "openremote" - I use it for myself and several clients. It's open source, so the only cost is time & config to do what you what.

As an example you can build a custom interface that sends commands to you webcontrol to do thinks like turn on TTL3, get temp or ttl status, etc. You have to build the interface from scratch, so it can be as simple or complex as your situation requires.



If you want some help send me a PM and we can chat.

 
I second openremote. You can use it on android and iphone/ipad. It does require a PC to install the controller on, but it is very easy to use. I have two webcontrol boards that I monitor and control from on openremote controller. Security on the controller and panels is not that good, but I do know that some are working on fixing that.
 
Well I just had the time to install the cameras in the area I was talking about and tried this code. It works perfectly!! Thank you for your help.

On another note I have been using this board to turn off the keypad after hours and turn it back on during business hours. I was using TTL1 for this job using PLC code. Well the other day I was checking the system and was having a problem, I replaced the relay thinking that was the problem, but it didn’t fix it. I started doing some testing and discovered that TTL1 was non responsive. This slot seems to have gone bad, has anyone else had this problem? TTL1 would power a relay for 11 hours a day. I don’t know when it stopped working, but it hadn’t been wired for more than 3 weeks.
 
If TTL ouput current is beyond spec 20mA, it could burn out. Except solid state relay that using optical isolator inside, WebControl TTL output can not drive regular relay directly. Over current will cause the TTL output driver chip damage. If the output having short circuit can cause output current reach beyond limit, too. The only fix will be to replace that IC LVX4245 on the top component side.
 
Back
Top