CurrentWFOIndex: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 7: | Line 7: | ||
etc.}} | etc.}} | ||
==Notes== | ==Notes== | ||
This command is NOT a substitute for [[OpWFOIndex#]], [[PartWFOIndex#]] or [[PartStationWFOIndex#]].<br> | This command is NOT a substitute for [[OpWFOIndex#]], [[PartWFOIndex#]] or [[PartStationWFOIndex#]].<br><br> | ||
The commands that update the cached index value are the ones explicitly applying/outputting a WFO, such as: [[OpWFOCode]], [[PartWFOCode]] or [[PartStationWFOCode]].<br> | The commands that update the cached index value are the ones explicitly applying/outputting a WFO, such as: [[OpWFOCode]], [[PartWFOCode]] or [[PartStationWFOCode]].<br><br> | ||
See also [[InvalidateWFO]] to reset the cached index value to 'none' | See also: [[InvalidateWFO]] (to reset the cached index value to 'none', i.e. -1).<br> | ||
{{Stats|id=577|type=Number|class=All Machines|scope=|version=26.1.5}} | {{Stats|id=577|type=Number|class=All Machines|scope=|version=26.1.5}} | ||
Revision as of 22:20, 7 May 2026
CurrentWFOIndex#
Description
Returns the (zero-based) WFO index currently cached in the prog's memory. It corresponds to the index of the WFO last output by the prog.
For example:
- -1 (no workfixture applied or output yet),
- 0 (if for instance workfixture "G54" was output),
- 1 (if for instance workfixture "G55" was output),
etc.
Notes
This command is NOT a substitute for OpWFOIndex#, PartWFOIndex# or PartStationWFOIndex#.
The commands that update the cached index value are the ones explicitly applying/outputting a WFO, such as: OpWFOCode, PartWFOCode or PartStationWFOCode.
See also: InvalidateWFO (to reset the cached index value to 'none', i.e. -1).
Stats
ID 577 Type Number Class All Machines Min Version 26.1.5