Combitronic Traject...
 
Notifications
Clear all

Combitronic Trajectory Complete

2 Posts
1 Users
0 Reactions
7,532 Views
(@apexmotion)
Posts: 1
New Member Guest
Topic starter
 

What is the best way for one motor to determine if a motion is complete on another motor?

For example, on motor 1 I have:
MP:2
VT:2=10000
PT:2=6000
G:2

To determine if motor 2 finished it's motion, I tried
IF Bt:2==1
'Do some stuff here.
ENDIF

But I get a compile error: Type not supported for peer to peer.

 
Posted : 22/04/2014 1:46 pm
(@csearcy)
Posts: 316
Reputable Member Guest
 

You're close. Bt isn't supported over Combitronic, but B(0,2) is.
So try...
IF B(0,2):2==1
'Do some stuff here.
ENDIF

 
Posted : 22/04/2014 1:50 pm
Share: