Really easy FactoryTalk View ME question

Zlinger

Member
Join Date
Mar 2014
Location
AZ
Posts
36
First time FTV user. So, I'm sure someone can answer this. It's probably already on this board somewhere, but maybe I just don't know how to search for it correctly.

I want to enter and display a timer preset in minutes (timer preset is milliseconds in the PLC). I'm using a numeric input cursor point object, and apparently I have no clue what I'm doing.

I'm a little confused why there is a value & optional expression field on the connections tab. Essentially, I want to send the input value times 60,000 to the PLC timer PRE, and display the timer PRE divided by 60,000. My syntax must be off or something. Any help is greatly appreciated.
 
Ok I figured it out. For anyone else reading this in the future and having the same problem, you need to enter this:

Value: "TAG"
Optional Exp: "?*60000"
Indicator: "TAG/60000"
 
There are a couple of other ways to skin that cat as well - you can write the minutes value to a DINT in the PLC and do the conversion into milliseconds in PLC logic, or you can set the connection up as a HMI tag, and then apply scaling to the tag. But the way you worked out is probably the most streamlined way I can think of!
 
I use the tag in HMI in minutes and then I convert it to miliseconds in PLC:

MUL "MyTag" 60.000 "MyTimer.PRE"
 
^Yes....I don't know what others do but I recommend never using the HMI to scale. Do the scaling in the PLC. So much easier to troubleshoot and easier to develop and implement the HMI. Just my 2c
 
^Yes....I don't know what others do but I recommend never using the HMI to scale. Do the scaling in the PLC. So much easier to troubleshoot and easier to develop and implement the HMI. Just my 2c


I also prefer to have all the data changes (expressions) in the PLC.

That makes it easier in the future if you need to replace that HMI, and the new one doesn't have the exact crazy feature you need.
IE. Numeric Input Cursor Point with optional write and read expressions.


...but, if you had to do a 100 of those in the PLC, might just be easier/faster to code it in the HMI. Who cares about the future?
 

Similar Topics

Local Rockwell distributor was in today. He says that the MicroLogix 1400 will likely be unavailable to purchase sometime around the end of this...
Replies
58
Views
16,673
Good Morning , I've taken on a job that is truly over my head with a engineering group. The standards of Rockwell programming is much more...
Replies
15
Views
7,055
I’ve been looking at buying a quantity of signal converters to take a type J or k thermocouple or RTD and convert it to a 4-20mA signal. In...
Replies
10
Views
3,005
Doing some consulting work using factorytalk view studio and RSLogix5000. We set up alarms for the system a while ago and they work fine, as do...
Replies
5
Views
3,642
I spent the entire day trying and failing to setup my 1783-NATR. It appeared, time and again, to be correct and happy but no matter what I did...
Replies
11
Views
5,042
Back
Top Bottom