Jump to content

Recommended Posts

Posted

I have 23 Micrologix 1400s and I want to take the same register, N100:99, out of each one and put in a single array in a CompactLogix L18ER. From what I have tried, it only seems like I can only map a range of integers, N100:77-N100:100, to the array and not an individual register to a particular element. (For example, mapping N100:99 from machine 16 to Selected_Model[15]) Can you map to individual elements in an array? If so, are there any instructions on how to do so? Thank you in advance for reading my post!


Posted

Using a message instructions should work.

For Machine 1 do an SLC Typed Read of N100:99 to a Destination of Selected_Model[0]

For Machine 2 do an SLC Typed Read of N100:99 to a Destination of Selected_Model[1]

For Machine 3 do an SLC Typed Read of N100:99 to a Destination of Selected_Model[2]

.....

For Machine 16 do an SLC Typed Read of N100:99 to a Destination of Selected_Model[15]

....

For Machine X do an SLC Typed Read of N100:99 to a Destination of Selected_Model[X-1]

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...