Roy Matson
Member
Hi,
I have a project using RSLogix Function Block Diagram and a Prosoft Profibus module to communicate with a Siemens DCS
My problem is it has been decreed that the data transfer will be INT, apparently the Siemens system swaps bytes around making it difficult to handle Real data, besides the Prosoft data table is INT
Most of my data is in small numberes e.g. 0.0 - 1.0 gpm
My solution is to multiply the Real by 1000 then tie the result into the Prosoft data table, this seems to work except the data appears in the next cosecutive word i.e. if I connect to word ProsoftDataTable[56] I see the answer in [57]
Rockwell support solution was to multiply as I have done then Copy the result to the data table but FBD doesn't have a Copy block that I can see.
What's the elegant solution?
Thanks in advance
Roy
I have a project using RSLogix Function Block Diagram and a Prosoft Profibus module to communicate with a Siemens DCS
My problem is it has been decreed that the data transfer will be INT, apparently the Siemens system swaps bytes around making it difficult to handle Real data, besides the Prosoft data table is INT
Most of my data is in small numberes e.g. 0.0 - 1.0 gpm
My solution is to multiply the Real by 1000 then tie the result into the Prosoft data table, this seems to work except the data appears in the next cosecutive word i.e. if I connect to word ProsoftDataTable[56] I see the answer in [57]
Rockwell support solution was to multiply as I have done then Copy the result to the data table but FBD doesn't have a Copy block that I can see.
What's the elegant solution?
Thanks in advance
Roy
Last edited: