beautypg.com

Enumerated types, Programs, Function blocks – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 384

background image

PLCopen Toolbox

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

371

function block

Enumerated Types:

Enumerated

Type

Description

MC_Direction

For use with the Reverse_MC_Direction function block to select positive or negative
direction for LimitDirection and PulseDirection

TB_AxisType

For use with the ReadAxisParameters function block to select the type of axis, such
as servo, external encoder, VFD, etc.

Programs:

Program

Description

Initialize

A template of code which can be copied to reduce the time required to enter initialization
code into your project.

Function Blocks:

Function Block

Description

AbsolutePositionManager

This function block can serve as a central point for monitoring, clearing,
and defining the position of an absolute encoder.

AccDecLimits

Manages the parameters associated with enabling/disabling the
acceleration and deceleration limits.

Axes_Interlock

Checks MC_ReadAxisError and the actual position of both axes to verify
that they are both free of alarms and within the position tolerance
specified.

AxisControl

Combines MC_Power, MCReadAxisError, and MC_Reset and provides
separate outputs for controller and drive alarms and warnings.

AxisStatus

Uses MC_ReadAxisError to provide further breakdown of the ErrorClass and
AxisErrorID.

ControllerAlarm

Provides a BOOL output to indicate if there is a controller alarm not related
to an axis.

HighSpeedOutput

Combines several of the parameters for use with the High Speed Output
function available on the LIO-01, LIO-02, LIO-06, and MP2600iec. It allows
changing the "OnPosition" value on the fly. While the "OnPosition" will be
triggered at the hardware level with a response time of 13us, the output
will be turned off when either the MinDistance has been travelled or the
MinTime has elapsed, which will be based on the application scan in which
this function is operating.

Home_LS

Combines the PLCopen function blocks MC_StepLimitSwitch,