Associating Points with Actions and Events
SECTION 9 Animation
125
SECTION 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.
9-1
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 button 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.
9-2
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.
To open the Animation Editor, click the
button.
Summary of Contents for CX-Supervisor
Page 1: ...CX Supervisor Software Cat No W10E EN 01 User Manual Software Release 3 1...
Page 3: ...Copyright Notice 2...
Page 16: ...15...
Page 17: ...16...
Page 27: ...Tip of the Day SECTION 1 Graphics Editor 26...
Page 35: ...CX Supervisor Preferences SECTION 2 Pages 34...
Page 79: ...Responding to Events SECTION 5 ActiveX Objects 78...
Page 115: ...Printing the Graphics Library SECTION 7 Graphics Library 114...
Page 181: ...Data Logging SECTION 11 Data Logging 180...
Page 201: ...Examples SECTION 12 Databases 200...
Page 243: ...Performance Monitor SECTION 16 Application Analysis Performance Monitor 242...
Page 253: ...Using with Omron s CX Server OPC SECTION 17 Using CX Supervisor as an OPC Cli 252...
Page 259: ...Creating a CX Supervisor Client application SECTION 18 Connecting to a remote CX 258...
Page 263: ...Adding a Point Linked to a Parameter SECTION 19 Connecting to Omron Industrial 262...
Page 271: ...Data Logging SECTION 20 Best Practices 270...
Page 275: ...Configuring a Server PC running Windows NT or 2000 Appendix A Configuring a PC 274...
Page 277: ...Appendix B Frequently Asked Questions 276...
Page 296: ...Appendix B Frequently Asked Questions 295...
Page 297: ...Appendix B Frequently Asked Questions 296...
Page 298: ...Appendix B Frequently Asked Questions 297...
Page 299: ...Appendix B Frequently Asked Questions 298...
Page 333: ...Revision history 332...