57
MNEMONIC
FUNCTION
TYPE
S
Save to EEProm
Instruction
DESCRIPTION
Saves all variables and flags currently in working memory (RAM) to nonvolatile memory (NVM). The previous values in NVM are
completely overwritten with the new values.
When the user modifies variables and flags, they are changed in working memory (RAM) only. If the SAVE instruction is not
executed before power is removed from the control module, all modifications to variables & flags since the last SAVE will be lost.
USAGE
S
RELATED COMMANDS: —
MNEMONIC
FUNCTION
TYPE
RT
Return From Subroutine
Instruction
DESCRIPTION
This instruction defines the end of a subroutine. This instruction is required and will be the final instruction in the subroutine
executed by the CL instruction. When used, it will return to the program address immediately following the CL instruction which
executed the subroutine.
USAGE
RT
EXAMPLE:
‘****Program*****
PG100
‘enter program mode at address 100
100
MR 51200
‘move relative 51200
105
H
‘suspend prog. execution until motion completes
109
CL 238
‘Call subroutine at address 238
238
O1=1
‘set output 1 to 1
241
RT
‘return from subroutine
RELATED COMMANDS: CL
MNEMONIC
FUNCTION
TYPE
RS
Resume Program Instruction
Instruction
DESCRIPTION
This instruction is used to resume a program that has been paused using the PS instruction.
USAGE
RS
EXAMPLE:
RS
RELATED COMMANDS: PS
Summary of Contents for 17
Page 1: ...OPERA TING INSTRUCTIONS T intelligent motion systems inc Excellence in MotionTM TM ...
Page 5: ...3 Part 1 General Information and Hardware Specifications ...
Page 6: ...4 Intentionally Left Blank ...
Page 19: ...17 Part 2 Connecting Configuring and Programming the MDrive Motion Control ...
Page 20: ...18 Intentionally Left Blank ...