to start using adsSCADA right away, you need the following things:
The code was only tested on a BC9100 with some claims on the controller, no experience with CXes or IPCs so far.
first of all, take your favorite file editor and open commandline.php
On line 25 edit the call to ADS, and enter your PLC's NetID and IP address:
$myADS = new ADS("192.168.10.200.1.1","800","192.168.10.200","bbking","commandline", FALSE);
You can get the address of your IOs if you open TwinCAT, go to your PLC block and list all the terminals in the right window, like in the next image. Also, with a right click you can export the variable list with all addresses to csv file.

Alternatively, you can browse a single IO variable and look up its IndexGrp and IndexOffset there. In the screenshot you can see the BC9191's PT1000 input

if finished, you can go to and have a test run:
linux:
on a command line, type
/usr/bin/php /<directory to="" adsscada="">/commandline.php</directory>
windows:
yet to be documented
you should get an output like this:

Or, if you have debugging enabled, it looks like this:
