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
Changes
ConveyorStartPositionandConveyorTeachPositionno longer set byMLxRobotConvSyncStartinputs
show full history
0.1.0
Changes
- source code ported
- version number reset
- now using semantic versioning
Overview
| name | type | default | comment |
|---|---|---|---|
| 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 | If ConveyorPosition is greater than MaxStartDistance when an MLxConveyorSyncStart command is issued, the AOI 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. Useful for noisy conveyor data. | |
| 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 |
Details
ConveyorName_LEN
DINTStringlength for platform compatibility
ConveyorName
STRING[82]User-defined Name of the conveyor
IsActive
BOOLDetermines 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 BOOLPlaceholder for platform compatibility
ControllerIndex
DINTIf 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
REALFeedback conveyor position in mm.
Note: this value is for reading only - modifying this value will have no effect.
ConveyorStartPosition
ARRAY[0..3] OF REALThis is the position in mm at which point the system will initialize conveyor tracking operations.
ConveyorTeachPosition
ARRAY[0..3] OF REALThis is the position in mm where the teach points for the following motion commands were taught.
MaxStartPosition
ARRAY[0..3] OF REALThis 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
DINTUser frame number attached to conveyor.
This value is for information only - the active UF must be set in application before starting tracking.
ConveyorType
DINTFor future use
EncoderToMMConversion
REALThe mm per encoder count. i.e. [EncoderCount] * EncoderToMMConversion = Distance (mm)
NbrOfPointsToLinearFit
DINTFor future use
NbrOfPointsToAverage
DINTThe 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
REALAn offset in mm along the X direction of the conveyor. This can be used to offset a constant error along the conveyor.
NbrOfPartsInPattern
DINTFor future use
PartPattern
ARRAY[0..15] OF DINTFor future use
PatternPosition
DINTFor future use