IMS 17 Operating Instructions Manual page 59

Motion control
Table of Contents

Advertisement

MNEMONIC
RS
DESCRIPTION
This instruction is used to resume a program that has been paused using the PS instruction.
USAGE
RS
EXAMPLE:
RS
RELATED COMMANDS: PS
MNEMONIC
RT
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
100
MR 51200
105
H
109
CL 238
238
O1=1
241
RT
RELATED COMMANDS: CL
MNEMONIC
S
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: —
FUNCTION
Resume Program Instruction
FUNCTION
Return From Subroutine
'enter program mode at address 100
'move relative 51200
'suspend prog. execution until motion completes
'Call subroutine at address 238
'set output 1 to 1
'return from subroutine
FUNCTION
Save to EEProm
TYPE
Instruction
TYPE
Instruction
TYPE
Instruction
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Excellence in motion mdrive17

Table of Contents