MC_BR_EventMoveAbsolute

<< 点击显示目录 >>

主页  轴控开发使用手册 > ACP10/ARNC0帮助信息 > ACP10_MC运动库 > 分类的功能块 > 基础运动 >

MC_BR_EventMoveAbsolute

这个功能块在驱动器发生事件后,使用指定的参数执行一个绝对运动。与从控制器启动运动相比,这可以导致非常快的反应。

使用要求

SG3/SGC目标系统的功能块名称 MC_034BR_EventMoveAbsolute

允许启用该功能块的PLCopen轴状态

静止状态

离散运动

连续运动

同步运动 (V2.151及以上版本)

功能块

mc_br_eventmoveabsolute

Parameter

I/O

Parameter

Data type

Description

IN

Axis

UDINT

轴对象引用

IN

Execute

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

MC_BR_EVINPUT_REF data type

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

本节的主题:

Description of function

Function block modes

Required resources

Additional information

Error numbers