Using REAL data types in MESSAGING Instructions

delrioal_03

Member
Join Date
Aug 2022
Location
Colorado
Posts
6
I'm currently working on a messaging system and Ive been having issues with trying to message over a REAL Data Type from one PLC to another. Has anyone ever encountered a solution to this?
 
I read your post from a few days ago: for some reason your system's logic addresses bit-level instructions using bit sub-elements from inside a REAL.

http://www.plctalk.net/qanda/showthread.php?t=133685

That is a bad method, and the sort of confusion that it creates is probably why RA removed the ability to use it.

From my reading of the problem, the best way to resolve this issue is to edit the program to use a UDT that mixes arrays of BOOL and DINT and REAL elements, rather than attempting to pack BOOLs into bits of a REAL.

Please post your replies to that original thread to keep the information in one place.
 
I read your post from a few days ago: for some reason your system's logic addresses bit-level instructions using bit sub-elements from inside a REAL.

http://www.plctalk.net/qanda/showthread.php?t=133685

That is a bad method, and the sort of confusion that it creates is probably why RA removed the ability to use it.

From my reading of the problem, the best way to resolve this issue is to edit the program to use a UDT that mixes arrays of BOOL and DINT and REAL elements, rather than attempting to pack BOOLs into bits of a REAL.

Please post your replies to that original thread to keep the information in one place.

I was surprised that you could address them at the bit level. I would have bet money that it never existed. It did strike me as an odd way to do things when there was a perfectly normal way available
 

Similar Topics

I work at a cheese factory and we recently ran into a problem where in an older controller they where able to use a REAL Data type in OTU and XIC...
Replies
13
Views
2,574
Hi, Im new to SCL, but decided to start learning it - if only to be able to do some simple jobs such as indirect addressing. got some simple...
Replies
3
Views
6,900
I'm writing some structured text that's handling a data structure that comes from a PC. The PC structure is in the "new" LREAL 64-bit floating...
Replies
3
Views
481
Hi fellow automation people, FactoryTalk View SE V13 Network I am trying to setup a generic popup trend where I can switch it between...
Replies
0
Views
180
Hi, I am having trouble in the Intouch Application maping indirect real tags to IO real tags to grab information.
Replies
2
Views
3,403
Back
Top Bottom