linnemann
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Events
Blogs
Downloads
Articles
Media Demo
Posts posted by linnemann
-
-
Thank you for the link.
It does not solve the rising edge ,but it has workarounds.
I've added the rising edge in a struct to be a feature request as there should be no limitations as it is passed as reference when input is a Struct, Array or buffer.
Regards
-
Hi
This is also what support said, but if I need to use global variables or structs then the udfb is not really reusable.
Any example of how to make a reusable udfb with a state machine and a way to oneshot it from function in tags?
-
Hello
I'm building a reusable state machine using an UDFB.
I want to detect a rising edge when the statemachine should run to transition from the idle state to the next state.
I create the input tags but in the UDFB i cannot use the tag when using Positive and Negative transition contact. I can select it if I use the Direct or Inverted Contact.
What is the reason for this and how do you propose i do it otherwise?
Attached is a very minimal example.
Rising edge on a StateMachine UDFB input
in UniLogic Software
Posted
I have attached a sample project that shows how this can be implemented until UT gets this in as a basic feature.
Two input structs are used, one for keeping track og the rising/falling bits and one for the statemachine.
StateMachine.ulpr