RSLogix 5000 - How to convert DINT to REAL?

ruzainiazfar

Member
Join Date
Sep 2012
Location
Malaysia
Posts
2
Hi Everyone,
Im here to ask how to convert DINT to REAL.
Im using modscan32 to inject current & read from 2 word address register, eg: 40001 & 40002 as a current value. I combine this 2 WORD into 1 tag as a DINT.
The problem is i cant read In real value. can sum1 help me on this?

:site::site:
 
Use the COP instruction instead of the MOV instruction. Make the DINT the Source value, and the REAL the Destination value, with a Length of 1 element.

You may also have to reverse the word order, or even the byte order; this depends on how the Modbus interface is done.
 
Use the COP instruction instead of the MOV instruction. Make the DINT the Source value, and the REAL the Destination value, with a Length of 1 element.

You may also have to reverse the word order, or even the byte order; this depends on how the Modbus interface is done.

OK.. Thanks KEN.. It works.
 

Similar Topics

Dear All, I want to ask about converting Status File from RSLogix 5 to RSLogix 5000. I know that RSLogix 5000 have no "status file" function on...
Replies
5
Views
3,154
Hi, My boss just ask me to convert all add on instructions into normal rungs. Currently, it is add ons in add ons.......... I am just wondering...
Replies
5
Views
2,560
Hey all, I've reviewed many threads regarding converting one data type to another and I have something I'm working on that I'm stumped on and...
Replies
9
Views
5,917
Hi all, I have a client with a SLC 500 panel and a Compact Logix panel. The Compact Logix panel was exposed to some harmful environmental...
Replies
4
Views
2,734
Is it possible to convert a RSLogix Micro Project to a RSLogix 5000 project? I've tried following the manual from Allen Prabley for converting...
Replies
7
Views
10,245
Back
Top Bottom