Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: WriteSegmentTime query

WriteSegmentTime query 2 years, 5 months ago #1472

  • kkong
  • OFFLINE
  • Posts: 12
  • Karma: 0
Trying the sample VBClient as provided after installing SMI software using ISMIPath-Circle feature.

How is the speed and acceleration controlled?

This 2 commands : PathInterface.TimeDelta and CMotionInterface.WriteSegmentTime
How are they related and what are their units?

Re: WriteSegmentTime query 2 years, 5 months ago #1474

  • csearcy
  • OFFLINE
  • Posts: 480
  • Karma: 23
ISIMIPath::TimeDelta is in terms of motor samples.
For a class 5 motor using PID2 (the default) using 128 for TimeDelta: 128 * .125usec = 16 msec

ISIMIPath::Acceleration is rate of change per point of the trajectory path.
If you are moving a X any Y axis both 10000. The length of the trajectory path is SQRT((X distance 10000 * 10000 ) + (Y distance 10000 * 10000 )) = 14142
The TimeDelta, Acceleration and MaxSpeed are all used to calculate the number of motor samples used for acceleration, deceleration and constant speed.

ISMICMotion::WriteSegmentTime This is for class 5 motors and is in terms of motor samples if you calculate the path then this should be the same as TimeDelta.
ISMICMotion::WritePosition
  • Page:
  • 1
Moderators: hsummer, csearcy
Time to create page: 0.39 seconds