EasyManuals Logo

Omron TJ2-MC64 - PROGRAMMING User Manual

Omron TJ2-MC64 - PROGRAMMING
362 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 #312 background imageLoading...
Page #312 background image
Examples and tips
PROGRAMMING MANUAL 306
Revision 1.0
5.2 Practical examples
5.2.1 SHELL programs and Trajexia Studio
fig. 47
Trajexia Studio helps the user to create a proper SHELL program.
When a new project is created, a SHELL program with the basic structure is
created automatically (see 5.1.1).
When you define the hardware and set the parameters for the application,
you can select to add your changes to the SHELL program so, the user do
not have to type it manually.
Use the example SHELL program as a template to start, stop and reset your
machine and adjust the rest of the SHELL program according to the
requirements.
The SHELL program is automatically selected to start at POWER-ON in low-
priority task 1.
Example
The example program below is a typical SHELL program created by Trajexia
Studio.
'========================================================
'This SHELL program is an example that OMRON provide as
'recommended. This program should be modified for the
'particular user application.
'========================================================
'Reserved symbol area for SHELL program handling.
'Do not use these areas in your application programs:
'VR(900) - "status_word" reports about the status of the
'system
' =0 during initialization
' =1 application stopped with no error
' =2 errors in the system
Stop Application
programs and
movements
loop
YesNo
Stop
Application
programs
and
movements
System initialization
Other monitoring
Start
Application
programs
Reset
sequence
Update of status
GLOBAL &
CONSTANTdefinition
Alarm?
Yes
No
Start?
Yes
No
Stop
Application
programs
and
movements
Stop?
Yes
No
Stopped?
Yes
No
Reset?

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron TJ2-MC64 - PROGRAMMING and is the answer not in the manual?

Omron TJ2-MC64 - PROGRAMMING Specifications

General IconGeneral
BrandOmron
ModelTJ2-MC64 - PROGRAMMING
CategoryController
LanguageEnglish

Related product manuals