This is part of 2.1.0latest release.

MLxConveyorData

0.2.0

Data type for conveyor configuration data.

Data structure used by MLxRobotConvSyncStart.

Contains configuration of a conveyor.

Some parameters are mandatory :

Version history

0.2.0

  deGroot

Changes

Removed:
  • ConveyorStartPosition and ConveyorTeachPosition no longer set by MLxRobotConvSyncStart inputs
show full history

0.1.0

  deGroot

Changes

Changed:

Overview

nametypedefaultcomment
ConveyorName_LENDINTStringlength for platform compatibility
ConveyorNameSTRING[82]User-defined Name of the conveyor
IsActiveBOOLDetermines whether this conveyor is active. Note: this must be set to 1 for conveyor tracking to work. In addition, all conveyors not being used must be set to 0 or unexpected behaviors may occur.
PaddingARRAY[0..2] OF BOOLPlaceholder for platform compatibility
ControllerIndexDINTIf using multiple MotoLogix systems, use this value to point to the correct controller. If using one MotoLogix system, this should always be set to 0.
ConveyorPositionREALFeedback conveyor position in mm (Note: this value is for reading only - modifying this value will have no effect)
ConveyorStartPositionARRAY[0..3] OF REALThis is the position in mm at which point the system will initialize conveyor tracking operations.
ConveyorTeachPositionARRAY[0..3] OF REALThis is the position in mm where the teach points for the following motion commands were taught.
MaxStartPositionARRAY[0..3] OF REALIf ConveyorPosition is greater than MaxStartDistance when an MLxConveyorSyncStart command is issued, the AOI will return an error.
UserFrameNumberDINTUser frame number attached to conveyor. This value is for information only - the active UF must be set in application before starting tracking.
ConveyorTypeDINTFor future use
EncoderToMMConversionREALThe mm per encoder count. i.e. [EncoderCount] * EncoderToMMConversion = Distance (mm))
NbrOfPointsToLinearFitDINTFor future use
NbrOfPointsToAverageDINTThe number of points to use to calculate a running average of the encoder data. Useful for noisy conveyor data.
LagOffsetREALAn offset in mm along the x direction of the conveyor. This can be used to offset a constant error along the conveyor.
NbrOfPartsInPatternDINTFor future use
PartPatternARRAY[0..15] OF DINTFor future use
PatternPositionDINTFor future use

Details

ConveyorName_LEN

DINT

Stringlength for platform compatibility

ConveyorName

STRING[82]

User-defined Name of the conveyor

IsActive

BOOL

Determines whether this conveyor is active.

Note: this must be set to 1 for conveyor tracking to work.

In addition, all conveyors not being used must be set to 0 or unexpected behaviors may occur.

Padding

ARRAY[0..2] OF BOOL

Placeholder for platform compatibility

ControllerIndex

DINT

If using multiple MotoLogix systems, use this value to point to the correct controller.

If using one MotoLogix system, this should always be set to 0.

ConveyorPosition

REAL

Feedback conveyor position in mm.

Note: this value is for reading only - modifying this value will have no effect.

ConveyorStartPosition

ARRAY[0..3] OF REAL

This is the position in mm at which point the system will initialize conveyor tracking operations.

ConveyorTeachPosition

ARRAY[0..3] OF REAL

This is the position in mm where the teach points for the following motion commands were taught.

MaxStartPosition

ARRAY[0..3] OF REAL

This is the position in mm at which point the system will ignore the part. In that case the part is considered to far on the conveyor for the robot to complete its trajectory.

If ConveyorPosition is greater than MaxStartDistance when an MLxConveyorSyncStart command is issued, the function block will return an error.

UserFrameNumber

DINT

User frame number attached to conveyor.

This value is for information only - the active UF must be set in application before starting tracking.

ConveyorType

DINT

For future use

EncoderToMMConversion

REAL

The mm per encoder count. i.e. [EncoderCount] * EncoderToMMConversion = Distance (mm)

NbrOfPointsToLinearFit

DINT

For future use

NbrOfPointsToAverage

DINT

The number of points to use to calculate a running average of the encoder data. This is used in the robot controller for filtering the continuous flow of offset data. Useful for noisy conveyor data.

Start with value 50 then modify it following the application needs.

Lowering this parameter value results in more aggressive motion with less overshoot but can result in robot alarms.

LagOffset

REAL

An offset in mm along the X direction of the conveyor. This can be used to offset a constant error along the conveyor.

NbrOfPartsInPattern

DINT

For future use

PartPattern

ARRAY[0..15] OF DINT

For future use

PatternPosition

DINT

For future use

Pages built with Hugo - 04 Oct 2024 15:36 CEST