qwwqw Posted April 24 Report Posted April 24 (edited) Hi. I trying to write a program for the situation when the controller has 6 signals from 0 to 5 and there is a condition ( a=#7AAA), if it is met, then a certain bit W#.00 is turned on, where #- is the number of the incoming signal. the operation must be repeated 6 times to check each of the signals of the controller but it is necessary to use index register. i can not get a normal increment IR1, the values are infinitely increasing. please help me understand. Here's what I have so far, but it doesn't work as I said before. also even if I manually increase the word number w, it does not affect the indirect addressing, w0.00 is still getting on instead of w1.00 for example. Edited April 24 by qwwqw Quote
IO_Rack Posted April 25 Report Posted April 25 https://mrplc.com/files/file/195-indirect-addressingzip/ There is a really good explanation in this above file. Unfortunately, this file is corrupt. @Chris Elston has been able to fix these links. Please stand by.... Quote
IO_Rack Posted April 25 Report Posted April 25 Using IR and DR for Indirect Addressing.pdfMOVR.pdf I'm not sure if these are the same documents in the link above, but they explain the IR, DR and MOVR operations as well. Quote
qwwqw Posted April 25 Author Report Posted April 25 3 minutes ago, IO_Rack said: Using IR and DR for Indirect Addressing.pdf 892.42 kB · 0 downloads MOVR.pdf 289.92 kB · 0 downloads I'm not sure if these are the same documents in the link above, but they explain the IR, DR and MOVR operations as well. thank you very much Quote
Chris Elston Posted April 29 Report Posted April 29 On 4/25/2025 at 7:25 AM, IO_Rack said: https://mrplc.com/files/file/195-indirect-addressingzip/ There is a really good explanation in this above file. Unfortunately, this file is corrupt. @Chris Elston has been able to fix these links. Please stand by.... Well poop. I am away from my backup drive until NEXT WEEK, but I will try and remember when I get home to fix this one. During the upgrade some of the files corrupted. I don't know why, it wasn't all of them. Quote
Chris Elston Posted May 6 Report Posted May 6 On 4/25/2025 at 7:25 AM, IO_Rack said: https://mrplc.com/files/file/195-indirect-addressingzip/ There is a really good explanation in this above file. Unfortunately, this file is corrupt. @Chris Elston has been able to fix these links. Please stand by.... Okay this file is fixed. I tried to upload via FTP, but that did not fix it, so I had to manually update it, but it's fixed. 1 Quote
Recommended Posts
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.