Difference between revisions of "MC-Basic:RESET"
m (Miborich moved page Axystems:MC-Basic:RESET to MC-Basic:RESET: Global renaming of Axystems: namespace into (Main):) |
|||
Line 43: | Line 43: | ||
* [[MC-Basic:DELETEVAR|DELETEVAR]] | * [[MC-Basic:DELETEVAR|DELETEVAR]] | ||
− | [[Category | + | [[Category:MC-Basic:Declarations|RESET]] |
}} | }} |
Revision as of 09:14, 22 May 2014
This command deletes system variables and tasks from memory and clears the files from RAM. When variables are being deleted, ALL existing system variables are deleted. It is not possible to choose which variables and tasks to delete. System variables include the regular variables of type Long and Double, as well as the special variables of type Group, CAM, and PLS. The RESET command causes all Groups, Cams and PLSs to be deleted. Deleting tasks kills and unloads each task. After deleting tasks and system variables (RESET ALL), RESET executes the CONFIG.PRG task, and returns the system to the state it was in after power up. The AUTOEXEC.PRG task is not executed.
Syntax
RESET TASKS | ALL
Availability
All versions
Range
TASKS: Delete only tasks from memory
ALL: Delete tasks and system variables
Scope
Terminal
Limitations
Write only. No tasks may be running. No axes or groups may be moving.
Examples
Reset All
Reset Tasks