Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Initial set up of lookout SERVER WITH OPC Client

I am new , in the tutorial to set up lookout server it uses a modbus driver object example. i dont need to use modbus , rather I want to set up an Adam 4050 unit using advantechs opc server for my 4050 device. I understand the reasons behind setting up lookout server with objects that connect directly to the server pc , however when it comes to the opc server / client method I get confused, I have tried adding the adam opc client as the driver object under the lookout server and it seems to have configured o.k , Have I done this correctly and what are the next steps to control my adam opc server via the lookout opc client that is controled by the higher order lookout server .?? I
0 Kudos
Message 1 of 2
(3,346 Views)


Hi,

The terminology does get a little confusing between Lookout's Server/Client processes and the OPC Server/Clients. But looks like you have configured it right -- the Lookout Server porcess is where the "driver objects" are normally created. Like the Modbus driver object. In your case, the "driver object" is the OPCClient object (as you're using OPC for communication with your device).

So, as you've done correctly, the OPCClient Object is created in the Lookout Server process. You can now create additional client process(es) in Lookout which would exchange data to and from the Lookout Server process.

This "Lookout Server/Client processes" architecture is a good development practice. Which you should implement. However, for testing and for th
e "checking out" stage, you can just have one single process in Lookout with everything in it. After creating and setting up the OPCClient object, you can go to Object Explorer (from the Object menu), navigate to your OPCClient object and expand it. You should now see the items for your device. Drag-and-drop the items onto a panel for testing.

Later on, you could move these expressions and switches/pushbuttons to other processes (clients) to separate it from the server process.

Hope this cleared some confusion.

Regards,

Khalid


0 Kudos
Message 2 of 2
(3,346 Views)