Rx3i Convert 2 Words to a Real without ME warnings

Ozpeter

Member
Join Date
Aug 2014
Location
Virginia
Posts
124
From a Modbus read I am getting back and array of words. Within that array, 2 of the words represent a real value. Nominally all I have to do is concatenate those two words and write them to a "Real" typed variable in order to get my real data. (and I can do this if both source and destination have addresses)

However when either source or destination doesn't have an address I can't see how to do this without generating a datatype mismatch warning in Machine Edition - and I am trying eliminate all warnings. (Also I ultimately want to do this inside a Function Block .. hence the no addresses requirement)

So does anyone know how to convert IntValue[0] and IntValue[1] to RealValue where neither of them have addresses?
 
Answering my own question as obviously I didn't try everything first

My solution was a Move_Bool of 32 from InValue[0] directly into the inputs of a Move_Real to RealValue

This does not generate any warnings in ME
 

Similar Topics

Hi all, I'm working on a project that is three-fold: replace GE 90-30 PLCs with RX3i, consolidate distributed program to master PLC (old PLC ran...
Replies
14
Views
6,610
Hi there, Trying to get some ascii serial communications working via RS485 (COMMREQ functions). I have attached our wiring for the COM2...
Replies
1
Views
934
Hello all, First time poster, long time viewer of these forums. Could not find my solution on here. We have had issues with a Comm Fail on an...
Replies
2
Views
323
Spoke to a few outlets including Emerson and some distributors. Apparently updating firmware on subsequent modules past the CPU still uses...
Replies
1
Views
332
Hi I am a beginner to the GE PLC. I am working on a project to install two new viewmarq display. Has anyone ever connected or worked with this...
Replies
4
Views
353
Back
Top Bottom