beautypg.com

Moverelative_bytime, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 468

background image

PLCopen Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

455

MoveRelative_ByTime

This function block converts the MoveTime input into acceleration, velocity, and deceleration for a 1/3, 1/3, 1/3
trapezoidal move profile which will complete in the MoveTime specified. It uses the MC_MoveRelative function
block.

Parameters

*

Parameter

Data
Type

Description

VAR_IN_OUT

B

Axis

AXIS_REF

Logical axis reference. This value can be located on the
Configuration tab in the Hardware Configuration (logical axis
number).

VAR_INPUT

Default

B

Execute

BOOL

Upon the rising edge, all other function block
inputs are read and the function is initiated.
To modify an input, change the value and
re-trigger the execute input.

FALSE

V

Distance

LREAL

A relative positive or negative value within
the coordinate system in user units

LREAL#0.0

V

MoveTime

LREAL

The time required (in seconds) for the move
to complete.

LREAL#0.0

VAR_OUTPUT

B

Done

BOOL

Set high when the commanded action has been completed
successfully. If another block takes control before the action