Objects - Omron CX-Supervisor User Manual

Hide thumbs Also See for CX-Supervisor:
Table of Contents

Advertisement

Animation Editor
9-2-4

Objects

128
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
ENDIF
Refer to the Script Language Manual for explicit details regarding the
construction and syntax of script code. 10.3 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.
One object or a selection of objects defined as a group are animated in a
number of ways (refer to chapter 1, Graphics Editor for applicable objects):
An object can be seen to be blinking.
An object can be removed from the page.
An object can change colour.
A value associated with the object can be displayed.
Text associated with the object can be displayed.
An object can appear enabled for selection or disabled for selection.
An object can move horizontally or vertically.
An object can be flood-filled.
An object can change its size, horizontally or vertically.
An object can rotate.
An object can have associated user interaction.
An object can be displayed on the page.
However, it is not feasible for all the objects to be capable of all forms of
animation. For instance, a toggle object can only be animated so that it is
enabled or disabled, visible or invisible, while a text object can be resized,
moved, change its colour, blink, rotate, await user interaction, be made visible
or invisible, or display an associated value. A list of objects and their available
animations is as follows:
SECTION 9 Animation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents