Micrologix 1100 - swap words in LONG

ryrzu

Member
Join Date
Feb 2013
Location
Gdańsk
Posts
24
Hello,
I need to find best in terms of performance solution for my problem:
I use MLX 1100 with modbus communication and i get 2 words data to my B20 where B20:8 contain high word and B20:9 low word.
When i CPW B20:8 (length 2 ) to LONG i get B20:8 as low word and B20:9 as high word. Because i have a lot more data like this i want to avoid using aditional B file as buffer with swap words. Is there any other way to do this?

2gtw64j.jpg
 
I think the lack of responses means no, there isn't a better way with RSLogix 500. There's really nothing wrong with your buffer idea; just make a subroutine that swaps each set of words and stores them in a second data file. Then use CPW on the buffer file to populate your Long registers.
 

Similar Topics

Hi, I cannot find the DLCA1764.EXE utilty software for data retrieving. Can someone share the link to download this software. Thanks!
Replies
4
Views
119
I am currently backing a Micro Logix 1100 and no-one seems to have the file for me to upload from. Is there a way for me to upload the project off...
Replies
15
Views
520
I am trying to set up a read message in a MicroLogix1100 to read the value of a DINT in a ControlLogix5561. I have successfully set up a message...
Replies
2
Views
190
Hello, I have an existing application that has a Powerflex 700 with a 20-COMM-E adapter controlled by a Micrologix 1100 via Ethernet. The setup...
Replies
6
Views
1,193
I have a MicroLogix 1100 and it's capable of ac or dc output voltages. What I don't know is how I'm supposed to tell the 1100 to use dc for the...
Replies
13
Views
1,405
Back
Top Bottom