Conditions in DP Function config

Find and share HowTos to various installations / configurations!
Search

Post Reply
15 posts • Page 2 of 2
AMRPatricio
Posts: 61
Joined: Mon Dec 12, 2016 4:43 pm

Re: Conditions in DP Function config

Post by AMRPatricio »

Hi all,
there is any type of objections or possibilities of using "...._alert_hdl.._act_range" dpe's with dp_fct?

Thanks,
AP

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Conditions in DP Function config

Post by leoknipp »

Before discussing the possibilities of dp functions (which are designed to react on value changes not alerts) please describe what you want to do.

Best Regards
Leopold Knipp
Senior Support Specialist

AMRPatricio
Posts: 61
Joined: Mon Dec 12, 2016 4:43 pm

Re: Conditions in DP Function config

Post by AMRPatricio »

Hi Leopold,
thanks for your reply.

I think you already answered my question here: "designed to react on value changes not alerts".

(I was try to achieve the following: base on the alert active range of a dp1, change dp2 to true or false for example.)

Best regards,
Antonio

Dag-Are.Trydal@nov.com
Posts: 37
Joined: Fri Feb 26, 2016 11:52 am

Re: Conditions in DP Function config

Post by Dag-Are.Trydal@nov.com »

Is it possible to use this as a "auto reset" of a boolean after a fixed amount of time?

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Conditions in DP Function config

Post by leoknipp »

A dp function is used to react on values changes of other dp elements and to set the dp element where the dp function is configured.
If you configure a dp function which refers to itself you will create an endless loop.

When you want to reset a dp element after a defined period of time you can use a CTRL script which is connected to this dp element and writes it again.
Even in that case you have to keep in mind that making a dpSet() on the dp element will trigger again the work function.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
15 posts • Page 2 of 2