Crimson 3.0 Numeric Entry Expression Help.

Shiro485

Member
Join Date
Apr 2013
Location
North Haven CT
Posts
103
Hello all,
Does anyone know how I could have a numeric entry primitive object, take the operator input and multiply by 100. How could I write an expression for this?

thanks :)
 
Hello all,
Does anyone know how I could have a numeric entry primitive object, take the operator input and multiply by 100. How could I write an expression for this?

thanks :)

You can create a tag for the numeric entry and then create an additional tag as a general tag and use the first tag in a data expression. Or you can simply create a general tag referencing the plc address in the data expression. I will attach a couple of snips of what I mean.

Hope this helps,
Dave

plc's example 1.PNG plc's example 2.PNG
 
You can create a numeric entry associated with Tag1.
Then go to the parameters for Tag1, under Triggers -> Trigger One.
Trigger Mode: Change in Value
Value: Complex: Tag2 = 100 * Tag1;

Every time the user enters a new value for Tag1, Tag2 is recalculated.
 
In the spirit of troubleshooting, I would probably do this in the PLC instead even though the Crimson software makes it so easy to accomplish this type if thing.
 
And if you don't already have enough options, I would just use the scaling feature on the Data tab of the tag and not have anything "fancy" or hidden or need a 2nd tag. I am pretty sure that is the most commonly used purpose of that feature in Crimson.
 
And if you don't already have enough options, I would just use the scaling feature on the Data tab of the tag and not have anything "fancy" or hidden or need a 2nd tag. I am pretty sure that is the most commonly used purpose of that feature in Crimson.

I would second this, I routinely scale things to engineering units before sending them.
 

Similar Topics

I am new with Crimson and I got stuck with something. I would like to put a numeric entry from 0-15. Then that entry multiply it by 1000 and then...
Replies
1
Views
3,825
I'm getting a error about mapping a bit to a numeric tag and it should be using a flag tag but I am. They even have the little flag icons. ???
Replies
13
Views
4,187
Hey guys, hoping someone here could give me a little advice. I'm working with a CR1000-04000 in Crimson 3.1 and I was interested in adding the...
Replies
4
Views
114
Hi, I'm having an issue in crimson 3.0 when I create a programme using a case statement referencing a fault word that each bit needs to change the...
Replies
4
Views
189
How do you install update on Red Lion Crimson ver 3.1. Do I just need to run the exe file on the host server?
Replies
1
Views
106
Back
Top Bottom