beautypg.com

Positionlimits, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 471

background image

PLCopen Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

458

PositionLimits

This function block enables or disables the position limit function. It also allows continuous streaming of new
position limits. This block uses MC_WriteBoolParameter, MC_ReadBoolParameter, MC_WriteParameter, and
MC_ReadParameter.

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

Enable

BOOL

The function will continue to
execute while enable is held high.

FALSE

V

LimitPositionEnable

BOOL

Enables / Disables the position
limit function in the motion engine.

FALSE

V

LimitPositionPositive

LREAL

The maximum commanded
position allowed

LREAL#0.0

V

LimitPositionNegative

LREAL

The minimum commanded position
allowed

LREAL#0.0