. |
Stop Mechaware API Documentation > Action
OverviewOverviewDescription The Stop block is used to trigger a stop event on a given motion supervisor. This stops motion on all mapped axes within the pre-configured stopping time. During the course of a stop, the motion state changes from stopping to stopped. No fault flags are raised and the related amps remain enabled. Note: A motion reset is not required in order to perform further motions. Example
The configuration values for this block are as follows:
Matlab/SimulinkSimulink InterfaceThe Itrp (opt) output is an output which only relates to simulation. Note: This output is only used when simulating within Simulink and is ignored when the model is downloaded to a controller. The Interrupt pin is used on all Motion Simulation blocks to allow them to communicate with a central trajectory planner, interpret events, and change the trajectory as required. When Bit 2 is triggered by the Stop block, the trajectory information is used to simulate a Stop Motion to a Zero Velocity using the Stop Time parameter specified in the Trajectory Planner. The Motion Supervisor Number of the Stop block specifies which motion supervisor to stop (axis or motor number when using default mappings). The block has two user data fields (User Data 0, User Data 1) to store application-specific data for convenient storage and retrieval. For more information, see User Data Storage. The block's update schedule is determined by the Evaluate Block. The following Parameter Dialog Box can be opened by double-clicking on the block in a Simulink model:
C++ APISTOPBlockDeclaration Public Method
Description The STOP block provides a controlled way to bring motors to a stop by using their motion supervisor. The rate of deceleration is implied by the motion supervisor’s pre-configured stopping time (MotionConfig.decelTime.stop). The stop action is issued on the rising-edge of the block’s Execute input value. Parameters
Methods See AlsoAbort | EStop | MOTION_RESET | AMP_ENABLE
|
| | Copyright © 2001-2012 Motion Engineering |