Deleting and removing coordinate system links (#CS DEL)

Syntax of Deleting and removing a CS stack:

#CS DEL

When #CS DEL is programmed, the topmost CS in a CS stack is always deleted. When an active CS (#CS SELECT) is deleted, the new topmost CS automatically becomes the active CS.

Delete a CS with #CS DEL
Delete a CS with #CS DEL

A CS stack can be deleted either steop by step with #CS DEL or in one step with:

#CS DEL ALL

This command deletes all CS’s. Any MCS present becomes the active CS.

Delete all CS’s with # CS DEL ALL
Delete all CS’s with # CS DEL ALL

Programing Example

prg_example

Delete with #CS DEL and #CS DEL ALL based on a CS stack with subordinate MCS.

:

N10 #CS ADD [ICS] [10,10,0,0,0,45]

N20 #CS ADD [WCS] [15,20,0,0,0,0]

N30 #CS ADD [PCS] [10,15,0,0,0,5]

:

N60 #CS SELECT [WCS]   ;Active CS link MCS-ICS-WCS

:

N80 #CS DEL       ;Delete PCS; WCS becomes topmost CS

                  ;Active CS link MCS-ICS-WCS

N90 #CS DEL       ;Delete WCS; active CS link MCS-ICS

:

or alternatively

N80 #CS DEL ALL   ;Delete all CS’s, MCS becomes topmost active CS

:

Nxx M30