MC-Basic:element.PrecomputationMode

From SoftMC-Wiki
Revision as of 10:02, 25 October 2012 by Arwiebe (talk | contribs)
Jump to: navigation, search

When a Cartesian movement is commanded (with MOVES or CIRCLE), the Cartesian motion limits (acceleration, deceleration, velocity, etc.) need to be adjusted by the system in the way that the joint limits are not exceeded during the motion. This adjustment before the motion execution is called "precomputation". Because the precomputation is not a trivial task, several approaches with different cost of CPU time are implemented in the system.

The DEFAULT mode is only for Cartesion motion commands (MOVES, CIRCLE). It considers only the joint velocity and acceleration/deceleration limits and leads to reasonable results as long the motion is far away from singularities. This mode uses very little CPU time for the precomputation task.

The DYNAMIC mode is a new approach to which considers the motion dynamics (IDM) in the precomputation. Cartesian motion limits are adjusted with respect to joint velocities, acceleration/deceleration, jerk and torque limits. This mode uses an iterative algorithm which very strictly obeys the joint limits but results in a relatively high computational cost (it can reach 3ms on a MIB CPU).

Dynamic precomputation can also be used in combination with joint/axis motion to consider the torque limits.

Syntax

?<robot>.PrecomputationMode

<robot>.PrecomputationMode= <value>

Availability

AMCS FW 4.9.10

Type

Long

Range

  • 0 = NONE
  • 1 = DEFAULT
  • 4 = DYNAMIC

Default

1

Scope

Task or Terminal

Limitations

  • The Dynamic Precomputation mode can only be used together with the Time Based Profiler (PROFILERTYPE = 2).

See Also