Interface IPowerResettable
- Namespace
- Hi.NcParsers.Dependencys
- Assembly
- HiMech.dll
Marks an INcDependency that holds volatile state which must be cleared when the controller performs a power reset (power off then on).
Implementers should clear only the volatile subset they own (e.g. Fanuc common volatile
macro variables #100-#499), and leave persistent state untouched
(e.g. #500-#999, controller parameters).
Call-frame local state (Fanuc #1-#33, Heidenhain Q200-Q1199) is NOT in scope —
that lives in the SyntaxPiece JSON dataflow and is bounded by call activation, not power cycle.
public interface IPowerResettable : INcDependency, IMakeXmlSource
- Inherited Members
- Extension Methods
Methods
OnPowerReset()
Clears the volatile subset owned by this dependency. Called by
SessionShell.PowerReset() for every IPowerResettable in
the active NcDependencyList.
void OnPowerReset()