RS500 program question

Program is using a DIV block with source A as F8:[N10:16]
and destination N9:[N10:17] How does this addressing work?


That is indirect addressing. If the Integer word N10:16 has a value of five, then the first operand in the divide function will be F8:5, and if N10:17 has a value of 10 then the result of the divide function will be placed into N9:10.

You may dynamically change the values in the N10 registers to have the same divide function use different operands on different scans of your program logic.
 
this is called indirect addressing

if (for example) N10:16 = 8 and N10:17 = 30 then
Source A is F8:8 and the destination is N9:30


Aww beaten to the finish line
 

Similar Topics

Hello I use to work with AB program occasionnaly so i know the basics... On a special case, i have to do a program with everything open to...
Replies
5
Views
2,362
Hi There I know only search/find the tag and see the status. And later find the other operand which are connected to it. Second is to watch...
Replies
0
Views
1,402
Hi all, Is there tools to convert RS500 program to RS5000 program? Thanks!
Replies
16
Views
13,456
Hi All, I have a RS500 program for a wine pump. In manual the pump is running too fast and I need to slow it down, sounds pretty easy. PLC talks...
Replies
2
Views
3,245
#2 ladder is Main, how are ladders 3 on up created with in the program?
Replies
8
Views
2,825
Back
Top Bottom