to store a real in the PLC(GE)

NOUR

Member
Join Date
Nov 2009
Location
Quebec
Posts
5
Hi,
Resultat3 is a variable of Quick Panel(IC754VSL06CTD-LK ), its value (LREAL) is 74222.76 (for example).
Question: how to store this value in a PLC (cpu001) without losing accuracy? and Without multiplying by 100(Eng unit),so i can't store more than 65535 in the %R00011 (for example)
Machine edition 5.5 SP1 SIM8
PLC Acces drivers:GE SNP
Thank you
 
The Quick Panel writes 74222.76 into two consecutive %R addresses, in this case %R00011 and %R00012. You need to set up a REAL variable in the PLC addressed to %R0011. If you're viewing %R00011 as an integer you're onlyy looking at the lower word. If you're viewing the data in a reference view tabl, you need to change it to view the two words properly.
 
Hi Steve & RussB,

I already tried that but in this case the QP displays 74223 instead of 74222.76 as whatever the number is rounded to the controller,And like this I lose the precision

RussB,no variable assigned to %R12
Thank you very much
 

Similar Topics

I'm running into a problem when trying to use the RSLinx Backup Restore Utility where it throws an error when it tries to restore a backup. The...
Replies
6
Views
637
Hi y'all I have a KTP400 connected to a s7-1200. Now i have on my screen the encoder value which comes from my SEW movitrac. under there I have...
Replies
2
Views
414
This was asked in another forum and taken down due to being a 'backdoor', but this has useful info that might be useful to someone in a pinch. I'm...
Replies
6
Views
629
Hello all, I'm using a 5069-L330ER in a project and I need to essentially capture some data that will be shown as a trend on a screen. The data...
Replies
9
Views
1,009
Hi all, I am working with an IO link sensor (measuring current across motor)and need to read in and store the sensor values for 5 seconds, then...
Replies
13
Views
1,265
Back
Top Bottom