LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't write REAL4 into GE Series 90 PLC using DataSocket

*NOTE* To increase exposure, this message is a duplicate of one just posted on the Lookout board.

Hello,

I am programming a LabVIEW application that need to write REAL4 numbers into GE Series 90 PLC holding registers. Looking at the documentation for the OPC driver, and regarding the numeric holding registers, I see that one can only write %R, %RD, and %RU (but not %RF).

Since I am using LabVIEW, I am forced to use DataSocket to read/write the OPC values. It seems I should be able to cast my SGL number as a U32 and write it to a %RU address. However, when I try this (e.g %RU702), I find that the higher-order word (e.g. %RU703) DOES NOT CHANGE, even though the lower-order word does in fact get updated properly.

Does anyone have a suggestion on how I can get a REAL4 written from LabVIEW to this PLC?

Thanks!

David Moerman
TruView Technology Integration Ltd.
0 Kudos
Message 1 of 1
(2,305 Views)