User's Manual
Table Of Contents
- Contents
- Overview
- Controller Notation
- Servo and Stepper Motor Notation:
- Command Descriptions
- Servo Update Rates
- Commands which are not Allowed when Operating in Fast Mode:
- #
- $
- & |
- ( )
- ;
- [ ]
- + - * /
- <, >, =, <=, >=, <>
- =
- AB
- @ABS[n]
- AC
- @ACOS[n]
- AD
- AF
- AI
- AL
- AM
- @AN[n]
- AO
- AP
- AR
- AS
- @ASIN[n]
- AT
- @ATAN[n]
- #AUTO
- #AUTOERR
- AV
- BA
- BB
- BC
- BD
- BG
- BI
- BK
- BL
- BM
- BN
- BO
- BP
- BS
- BV
- BZ
- CB
- CC
- CD
- CE
- CF
- CI
- CM
- #CMDERR
- CN
- CO
- @COM[n]
- #COMINT
- @COS[n]
- CR
- CS
- CW
- DA
- DC
- DE
- DL
- DM
- DP
- DT
- DV
- EA
- EB
- EC
- ED
- EG
- EI
- ELSE
- EM
- EN
- ENDIF
- EO
- EP
- EQ
- ER
- ES
- ET
- FA
- FE
- FI
- FL
- @FRAC[n]
- FV
- GA
- GN
- GM
- GR
- HM
- HX
- IA
- IF
- IH
- II
- IL
- IN
- @IN[n]
- #ININT
- @INT[n]
- IP
- IT
- IV
- JG
- JP
- JS
- KD
- KI
- KP
- KS
- LA
- LE
- _LF*
- LI
- #LIMSWI
- LL
- LM
- _LR*
- LS
- LV
- LZ
- MB
- MC
- #MCTIME
- MF
- MG
- MO
- MR
- MT
- NB
- NF
- NO
- NZ
- OB
- OC
- OE
- OF
- OP
- @OUT[n]
- P1CD P2CD
- P1CH P2CH
- P1NM P2NM
- P1ST P2ST
- #POSERR
- PA
- PF
- PR
- QD
- QR
- QU
- QZ
- RA
- RC
- RD
- RE
- REM
- RI
- RL
- @RND[n]
- RP
- RS
-
R S -
R V - SA
- SA n
- SB
- SC
- SH
- @SIN[n]
- SL
- SP
- @SQR[n]
- ST
- @TAN[n]
- TB
- TC
- #TCPERR
- TD
- TE
- TH
- TI
- TIME*
- TL
- TM
- TP
- TR
- TS
- TT
- TV
- TW
- UI
- UL
- VA
- VD
- VE
- VF
- VM
- VP
- VR
- VS
- VT
- WC
- WH
- WT
- XQ
- ZR
- ZS
- Index

170 ● RE DMC-1400 Series Command Reference
RE
FUNCTION: Return from Error Routine
DESCRIPTION:
The RE command is used to end a position error handling subroutine or limit switch handling
subroutine. The error handling subroutine begins with the #POSERR label. The limit
switch handling subroutine begins with the #LIMSWI. An RE at the end of these
routines causes a return to the main program. Care should be taken to be sure the error or
limit switch conditions no longer occur to avoid re-entering the subroutines. If the
program sequencer was waiting for a trippoint to occur, prior to the error interrupt, the
trippoint condition is preserved on the return to the program if RE1 is used. RE0 clears
the trippoint. To avoid returning to the main program on an interrupt, use the ZS
command to zero the subroutine stack. No RE needed after ZS.
ARGUMENTS: RE n where
n = 0 or 1
0 clears the interrupted trippoint
1 restores state of trippoint
USAGE:
While Moving No Default Value 0
In a Program Yes Default Format ---
Command Line No
Can be Interrogated No
Used as an Operand No
Controller Usage
ALL
RELATED COMMANDS:
#POSERR Error Subroutine
#LIMSWI Limit Subroutine
EXAMPLES:
#A;JP #A;EN Label for main program
#POSERR Begin Error Handling Subroutine
MG "ERROR" Print message
SB1 Set output bit 1
RE Return to main program and clear trippoint
HINT: An applications program must be executing for the #LIMSWI and #POSERR subroutines to
function.