Welcome, Guest
Username Password: Remember me
Messages posted to this category need to be reviewed by the moderator before it gets posted.
  • Page:
  • 1

TOPIC: Combitronic Trajectory Complete

Combitronic Trajectory Complete 2 years, 5 months ago #1478

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.

Re: Combitronic Trajectory Complete 2 years, 5 months ago #1479

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
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
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 1.40 seconds