EasyManuals Logo

Omron CX-Supervisor Getting Started Guide

Omron CX-Supervisor
46 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 #26 background imageLoading...
Page #26 background image
Coffee Machine scenario SECTION 3 Advanced Tutorial
25
3-1-5-1 Opening and closing the machine:
1, 2, 3… 1. Open the page called open.
2. Select the door lock object on the bottom left.
3. From the toolbar, click the button, or from Utilities menu, select
Animation Editor.
4. Add an animation for Display Page and select the page to be opened as
Main. Note that because the pages were defined as Replace, when one
page opens it automatically closes the pages underneath.
5. Repeat for the door lock on the page called Main to open the page called
Open.
3-1-5-2 Inserting the coin:
1, 2, 3… 1. Open the page called main.
2. Select the coin and add an animation for Execute Script with the script
code "credit = 1" to acknowledge that money has been entered.
3. Also add an animation for Visibility controlled by the value of credit.
Remember the coin should be visible while credit is false, or should be
invisible when credit is true or "credit == 1".
3-1-5-3 Updating displays, and pouring coffee:
1, 2, 3… 1. Select the main display object.
2. Add a Display Value (Text) animation to with an expression displaytext.
3. Add a Display Value (Analogue) animation to the 2 digit display with an
expression selection
4. Add a Resize (Height) animation to coffee liquid object with an expression
time_counter to simulate the pouring. Minimum and Maximum should be
0 and 50 respectively.
3-1-5-4 Displaying storage levels:
1, 2, 3… 1. Open the page called open.
credit Boolean TRUE when coin inserted
into the machine
displaytext Text **************** Top line of machine display
milk_level Integer 2000 Total level of stored milk
selection Integer 2000 Number of selection made
sugar_level Integer 2000 Total level of stored sugar
tea_level Integer 2000 Total level of stored tea
time_counter Integer 2000 Control pouring of drink
water_level Integer 2000 Total level of stored water
Point name Point type Default Value Description (optional)
Note: if this animation is not available then the object may not have been
originally created as a Text Object type.

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals