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
bEnableBOOLTrack positions while
TRUEbClearBOOLClear output track
dXLREALActual position to be added to the track.
dYLREALdZLREALudiNumberOfPointsInArrayUDINT0
Number of points which are declared in
pBufferof the referred array.pBufferPOINTER TO VisuStruct3DPathPoint
Pointer to the allocated array of points.
Output
vs3dtVisuStruct3DTrackTrack output. To be setup as input of the visu element
Path3D.