-

Modal State

The modal state of the system changes the meaning and behavior of the system.

Preserved Across Reboots

Reset During Controller Reboot



See Also

For managing the NC modal state across subprogram and macro calls, a Push and Pop of the NC state is provided. See: G-Code Macro $ System Functions.

Push and Pop commands are expected by the system to be balanced. For example...if a subprogram call has a Push at the top of a file it should be matched with a Pop at the end so the net state is preserved to the outer program.

See Push/Pop Modal: G-Code Macro $ System Functions

 


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.