Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.

TOPIC: Combitronic Trajectory Complete

Combitronic Trajectory Complete 4 years 4 months ago #1478

  • apexmotion
  • apexmotion's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
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.
The administrator has disabled public write access.

Re: Combitronic Trajectory Complete 4 years 4 months ago #1479

  • csearcy
  • csearcy's Avatar
  • OFFLINE
  • Moderator
  • Posts: 459
  • Thank you received: 77
  • 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
The administrator has disabled public write access.
Moderators: hsummer, csearcy, swalters, mmeyers
Time to create page: 0.218 seconds
Powered by Kunena Forum