CHAPTER 6 – Functions and Methods
Vertical Fill
Syntax
objectname.vertical%fill (expression, context)
Remarks
Argument
objectname
expression
context
Typical Examples
vertical%fill (50)
The current object to which this example applies is filled by 50%.
ELLIPSE_1.vertical%fill (OIL_QUANTITY, @DOWN)
The object 'ELLIPSE_1' is filled provided the point 'OIL QUANTITY' returns a valid result,
between 0 and 100.
Visible
Syntax
objectname.visible (expression)
Remarks
Argument
objectname
expression
Typical Examples
visible (TRUE)
The current object to which this example applies becomes visible.
POLYLINE_8.visible (count AND flag)
Page 46
This is the name of the object. Where a script is directly attached to an
object, objectname is not required.
This is an arithmetic expression that must return a value between 0 and 100.
On return of a valid result, the fill commences from bottom to top.
This argument may be omitted. May be one of:
@DOWN – Fill object downwards
@UP – Fill object upwards
If omitted, @UP is assumed
This is the name of the object. Where a script is directly attached to an
object, objectname is not required.
The expression can be made up of points resulting in 'TRUE' or 'FALSE'.
Description
Description
OMRON
Revision 2.0
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?