INT Arrays To DINT Arrays

JonAW

Member
Join Date
Sep 2013
Location
Somewhere
Posts
121
Hi Guys,

In my current project I'm reading an integer data array from a micrologix 1200 to a compactlogix which is straight forward with the messaging command in the compactlogix. I'm then transferring the integer data into DINT data. What I would like to be able to do is move the integer array (0-9) into the DINT array (0-4). I'm using the FAL instruction to transfer the data in 1 scan. I followed the rockwell help files to setup the FAL instruction but it doesn't explain how to do the above. Can anyone help me with this?

I'm also working the other way round to write to the micrologix from the compactlogix. I think the FAL will automatically convert from a DINT array of 5 to an integer array of 10. Is this correct?

See attachment of what I'm doing. If this looks like it won't work, please correct me, I'm still very much a newbie at the plc game.

thanks

Jonny

Messaging.jpg
 

Similar Topics

Hi. This is pretty basic but I'm struggling to find an efficient solution. I have a float value of let say 666.555 that I want to move / split...
Replies
3
Views
209
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...
Replies
12
Views
8,605
I am scanning 6 bar codes (6 different scanners, each scanner scans one bar code) into the PLC using network cables and it stores them in INT(67)...
Replies
2
Views
9,213
Will someone please convert this logic to pdf?
Replies
2
Views
127
Anyone have access to Melsec Medoc plus 2.31a that can either open a file (.pcd zipped in link below) and send a PDF/screenshot of the ladder, or...
Replies
10
Views
383
Back
Top Bottom