Page 1 of 1

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

Posted: Mon Sep 16, 2002 7:40 am
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", "");

?>