Interface IBlockSkipConfig
- Namespace
- Hi.NcParsers.Dependencys
- Assembly
- HiMech.dll
Runtime state of the controller's Block Delete / Block Skip switches.
Present in NcDependencyList exposes this to
the runner so that blocks whose head carries / or /N
(parsed by BlockSkipSyntax into
BlockSkip) are skipped at semantic time.
Layers are 1..9; Layer 1 corresponds to the bare / prefix.
Controllers (Fanuc / Syntec / Mazak / Siemens) let each layer be
toggled independently via panel switches or system parameters.
When this dependency is absent from
NcDependencyList, no block is skipped
(safest default: simulate the full machining). The syntax still
consumes the / prefix so no UnparsedText--Remaining
diagnostic is produced.
public interface IBlockSkipConfig : INcDependency, IMakeXmlSource
- Inherited Members
- Extension Methods
Methods
IsLayerEnabled(int)
Returns true when blocks tagged with this layer should be skipped (controller switch ON).
bool IsLayerEnabled(int layer)
Parameters
layerintSkip layer, 1..9. Bare
/is layer 1.
Returns
SetLayerEnabled(int, bool)
Enables / disables a specific skip layer.
void SetLayerEnabled(int layer, bool enabled)