SMC_PositionTracker (FB)ΒΆ
FUNCTION_BLOCK SMC_PositionTracker
This function block SMC_PositionTracker is designed to store
positions and make it available to Path3D elements as a track.
As long as bEnable is TRUE, the position is stored. bClear
deletes the buffer. dX, dY, and dZ are containing the
coordinates, which should be stored.
This function block is designed to record the actual track.
The visualization element Path3D is designed to show both the ideal path
and the actual track.
- InOut:
- Scope - Name - Type - Initial - Comment - Input - bEnable- BOOL- Track positions while - TRUE- bClear- BOOL- Clear output track - dX- LREAL- Actual position to be added to the track. - dY- LREAL- dZ- LREAL- udiNumberOfPointsInArray- UDINT- 0 - Number of points which are declared in - pBufferof the referred array.- pBuffer- POINTER TO VisuStruct3DPathPoint - Pointer to the allocated array of points. - Output - vs3dt- VisuStruct3DTrack- Track output. To be setup as input of the visu element - Path3D.