How to do indirect addressing with the M221 in Machine Expert Basic.
Issue:
How to do indirect addressing with a M221.
Product Line:
M221
Environment:
Machine Expert Basic ( formally SoMachine Basic)
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 the data of 200 to those registers.
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance: