Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Unity XL Pro Freeze Value

Unity XL Pro Freeze Value

Unity XL Pro Freeze Value


I'm working in Unity XL Pro using functional block diagrams.
There is a "rate of change" value that is constantly being derived and thus changes frequently. I want to hold this value steady when an emergency button is actuated.

What I currently have is a move block. The enable pin on the move has the emergency button on a rising trigger feeding into it. Want it to be an instantaneous value the second the button is pushed. This is not working - when the rising trigger is activated the move does not move - is not enabled. Does anybody know why this would be the case?

RE: Unity XL Pro Freeze Value

Post a snapshot of your code please.

RE: Unity XL Pro Freeze Value

I don't think it will work because of using function block programming. You nee to use ladder logic as the output of the move instruction will be to a temporary variable which will hold the valve. You will also need to one shot the move.

RE: Unity XL Pro Freeze Value

Have any suggestions for grabbing an instantaneous value using FBDs?

RE: Unity XL Pro Freeze Value

The box I use has a Track and Hold function block. Does yours?

RE: Unity XL Pro Freeze Value

Hi danw2, Unfortunately I do not have that function block. Could make a derived FB then do some ladder within it like djs said but I still want to figure out how to do it with blocks.

What software are you using, danw2?

RE: Unity XL Pro Freeze Value

I can't see an issue with the logic in my mind it should work, it is a bit complicated though.

I do something similar with logic which freezes the last good value when an analog input fails, all you need is the OR and SEL instructions.

Delete the second OR, MOVE and R_TRIG.

Remove the Negate from the SEL G Pin.

Move the link connected to the SEL IN1 to IN0

Put a copy of the tag P_U1_CAM_NOZ_E_Flow_Cmd on IN1.

Now if the ESTOP is not tripped your passing the changing value to the tag.

If ESTOP comes on, you now pass the tag into itself effectively freezing it to its last good value.

RE: Unity XL Pro Freeze Value

Actually I see the issue with your original code, no tag on the MOVE output, therefore nothing to remember the value sent through.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close