beautypg.com

Home_ls_pulse, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 453

background image

PLCopen Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

440


Home_LS_Pulse

This function block combines the PLCopen function blocks MC_StepLimitSwitch, MC_StepRefPulse,
MC_MoveRelative, and MC_SetPosition to make a sequence that detects the limit switch, reverses to the C
channel, performs and offset move away from the limit, and sets a home position.

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

HomeData

HomeStruct

User defined Data Type in the PLCopen
Toolbox, contains all related homing
parameters.

All zeros in
structure

VAR_OUTPUT

B

Done

BOOL

Set high when the commanded action has been completed
successfully. If another block takes control before the
action is completed, the Done output will not be set. This
output is reset when execute goes low.

B

Busy

BOOL

Set high upon the rising edge of the 'Execute' or 'Enable'