Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all articles
Browse latest Browse all 1318

Updating numeric Control with different values with array function

$
0
0

Hi ,

I have attached my basic code . I want to run the code for 2 sets of numeric control values with a delay in between and loop it. Something like this

 

abc

Initialize P1=10; P2=20;P3=30;P4=40

Run the code

delay = 10ms

Update P1=150; P2=200;P3=350;P4=500

Run the code

jump to abc

 

I am stuck how to update the values of P1,P2,P3,P4 ? I thought of using a array function but couldn't go further .

 

Thanks for the help,

Ana 

 


Viewing all articles
Browse latest Browse all 1318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>