Group Creation in ctl scripts

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
AliBou
Posts:25
Joined: Wed Mar 28, 2018 3:57 pm

Group Creation in ctl scripts

Post by AliBou »

Hi everybody,
is there any instruction in ctl-script to create new group (like opc read and write groups)
and a way to add somme Dp filters

thank's in advance

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Group Creation in ctl scripts

Post by leoknipp »

Concerning the OPC groups please have a look at the following thread
https://portal.etm.at/index.php?option= ... =9975#9980

When using OPC DA you can only use 2 groups.

If you want to change the settings for a dp group you can make it simply by using dpSet() for the element of the _DpGroup datapoint you want to change.
The arrays for the elements "Types" and "Dps" must have the same number of items.

Best Regards
Leopold Knipp
Senior Support Specialist

AliBou
Posts:25
Joined: Wed Mar 28, 2018 3:57 pm

Re: Group Creation in ctl scripts

Post by AliBou »

Thank you for the response.
my aim is create new Group in ctl Script and add dp filters to it.
not OPC group but custom one

Best reagards

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Group Creation in ctl scripts

Post by Gertjan van Schijndel »

The library 'dpGroups' contains such functions.

4 posts • Page 1 of 1