Jump to content

Recommended Posts

Posted (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. 

image.thumb.png.77e9f9db9071c51dbdb017341e547c15.pngimage.thumb.png.66c9286d22ccaff2df7d121e02da5346.png

Edited by qwwqw
Posted
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.

Posted
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.

  • 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...