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,659
I have a system using Rx3I CRU320 redundant CPU with Proficy Machine Edition Software. In the hardware configuration of each CPU module, under...
Replies
14
Views
388
Hi, we are using Rx3i CRU320 redundant PLC system and we noticed a discrepancy between Primary and Secondary controller. Couple of variables (DI)...
Replies
8
Views
281
Hi there, I'm doing some extensive testing and commissioning with a slew of new Emerson PACSystems RX3i PLCs. It would be convenient to...
Replies
5
Views
100
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
969
Back
Top Bottom