Real or Real32 in Controllogix?

NetNathan

Lifetime Supporting Member
Join Date
Nov 2011
Location
Corona, CA
Posts
2,199
I have a device that is communicating RS232 data in "Real32".
Is that the same as a "Real" in Controllogix?
The reason is the Generic Ethernet Module supports "Real", but does not mention "Real32".
 
Yes, REAL32 is the same as a REAL in Logix. The reason that the device information specifies the bit count (which is what the "32" in REAL32 is) is because there is a mainstream 64-bit real out there. I think there is also a fairly widely used 128-bit real. So they are just being thorough.

Keith
 
If you have four SINT elements, each of which contains one byte of a 32-bit REAL, then the COP instruction is the usual way to get the data between the two datatypes.

When the SINTs are part of an actual Input data image, I always use CPS so that there is no chance of the data changing in between the COP fetching each element.

COP and CPS (Copy Synchronous) are byte-by-byte copies, rather than automatic conversion of datatypes like MOV or MUL.
 

Similar Topics

Hi, how do I convert 2x Integer registers to a Real? The two integers are from Modbus registers that contain a floating point value, I need to...
Replies
2
Views
110
I am working on a project using a NB screen and NX1P2 PLC. I am having a really hard time getting a real number to properly translate through to...
Replies
3
Views
121
I am trying to copy an array of real numbers into a UDT with a real data type element. I have attached a snip below showing my COP instruction...
Replies
4
Views
204
Hi Iam using monitouch hmi(V9 soft) with omron plc cj2m (CX programmer). In this I want to read a data from hmi to plc. The data was like...
Replies
0
Views
95
Hi all. Me again still learning Rockwell. So I'll be polling an INT data array from a Modbus SE power meter with a L82 (with a Modbus ProSoft in...
Replies
56
Views
1,386
Back
Top Bottom