Reply To: Help required in understanding an indirect addressing method

#4128
Arunkumar.daraArun Kumar Dara
Participant
Karma: 26
Rank: Padawan

Dear David,

Actually, In my application, I need to send all the Analog Input Values from one controller to another controller. Presently I have 40 Analog Input and I wrote 40 lines of code to copy the data into an array of DINT. So I thought of using indirect addressing and a FOR..LOOP to copy all Analog Input values into an array of DINT. After this by using a message instruction, I can transfer the DINT array to another controller.

I’m just curious to learn how to implement the indeirect method and For Loop.

Best Regards,

Arun Kumar D