EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 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 #49 background imageLoading...
Page #49 background image
Object Commands SECTION 6 Functions and Methods
48
Typical Examples
blink (red, TRUE)
Start blinking red.
LINE_1.blink(OxFFFFOO, status)
The object LINE_1 starts or stops blinking yellow depending on value of
Boolean point 'status'.
6-1-4 Colour
Syntax
objectname.colour (expression, context)
colour (expression, context)
or
objectname.colour (colourID, context)
colour (colourID, context)
An equals sign may be used as an alternative to
brackets:
objectname.colour = expression
colour = expression
or
objectname.colour = colourID
colour = expression
Either spelling 'colour' or 'color' is acceptable.
Remarks
colour Colour to blink to. Some colour values within the colour
palette have a meaningful colourID. This takes the form
of the colour name, e.g., 'black' or 'yellow'. Alternatively,
an integer value of 0x1000000 can be added to a
number 0-65 to select a palette entry.
status This argument may be omitted. May be on of:
TRUE - turn blinking On.
FALSE - turn blinking Off.
If omitted, TRUE is assumed.
Argument Description
Note: An equals sign may also be used for most other object commands, even if it is
not directly specified in this manual.
Argument Description
objectname This is the name of the object. Where a script is directly
attached to an object, objectname is not required.
expression The expression may be an Integer point, or a calculation
of constants and/or points that produce an Integer value
between 0 and 16777215. This is the desired colour's
RGB value. (format is 0xBBGGRR).
colourID Some colour values within the colour palette have a
meaningful colourID. This takes the form of the colour
name, e.g., 'black' or 'yellow'. Alternatively, an integer
value of 0x1000000 can be added to a number 0-65 to
select a palette entry.

Table of Contents

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