====== Command:SAVEPOS (SP) ======
--> MS2000 or RM2000 syntax ^
^Shortcut |SP |
^Format |SP [X=inhibit]|
^Units |0 or 1 only|
^Remembered |Using SS Z |
<--
--> Tiger syntax ^
^Shortcut |SP |
^Format |[addr#]SP [X=inhibit]|
^Units |0 or 1 only|
^Type |Card-Addressed|
^Remembered |Using [addr#]SS Z |
<--
The axis positions and soft limit locations are usually automatically saved when power is turned off. If this action is not desired, setting inhibit=1 will prevent power down saves. (Default is ''inhibit = 0'') If the command is given without argument, a save position shutdown will be initiated whereby the axes will be halted, positions saved to flash memory, and the controller placed in a non-responsive condition until power is cycled.
== Reply ==
Upon the start of execution of this command, the controller will reply with a : . When the execution is complete, an A will follow the colon. When a power down condition is detected, an O is transmitted. After the positions are successfully saved, a K is sent.
**Note 1:** During the time interval between the : and the A , no serial or manual moves should be given.
**Note 2:** In MS2000 Versions 6.1u and later (see ''VERSION'' command), limit settings (see'' SETLOW'' and ''SETUP'') are saved if and only if the ''SAVEPOS'' command is issued after the command ''SAVESET Z''.
**Note 3:** OK is not transmitted in TG-1000
{{tag>commands tiger ms2000}}