EasyManuals Logo

Omron CX-SUPERVISOR - V2.0 User Manual

Omron CX-SUPERVISOR - V2.0
370 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 #153 background imageLoading...
Page #153 background image
CHAPTER 9 – Animation OMRON
Page 130 Release 2.0
Refer to the Script Language Manual for explicit details regarding the construction and syntax of
script code. Chapter 10, Runtime Actions describes the creation of script code using the Script
Editor.
The script is defined using the Execute Script entry in the Animation Editor list.
Page
Page scripts are concerned with manipulating points and graphical objects that are used or included
within that page. Actions cannot refer to graphical objects that appear in other pages. In other words,
page scripts are used to drive a number of actions on the occurrence of a particular event. An
example of page script code is as follows:
REM ** move the car and transport **
IF start THEN
Position = position – speed
ENFIF
REM ** if the car is at the start then reset the **
REM ** position and reset the car colour **
IF position < 0THEN
position = 800
POLYGON_11.colour = dark_grey
ENDIF
REM setup the paint spray colour **
IF position < 300 || position > 400 && changepaint THEN
IF paintblue THEN
POLYGON_34.colour = dark_blue
ENDIF
IF paint green THEN
POLYGON_34.colour = Dark_green
ENDIF
IF paintred THEN
POLYGON_34.colour = red
ENDIF
IF paintpurple THEN
POLYGON_34.colour = purple
ENDIF
IF paintyellow THEN
POLYGON_34.colour = yellow
ENDIF
IF paintwhite THEN
POLYGON_34.colour = white
ENDIF

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-SUPERVISOR - V2.0 and is the answer not in the manual?

Omron CX-SUPERVISOR - V2.0 Specifications

General IconGeneral
BrandOmron
ModelCX-SUPERVISOR - V2.0
CategorySoftware
LanguageEnglish

Related product manuals