beautypg.com

Data types, Data types for plcopen toolbox – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 396

background image

PLCopen Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

383

Data Types

Data Types for PLCopen Toolbox

The following is a complete list of all DataTypes included in the PCLopen toolbox. The list is arranged to
separate those that are used internally, and not useful outside of their particular function, and those that an
application program must incorporate when the programmer wishes to use the associated Function Block.

Data Type

Usage

DataTypes for use with function blocks in the PLCopen firmware library

HomeStruct

For use with any HOME_*** function block

MoveStruct

For use with MC_MoveAbsolute, MC_MoveRelative, and MC_MoveVelocity

DataTypes for external use with the PLCopen Toolbox function blocks

AXIS_REF

Identifies an axis

AxisParamStruct

For use with the CamSlave_FeedToLength and CamSlave_WindowCheck
function blocks.

AxisStruct

For use as a container for all axis related data. (Customizable)

MC_Direction

ENUM type for indicating positive or negative direction for LimitDirection and
PulseDirection of the Reverse_MC_Direction function block

ProductBufferStruct

For use with the ProductBuffer function block

TB_AxisType

ENUM type for indicating the axis type for the ReadAxisParameters function
block

DataTypes that support other DataTypes (no need for direct use by the programmer)

AxisParamData

Supporting structure for AxisPrmArray. Used by the ReadAxisParameters
function block

CAMSWITCH_ARRAY

Supporting structure for CAMSWITCH_REF. Used by the Y_DigitalCamSwitch
function block

CAMSWITCH_STRUCT

Supporting structure for CAMSWITCH_ARRAY. Used by the
Y_DigitalCamSwitch function block.

LatchBufferArray

Supporting structure for ProductBufferStruct Used by the
ReadAxisParameters function block

TRACK_ARRAY

Supporting structure for TRACK_REF. Used by the Y_DigitalCamSwitch
function block

TRACK_STRUCT

Supporting structure for TRACK_ARRAY. Used by the Y_DigitalCamSwitch
function block

DataTypes used internally by PLCopen Toolbox function blocks

AxisPrmArray

Used by the ReadAxisParameters function block

CAMSWITCH_REF

Used by the Y_DigitalCamSwitch function block

IndividualParamDetails

Used by the ReadAxisParameters function block

SWERRORSTRUCT

Used by the Y_DigitalCamSwitch function block

TRACK_REF

Used by the Y_DigitalCamSwitch function block