Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Controls Guy on September 22, 2023, 05:16:39 PM

Title: Feature request -- expression based left rail instruction
Post by: Controls Guy on September 22, 2023, 05:16:39 PM
I'd like to request adding an expression-based box for contact area use, similar to MATH but power-flow oriented rather than assignment-oriented.    The box would allow power flow on some condition of evaluation.   Allow only expressions that can evaluate true/false, or any non zero answer is true, etc.   For the second option, might have to allow a Window of Truth for float comparisons.
Title: Re: Feature request -- expression based left rail instruction
Post by: BobO on September 22, 2023, 06:30:15 PM
I'd like to request adding an expression-based box for contact area use, similar to MATH but power-flow oriented rather than assignment-oriented.    The box would allow power flow on some condition of evaluation.   Allow only expressions that can evaluate true/false, or any non zero answer is true, etc.   For the second option, might have to allow a Window of Truth for float comparisons.

Expression contact is already done and will be in the next release. Probably not everything you are asking for, but should help.
Title: Re: Feature request -- expression based left rail instruction
Post by: Controls Guy on September 22, 2023, 10:16:22 PM
Sweet!  Whatever it is, I want it!   :)
Title: Re: Feature request -- expression based left rail instruction
Post by: PLCwannabe on September 22, 2023, 11:50:40 PM
What is an expression contact?
Title: Re: Feature request -- expression based left rail instruction
Post by: franji1 on September 23, 2023, 08:45:16 AM
What is an expression contact?
Think a relational contact on steroids.  Each side of the relational contact is a full math expression.  If you want an optional result to be stored for each side, you can do that too.

Oh, and like MATH, you can have full expressions for array indexes, so
R[D0 * D1 + V1] * PI() >= Profile[V0 * 5 / 2].Radius
is a valid relational contact
Title: Re: Feature request -- expression based left rail instruction
Post by: Garyhlucas on September 23, 2023, 03:35:10 PM
A coworker has left our company to work for a company that uses AB.  It will be interesting to see how she views AB after using the BRX.  I worked with AB for 12 years.  I do NOT miss it!
Title: Re: Feature request -- expression based left rail instruction
Post by: Controls Guy on September 23, 2023, 06:58:45 PM
Some stuff they get so right and some stuff equally far to the opposite extreme.  :o