GE Fanuc 90-30 and DINT-REAL

sjohnson

Lifetime Supporting Member
Join Date
Feb 2010
Location
MI
Posts
247
I am working on a project Retrieving data from incoming power and such. Here is the questions 1046 R is a DINT it has a value of whatever. When I do a DINT to REAL the value of the DINT changes to a -XXXXXXXXXXXXXX number as shown in the text file. But the real shows the valid number as it was in DINT form. And when I put the Variable as a DINT or REAL in my hmi it shows as a different number. Any Explanation of this would be greatly appreciated. Thanks.
 
I didn't look at all of your attacments, but did you use the same address at both the input and the output of the conversion function? If so, the bits in the %R address get shuffled around by the conversion. The pattern of bits that represent a value in REAL format is different from the pattern of bits that represents the same value in DINT format, even if the REAL value has zero to the right of the decimal point.
 
You need to put the DINT into a different %R as %R1047 is part of the REAL %R1046.
Every REAL and DINT use two (2) consecutive registers.
 

Similar Topics

I have a CNC cutting equipment, all the components are Fanuc from the CNC CPU A02B-0307-B822, a PLC AIF01A and a panel i, on the panel i (operator...
Replies
1
Views
99
I want to buy this program if anyone has it. Absolutely no one has it officially for sale. My cpu is IC610CPU104B My mail...
Replies
2
Views
103
I've got a Micrologix 1100 with ethernet and I'm trying to configure communications to a Fanuc R30iB controller. I'm pretty sure you have to set...
Replies
0
Views
96
We recently purchased a IC693CPU352 module and it appears the internal time clock is static. I can set the time and date but once set it does not...
Replies
5
Views
167
I have one GE Fanuc IC200PNS002-AC Versamax Network Interface Module and the fault red light is blinking and i have checked in manual it is...
Replies
9
Views
192
Back
Top Bottom