-

LastExecutedSegmentData Struct

Data from the last executed segment or the segment actively providing motion. Used for troubleshooting or displaying File Line number on the HMI.

NameData TypeDescription
FileLineNumber LINT File Line number of the currently executed G-code
BlockNumber LINT Block Number assigned by G-Code processor
SegmentSpeed LREAL Calculated sub-segment speed
BlockSpeed LREAL Calculated segment
S LREAL S Argument value from the G-code line
TargetPosition VectorArray Sub-segment target position
ModalState GCodeState Segment Modal State

 


This is the latest version of Compass Online help and the content may refer to features not available in previously released versions of Compass.

Copyright © 2026 YASKAWA America, Inc.