Examples And Tips; How-To's - Omron TJ2-MC64 - PROGRAMMING Programming Manual

Hide thumbs Also See for TJ2-MC64 - PROGRAMMING:
Table of Contents

Advertisement

Examples and tips

5
Examples and tips
This chapter gives 2 categories of examples and tips:

How-to's.

Practical examples.
5.1
How-to's
5.1.1
Startup program
The purpose of this program is to compare the detected MECHATROLINK-II
configuration with the expected one (the expected configuration is the
configuration existing in the moment you create the program).
The SHELL program does these actions:
Checks the number of nodes in the system.
Checks that the node numbers agrees.
Checks if all devices are connected and have power.
Any non agreement, the program stops.
Sets the correct ATYPE as selected in the intelligent axis window.
Sets the mode, Run or Commisioning.
How to set a startup program
When you add a new TJ2-MC64 to the solution in Trajexia Studio, 2
programs are created by default: the SHELL program, and an application
program called APPLICATION.
A TJ2-MC64 can execute a program at startup: when the device is switched
on, it executes the program.
You can set the startup priority for a program in Trajexia Studio with the
Priority property in the Properties window. If you click the ellipsis button in
the edit field of this property, the StartUp Priority window shows.
To set the program to run at power up, select the Run at Power Up check
box and select a priority in the list. Possible priority values are Default or 0
(lowest priority) to 21 (highest priority).
To set the program not to run at startup, clear the Run at Power Up check
box.
PROGRAMMING MANUAL
fig. 1
fig. 2
245

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-prtTj1-drtTj1-cortTj1-mlGrt1-ml2Tj1-fl02

Table of Contents