EasyManuals Logo

Omron TJ1-MC04 - PROGRAMMING 1 User Manual

Omron TJ1-MC04 - PROGRAMMING 1
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #281 background imageLoading...
Page #281 background image
Examples and tips
PROGRAMMING MANUAL 281
Revision 3.0
IF (AXISSTATUS AXIS(0) AND 4)<>0 THEN
alarm_status=4
ELSEIF (AXISSTATUS AXIS(1) AND 4)<>0 THEN
alarm_status=4
ELSEIF (AXISSTATUS AXIS(1) AND 4)<>0 THEN
alarm_status=4
ELSE
'Checking for Axis error
alarm_status=ERROR_AXIS+1
ENDIF
ELSE
project_status=1
ENDIF
GOSUB stop_all
GOSUB reset_all
GOSUB start_application
RETURN
stop_all:
'STOP THE PROGRAMS
STOP "APPLICATION"
'STOP THE AXES
FOR i= 0 TO max_axis
BASE(i)
CANCEL(1) 'Cancel NTYPE
WA(1)
CANCEL(1) 'Cancel possible program buffer
CANCEL 'Cancel MTYPE
NEXT i
'Release Run command in the servos
WDOG=0
'Open the position loop
FOR i= 0 TO max_axis
BASE(i)
WAIT IDLE
SERVO=0
NEXT i
RETURN
I52E-EN-03.book Seite 281 Freitag, 29. Juni 2007 11:55 11

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron TJ1-MC04 - PROGRAMMING 1 and is the answer not in the manual?

Omron TJ1-MC04 - PROGRAMMING 1 Specifications

General IconGeneral
BrandOmron
ModelTJ1-MC04 - PROGRAMMING 1
CategoryController
LanguageEnglish

Related product manuals