<< 点击显示目录 >> 主页 轴控开发使用手册 > ACP10/ARNC0帮助信息 > ACP10_MC运动库 > 分类的功能块 > 基础运动 > MC_BR_EventMoveAbsolute |
这个功能块在驱动器发生事件后,使用指定的参数执行一个绝对运动。与从控制器启动运动相比,这可以导致非常快的反应。
•SG3/SGC目标系统的功能块名称 MC_034BR_EventMoveAbsolute
•静止状态
•离散运动
•连续运动
•同步运动 (V2.151及以上版本)
I/O |
Parameter |
Data type |
Description |
IN |
UDINT |
轴对象引用 |
|
IN |
BOOL |
Execution of the function block begins on a rising edge of this input. |
|
IN |
EventInput |
MC_BR_EVINPUT_REF |
Input used as the event source. |
IN |
Position |
REAL |
Target position for the movement [PLCopen units] |
IN |
Velocity |
REAL |
Maximum velocity [PLCopen units/s] (not necessarily reached) |
IN |
Acceleration |
REAL |
Maximum acceleration [PLCopen units/s²] (not necessarily reached) |
IN |
Deceleration |
REAL |
Maximum deceleration [PLCopen units/s²] (not necessarily reached) |
IN |
Direction |
USINT |
Direction of movement: mcPOSITIVE_DIR ... 0 mcNEGATIVE_DIR ... 1 mcCURRENT_DIR ... 2 mcSHORTEST_WAY ... 3 mcEXCEED_PERIOD ... 8 |
IN |
Mode |
UINT |
Function block operation: mcONCE ... 1 mcCYCLIC ... 2 mcCYCLIC_ALL_EVENTS ... 3 |
IN |
PositionParID |
UINT |
ParID from which the target position is read (axis units!) |
OUT |
InPosition |
BOOL |
End position reached |
OUT |
Busy |
BOOL |
The function block is active and must continue to be called. |
OUT |
CommandAborted |
BOOL |
Function block aborted by another function block |
OUT |
Error |
BOOL |
Error during execution |
OUT |
ErrorID |
UINT |
|
OUT |
WaitingForEvent |
BOOL |
Waiting for the event. |
Table: Parameter MC_BR_EventMoveAbsolute
Parameter |
Data type |
Description |
EventSourceParID |
USINT |
ACOPOS ParID as the event source (ACP10PAR_LOGIC_VALUE+0, ACP10PAR_STAT_TRIGGER1, etc.) |
Edge |
USINT |
Edge selection for the trigger event: ncP_EDGE: Changes the value of the ACOPOS ParID from 0 to ≠ 0 ncN_EDGE: Changes the value of the ACOPOS ParID from ≠ 0 to 0 |
本节的主题: