dOPC Client Toolkit
Close
Example
var Group: TdOPCGroup; begin Group := dOPCClient.OPCGroups.Add('MyGroup',true,rOnDatachange.IsChecked); for i := 0 to 999 do // add 1000 OPC Items begin // Parameter "true" means: no direct add to the OPC server subscription (add later) Group.OPCItems.AddItem(format('ns=6;s=DataItem_%.4d',[i]), true); end; Group.OPCItems.OPCAddAllItems; // Now add all Items with one OPC call end;
Kassl GmbH Copyright © 2024. All rights reserved.