
OMRON
CHAPTER 9 – Animation
Release 2.0
Page 127
CHAPTER 9
Animation
This chapter describes CX-Supervisor animation and the procedures associated with the creation of a
project animation, page animation and object animation, using the Animation Editing facility. The
active use of points and how points dictate animations is also described.
Associating Points with Actions and Events
CX-Supervisor provides a facility to greatly enhance the versatility of a runtime application by the
use of actions and animations to execute commands and logical expressions based on specified
criteria being met. This can take many forms, for instance pressing a button, opening or closing a
page or changes in the positioning of objects on a page.
CX-Supervisor achieves this enhanced functionality in two ways: by assigning an expression to a pre-
defined action, or executing commands on a linear basis as a basic programming language. In
addition, such functionality can be carried out on three levels: object, page, or project, with different
objectives at each level.
Animations are actioned using the values or states of one or more points. For example, an integer
point is assigned to an object, the colour of the object is black when the value of the point is “0”. The
system causes the value of the point to be changed to the value “5”, which changes the colour of the
object to red.
To demonstrate, an object’s colour can be changed in the runtime environment from black to white.
This can be achieved using actions and animations in the two ways described, with the additional use
of points. Firstly, using a pre-defined action, the object can be associated with the ‘Change Colour’
pre-defined action (runtime action). When a Boolean point’s value is “0” the colour is black, when
the point’s value is “1” the colour is white. The same result can be achieved using the basic
programming language (script). This time, a single command can change the colour from black to
white. Finally, either instance can be initiated by the user in the runtime environment, e.g. the user
presses a pushbutton to change the object’s colour.
This is a simple example, but underlines how quickly and smoothly a runtime application can be
built. This chapter elaborates on all forms of actions and animations that can be applied to CX-
Supervisor in the development environment. Also refer to the
CX-Supervisor Script Language
Reference Manual
for further syntax details for the application of actions and animations.
Animation Editor
Actions and animations are created on a project, page or object basis using the Animation Editor.
To use the Animation Editor, CX-Supervisor must currently have a project open. If no project is
currently open, select
Open
from the
Project
menu to open a previously saved project, or select
New
from the
Project
menu to create a new project.
Summary of Contents for CX-SUPERVISOR - V2.0
Page 2: ...CX Supervisor User Manual Software Release 2 0...
Page 3: ......
Page 5: ...CX Supervisor User Manual OMRON Page ii Revision 2 0...
Page 7: ...CX Supervisor User Manual OMRON Page iv Revision 2 0...
Page 11: ...CX Supervisor User Manual OMRON Page viii Revision 2 0...
Page 13: ...CX Supervisor User Manual OMRON Page x Revision 2 0...
Page 15: ...CX Supervisor User Manual OMRON Page xii Revision 2 0...
Page 17: ...CX Supervisor User Manual OMRON Page xiv Revision 2 0...
Page 19: ...CX Supervisor User Manual OMRON Page xvi Revision 2 0...
Page 21: ...CX Supervisor User Manual OMRON Page xviii Revision 2 0...
Page 23: ......
Page 67: ......
Page 97: ......
Page 137: ...CHAPTER 7 Graphics Library OMRON Page 114 Release 2 0...
Page 183: ...CHAPTER 9 Animation OMRON Page 160 Release 2 0...
Page 215: ......
Page 263: ......
Page 269: ......
Page 274: ...OMRON CHAPTER 16 Connecting to Omron Industrial Components Release 2 0 Page 251...
Page 275: ......
Page 285: ......
Page 319: ......
Page 331: ......
Page 351: ......
Page 359: ...GLOSSARY OF TERMS CX Supervisor User Manual OMRON Page 336 Release 2 0...