Issue:
How to do indirect addressing with a M221.
Product Line:
M221
Environment:
Machine Expert Basic ( formally SoMachine Basic)
Causes and Fixes:
How to
Resolution:
1) open project
2) insert an operate block
3) Enter the following example %MW0[%MW10]:=200
4) Create an Animation table
5) Enter in the following registers %MW0, %MW10, %MW5, and %MW15
6) Save and build changes
7) For this demo we will use the simulator in Machine Expert Basic to test
8) Load the project in simulator and place in RUN.
9) You will see a value of 200 in the %MW0
10) we will now go to %MW10 and put in the register that we want to move the data to we will enter the value of 5 and also 15 that will reference the %MW5 and %MW15 and it will move thedata of 200 to those registers.
How to do indirect addressing with a M221.
Product Line:
M221
Environment:
Machine Expert Basic ( formally SoMachine Basic)
Causes and Fixes:
How to
Resolution:
1) open project
2) insert an operate block
3) Enter the following example %MW0[%MW10]:=200
4) Create an Animation table
5) Enter in the following registers %MW0, %MW10, %MW5, and %MW15
6) Save and build changes
7) For this demo we will use the simulator in Machine Expert Basic to test
8) Load the project in simulator and place in RUN.
9) You will see a value of 200 in the %MW0
10) we will now go to %MW10 and put in the register that we want to move the data to we will enter the value of 5 and also 15 that will reference the %MW5 and %MW15 and it will move thedata of 200 to those registers.