beautypg.com

Data type: productbufferstruct, Data type declaration, Productbufferstruct – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 412

background image

PLCopen Toolbox: DataTypes

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

399

Data Type: ProductBufferStruct

For use with the

ProductBuffer

function block.

Data Type Declaration

TYPE

ProductBufferStruct: STRUCT

BufferSize:INT;

(* INPUT - Maximum number of registration marks to be

tracked. (Circular buffer size). *)

BufferNonCyclic:

LatchBufferArray

;

(* OUTPUT - Array (circular buffer) of all

recorded registration marks (unmodularized latch values). *)

BufferCyclic:

LatchBufferArray

;

(* OUTPUT - Array (circular buffer) of all

recorded registration marks (modularized latch values). *)

Sensor:TRIGGER_REF;

(* INPUT - TRIGGER_REF for the axis which

registration marks are to be detected. *)

SensorDistance:LREAL;

(* INPUT - Distance in units of the master axis from

the registration sensor to the required synchronization point with a slave
axis. *)

SensorOffset:LREAL;

(* INPUT - If the sensor is an exact multiple of

machine cycles from cut position, this number would be zero. *)

ManualOffset:LREAL;

(* INPUT - Amount to adjust the synchronization

point, typically comes from HMI. *)

LockoutDistance:LREAL;

(* INPUT - Distance after recording a latch that

another latch would be ignored as potential noise. *)

ProductAwayDistance:LREAL;

(* INPUT - The distance the product travels from

its initial detection until it is safely past the slave operation. *)

StorePointer:INT;

(* OUTPUT - Array Index of the latch data that was

stored after MC_TouchProbe. *)

UsePointer:INT;

(* INPUT - Array Index of the latch data. *)

PrevUsePointer:INT;

(* INPUT - Array Index of the previous latch data. *)