Help on RSViewME Scaling

ckchew666

Member
Join Date
Aug 2003
Location
Malaysia
Posts
591
Hi,

I'm working on a RSViewME project, where some numeric display and numeric entry require some scaling.

For numeric display, value from PLC is from 3000 to 10000. Display is 0 - 100 %

While for numeric entry, value is 0 - 100 (from RSViewME), data to be received by PLC is 7000 - 8000.

Anyone familiar with these scaling please brief me, as I don't have PLC here to test at the moment.

Thanks a lot.
 
To scale numeric displays in RSView ME, you will create an "expression" in the tag properties pop-up. An expression is made up of BASIC programming-like commands. Use the expressions:

Scaled value = (input value x rate) + offset
Rate = (scaled max. - scaled min.) / (input max. - input min.)
Offset = scaled minimum - (input minimum x rate)

The same could apply going the other way although, depending on the application, it mat be easier scaling the data within the PLC.
 
rdub said:
To scale numeric displays in RSView ME, you will create an "expression" in the tag properties pop-up. An expression is made up of BASIC programming-like commands. Use the expressions:

Scaled value = (input value x rate) + offset
Rate = (scaled max. - scaled min.) / (input max. - input min.)
Offset = scaled minimum - (input minimum x rate)

The same could apply going the other way although, depending on the application, it mat be easier scaling the data within the PLC.

If we enter the rate, offset, min & max values at the tag (during tag creation), it won't work?
 
It'll work but you'll need to create a different tag for "reading" and "writing" because the two scaling factors are different
 

Similar Topics

Hi Everyone, i was hoping for a little help with this module. i have data that needs to be read from a different plc through the Modbus plus...
Replies
0
Views
1
Hello, I am trying to replicate a piece of logic on the PLC5 onto an SEL RTAC. I am using ladder on SEL and FBD. I am having issue on the ladder...
Replies
8
Views
53
I'm fairly new to Rockwell software, I've had some basic training in the past but nothing too advanced. My company and I use Reliable products for...
Replies
11
Views
304
Hi all I need help on this As in my project used Schneider TM241 controller. Now I want to communicate Elite energy meter with controller by...
Replies
3
Views
150
Back
Top Bottom