beautypg.com

Enumerated types, Pattern, Detection_pattern – Yaskawa MotionWorks IEC User Manual

Page 55: Described in, Y_disengagemethod, Atposition, immediate, endofprofile), Y_engagemethod, Atposition, immediate, linked)

background image

PLCopenPlus Function Blocks for Motion Control 2013-04-13

47

Enumerated Types

Some blocks accept an enumerated type, which is a keyword (or constant)
representing a value which will configure the operation of the function
block. Enumerated types are equivalent to zero-based
integers. Therefore, the first value equates to zero, the second to 1,
etc. The format for enumerated types is as follows: ENUM:(0, 1, 2...) as
displayed in the example below (MC_BufferMode#Aborting).

MC_BufferMode:(Aborting, Buffered, BlendingLow, BlendingPrevious,
BlendingNext, BlendingHigh)

MC_Detection_Pattern: (Rising_Edge, Falling_Edge)

MC_Direction: (Positive_Direction, Shortest_Way, Negative_Direction,
Current_Direction)

(* MC_Direction#ShortestWay and MC_Direction#Current_Direction are
designed for use in applications where the Load Type is configured as a
rotary or modularized axis. Additionally, MC_Direction#Current_Direction
only applies if an existing move is in progress and another function block
such as MC_MoveAbsolute or MC_MoveRelative is executed. Once the axis