Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC On-line Command Specification 394
The coordinate system must be in a proper condition in order for Turbo PMAC to accept this command.
Otherwise Turbo PMAC will reject this command with an error; if I6 is 1 or 3, it will report the error
number. The same conditions that cause Turbo PMAC to reject an R command will cause it to reject an S
command; refer to those conditions under the R command specification.
Example:
&3B20S ; C.S.3 point to beginning of PROG 20 and step
P1 ; Ask for value of P1
1 ; Turbo PMAC responds
S ; Do next step in program
P1 ; Ask for value of P1 again
-3472563 ; Turbo PMAC responds --probable problem
See Also:
Control Panel Port STEP/ Input (Connecting Turbo PMAC to the Machine)
Running a Motion Program (Writing and Executing Motion Programs)
I-variable I6, Isx53
On-line commands <CTRL-S>, A, H, Q, R, /, \
Program commands {axis}{data}, BLOCKSTART, BLOCKSTOP, DWELL, DELAY
SAVE
Function: Copy setup parameters to non-volatile memory.
Scope: Global
Syntax: SAVE
This command causes Turbo PMAC to copy setup information from active memory to non-volatile
memory, so this information can be retained through power-down or reset.
All user setup information, including programs, buffers, and definitions, is copied to flash memory with
the SAVE command. This information is copied back from flash to active memory during a normal
power-up/reset operation. This means that anything changed in Turbo PMAC’s active memory that is not
saved to flash memory will be lost in a power-on/reset cycle.
The retrieval of information from non-volatile memory on power-up/reset can be inhibited by a jumper on
E51 for a Turbo PMAC, or on E3 for a Turbo PMAC2.
Note:
Turbo PMAC does not provide the acknowledging handshake character to the
SAVE command until it has finished the saving operation, about one to two
seconds. The host program should be prepared to wait much longer for this
character than is necessary on most commands. Usually for this reason, it is not a
good idea to include the SAVE command as part of a dump download of a large
file.
Note:
During execution of the SAVE command, Turbo PMAC will execute no other
background tasks, including user PLCs and automatic safety checks, such as
following error and overtravel limits. Make sure the system is not depending on
these tasks for safety when the SAVE command is issued.
Example:
I130=60000 ; Set Motor 1 proportional gain
SAVE ; Save to non-volatile memory
I130=80000 ; Set new value
$$$ ; Reset card