CONVEYOR_DISTANCE
This structure defines the distance and motion configuration for a conveyor system, including speed, distance limits, and tracking thresholds. It is typically used to fine-tune the synchronization between the robot and a moving conveyor.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
Conveyor nominal speed (mm/s for a linear conveyor). |
|
4 |
|
|
Size of moving average filter applied to speed measurement |
|
8 |
|
|
Minimum allowed conveyor distance [mm] (linear conveyor) |
|
12 |
|
|
Watch window distance threshold for object monitoring [mm] (linear conveyor) |
|
16 |
|
|
Maximum allowed conveyor distance [mm] (linear conveyor) |
|
20 |
|
|
Output tracking distance threshold for synchronization [mm] (linear conveyor) |
Total size: 24 bytes
Defined in: DRFS.h
typedef struct _CONVEYOR_DISTANCE
{
/* Conveyor speed (mm/s, linear conveyor) */
float _fSpeed;
/* Speed moving average filter window */
unsigned int _iSpeedFilterSize;
/* Minimum distance (mm) */
float _fMinDistance;
/* Watch window distance (mm) */
float _fWatchWinDist;
/* Maximum distance (mm) */
float _fMaxDistance;
/* Output tracking distance (mm) */
float _fOutTrackingDist;
} CONVEYOR_DISTANCE, *LPCONVEYOR_DISTANCE;