Control DirectSoft DL05 PLC through asterisk AGI or FastAG

Hi there

I need an expert on programming language like c,c++,PHP. knowled on linux, CentOS 5.4,Asterisk 1.6 AGI and FastAGI.

I have a DL05 Directsoft PLC on a Tech Institute, with a Ho-Ecom module installed in the PLC. This module allows me to control the PLC through LAN. The Ho-Ecom module is configured for the first time with a program called Net-Edit which could be download for free from the website www.hosteng.com. On this same page I required the source code of the PLC; writing an email to PLC engineers. I need to control plc from Asterisk PBX using AGI or through a FastAGI. The idea is to make a script to that when you dial an X extention; run a script to turn me on one of the PLC output, the physical outputs of the plc are the Y's, ranging from Y0-Y5 with this you can control up to 6 appliances independent with one PLC. The physical inputs of the PLC are X's, I want to use X2 with all the outputs of the plc, I mean you can repeat the inputs X's but no the outputs Y's for example if I want to control a light using the software for window OS (wich could be download it for free, on [url removed, login to view]) I use a ladder view write the input wich could be x2 and the output wich could be Y0 the end coil compile the program click write bottom click conect to plc click run mode, and turn me on the light, If I want to turn off the ligth I click program on mode and thats it my light is off. I need that when you dial another Extension run a script that turn off specific output of PLC switching off the electrical appliances that I have connected to this output in particular, wish to repeat this process with several scripts to be able to reach control all the outputs of the PLC. Since Y0-Y5, 6 required off script and 6 scripts on. I have the Ethernet addres ID,name IP and description of the configuration of HO-module. note: the provider must give me the information to setting up the AGI or FasAGI script. Very important the scripts needs to be GNU General Public License. This is a school project. Will be TEACHING to students.

note there is an example vb program that comes with the sdk can provide you with the ability to send the on / off signal from a pc to the plc, but that’s all it can do. You can copy the necessary parts of the vb example to your application as needed to do that. but I can tell you how to
do it with the VB6 example called EtherCCM that is in the SDK.

Run the VB6 example program

Use the radio buttons to select the Protocol to use: either UDP/IP or

Click 1. Init Network

Click 2. Scan Network

Right-click once on the ECOM in the list to select it

Click 3. Connect

You are now ready to read & write PLC data through the ECOM. The
following options will write to outputs y0, y2 & y2, turning them on.

Command: Write
Data Type: 33 - Outputs
Data Size: 1 Byte
Start Address: 101
Data to Write: 07

Click 4. Send Command to the ECOM

Assuming the PLC is in RUN mode and the ladder program isn't driving
those outputs, all three should turn on. Writing a value of 00 will turn
them back OFF. the problem is that it turn off all the outputs of the plc but what happen if I want to turn off or on the electrical appliance individually.

You can find the code above in hosteng.com go to sdk in developers section.

Beceriler: Asterisk PBX, C++ Programlama, Linux, PHP, Visual Basic

Daha fazlasını görün: directsoft, directsoft dl05, plc scripts, linux ecom plc software, plc ecom linux, fastagi, directsoft linux, control pbx php, ecom module, plc directsoft, x ho, www c programming language com, writing software free download, writing a programming language, visual programming website, visual programming language, visual basic net programming language, visual basic 6.0 programming language, tech programming, teaching the writing process, script writing software free, script writing program, school reach, school project first page, programming tech

İşveren Hakkında:
( 0 değerlendirme ) Ceiba, United States

Proje NO: #718205

3 freelancers are bidding on average $500 for this job


Hi, please check PM. Thanks

in 7 gün içinde500$ USD
(33 Değerlendirme)

I prefer to do this in PHP-AGI. And it means the PHP script will spawn/invoke the executable files installed on your asterisk system based on what DTMF key detection which are pressed by user. Right? Let me know.

1 gün içinde 500$ USD
(4 Değerlendirme)

Very interesting project. As I'm Instrumentation Engineer and working on Asterisk I think I can do it correctly. Please contact me if interested.

in 7 gün içinde500$ USD
(0 Değerlendirme)