Message conversion Counter pulses

Find and share HowTos to various installations / configurations!
2 posts • Page 1 of 1
JukkaP
Posts:1
Joined: Mon Mar 23, 2020 1:32 pm

Message conversion Counter pulses

Post by JukkaP »

Hi,

I would like to calculate rising edges of a trigger bit.

In Para, I made a config "Message conversion" for the trigger bit DPE (type bool) and selected Counter pulses with property "Change 0-> 1".

My question is, how can I read the counter value (result) into another DPE (type int).

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

Re: Message conversion Counter pulses

Post by leoknipp »

The message conversion _msg_conv can only be used for a DP element which receives values from a peripheral device as the driver is using this config.
If a value is received from the device the driver does the calculation defined in the config and writes the result to the original value.

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1