Data Read

pravinshinde

Member
Join Date
Feb 2009
Location
pune,India
Posts
57
Hi all,May I have help on this ?I have 3 INT registers and I want to read this data in single control logix Real Tag.Also,I have 2 INT registers and I want to read this data in single MicroLogix float Tag.
 
That isn't a very good explanation.
For the ControlLogix side, that is a no go... INTs are two bytes long, REALs are 4, so you can't fit in 6 bytes.

For the Micrologix, as long as the INT values are consecutive, you should be able to use the COP instruction, with a real as the target to get the bit patterns of the two individual INTs into one real.

The real question, is why?
 
I don't know of any standard implementations that use a 48 bit real number in the PLC world. I know it was used in some language implementations (Turbo Pascal for one) and a very few computers as a double.

If you are actually dealing with a 48 bit real, you are in for some headaches manipulating it down to a 32 bit representation.

IIRC, 48 bit reals allowed for 10 significant digits.
 
i suppose that u r doing communication with third party device and u r getting data in 4 consucative reg
please try this (not 100% sure wheather this works with this case also)

so u swap reg 1 then add reg 2 with this result.
 

Similar Topics

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
94
Thank you for any and all responses/help. I have an RSLogix 5000 v20 and a Cognex In-Sight v5.9 spreadsheet (8502P). I can not figure out how to...
Replies
0
Views
126
Dear Experts, Please, kindly guide me through how to read data from ABB PLC to S7-1200 Siemens PLC. I want to use Siemens S7-1200 PLC to read data...
Replies
1
Views
445
Hello, I want to send the data from Rslogix500 to Excel. I created a connection between RSlinx and Excel. The values in Excel automatically...
Replies
5
Views
1,178
Dear colleagues, I am reaching out for assistance with an issue I am having. I have a code that can successfully insert data from FactoryTalk...
Replies
6
Views
1,049
Back
Top Bottom