I want to make a connection between PHP and OPC using COM

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rtinho
Forum Newbie
Posts: 1
Joined: Mon Sep 16, 2002 7:40 am

I want to make a connection between PHP and OPC using COM

Post by rtinho »

I want to build a interface between OPC (OLE Process Control) and PHP, using COM interface. I´m have the ProgID for the OPC server, but I don´t know how to instanciate it. I need some help to make this communication work. It´s very important for me and my company. If this kind of interface is not supported, I would like to know if there´s another solution for my problem. I want to collect data from a industrial PLC using PHP.

my code:

<?

$test = new COM("RSLinx OPC Server, "192.168.58.21", "");

?>
Post Reply