AB Real to SINT's

I have a project to send a 'REAL' value to a Siemens PLC across a Profibus Gateway, the problem is the gateway and Siemens PLC deal only in bytes.


My question is:-


Is it possible to use a 'COP' and copy the real to a 'SINT' array for a length of 4 hopfully splitting it into SINT[0] to SINT[3]?


At the moment I have no way of simulating or loading into a processor to try.


If not maybe someone can point me in the right direction as to a solution.


Best regards
Steve
 
Thanks for that, I do have a further Question, not being that familiar with Siemens, anyone have any Idea how to reconstruct the value on the Siemens side?


Steve
 

Similar Topics

I'm stumped by something seemingly simple. I want to move the numerical value of an ASCII style SINT into a REAL tag in Studio 5000. What's the...
3
Replies
1,433
Views
I am having problems expressing an ANALOG OUTPUT 16bit INT word (0-10V Proportional Valve Voltage) as a REAL decimal number. From my...
6
Replies
11,512
Views
Hello everybody, A challenge I have in front of me consist of taking a REAL value (0 - 4095) and dumping it into a tag (Sent_Counts) that is...
12
Replies
9,731
Views
Folks I have a bit of a dilema here. On a profibus network, Prosoft on ControlLogix Platform, I have an instrument that is giving me two values...
3
Replies
1,959
Views
I just tried to update a L61-v20 program to an L81-v34 and I found that addressing a REAL to the bit level is no longer allowed? Can any one...
11
Replies
224
Views
Top