Jump to content

Math Edge Function


Recommended Posts

The edge function increments on change from less than 1 to greater than (or equal to) 1 and so when used directly with the DI Status a change from the 0 state (Inactive) to the 1 state (active) would increment it. The little bit of maths converts the 0 state (inactive) to a value of 1 and the 1 state (active) to a value of 0 making it increment on an active to inactive instead of an inactive to active state change.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...