Mc_setposition, Parameters – Yaskawa MotionWorks IEC User Manual

Page 154

Advertising
background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

146

MC_SetPosition

This Function Block shifts the coordinate system of an axis by changing
both the commanded position as well as the actual position of an axis with
the same value without any movement caused.

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

B

Position

LREAL

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

LREAL#0.0

E

Mode

BOOL

RELATIVE =True, ABSOLUTE = False
(Default). This refers to the coordinate

FALSE

Advertising