ControlLogix: Addressing by memory location

jreimerddauto

Member
Join Date
Jul 2016
Location
Ontario
Posts
7
Im trying to figure out how to use indirect addressing of memory locations to create a "for loop"-like function that would walk through every in-scope tag of a PLC, read its value, and write it serially.

For example, I want the serial-slave device to request the value at address 0x00, receive it, record it, request the value of memory location 0x01, etc etc.

How would I go about doing this in a ControlLogix system?

From what I know so far, to do this in ControlLogix, I would have to manually create a list of every tag I wanted to record and pass it from either master-slave or slave-master.

In C (which I haven't touched in years, forgive my syntax) it might look something like;

for(i = start;stop;step)
{
&ptr = ;
write_to_serial = (*ptr)
}
 
Well, you could use a For loop in STL and iterate through your UDDT.
Caveat here - I don't know how long your comms will take and this will lock that routine up till it is done.
 
Last edited:
It sounds a little like you're attempting to perform a memory table read, bypassing the structures of the Tag Database.

Is there a reason this interface with another device couldn't be done with a serial protocol like DF1 or Modbus ?
 

Similar Topics

We are updating A few older Aveva Wonderware InTouch applications from a SLC PLC to a new ControlLogix PLC. What is the best way to deal with the...
Replies
2
Views
1,092
I am migrating an Allen-Bradley SLC based system to ControlLogix and need some help with DeviceNet addressing. The SLC system has a 1747-SDN and I...
Replies
3
Views
1,468
Hi... dumb question: if I scale an analog input in the module properties, do I need to create a new tag or can I just use the controller tag for...
Replies
4
Views
1,436
I am trying to connect 1756-L65 clx to a PV550 via Controlnet but I keep getting "Error(9005)" which is an invalid tag when I try to save the...
Replies
5
Views
2,052
Hi I have an L83 ControlLogix processor that is successfully communicating with Wonderware Intouch. However when I try to use indirect Addressing...
Replies
4
Views
3,120
Back
Top Bottom