CHAPTER 6 – Functions and Methods
OMRON
Page 38
Revision 2.0
Function Name
Function Type
Type
Remarks
WriteMessage
file command
All
Writes text to an external file.
The ‘Type’ column refers to the types of script and expression the function can be applied to. ‘All’
refers to both expressions and scripts. ‘Scr’ refers to scripts only. ‘OP’ refers to Object and Page
scripts only.
Object Commands
Object commands control native CX-Supervisor graphical objects, like rectangles or lines.
Note:
Objects are native to CX-Supervisor and therefore cannot be accessed or commands
issued from external script languages, like VBScript or Jscript.
Current Object
Syntax
objectcommand
Remarks
Argument Description
objectcommand
•
The expression can be made up of the following commands, which are
also described in
chapter 6, Object Commands:
•
Colour command.
•
Disable command.
•
Visible command.
•
Move command.
•
Rotate command.
•
Vertical fill command.
•
Horizontal fill command.
•
Height command.
•
Width command.
The content of the commands are made up of arithmetical or logical
expressions,
x
and
y
co-ordinates, or references, varying between commands.
The colour command requires a colour identifier.
Typical Example
colour (red)
The current object is specified as red in colour.
Содержание CX-SUPERVISOR - SCRIPT REFERENCE REV2.0
Страница 2: ...CX Supervisor Script Language Software Revision 2 0...
Страница 3: ......
Страница 5: ...CX Supervisor Script Language OMRON Page ii Revision 2 0...
Страница 7: ...CX Supervisor Script Language OMRON Page iv Revision 2 0...
Страница 9: ...CX Supervisor Script Language OMRON Page vi Revision 2 0...
Страница 13: ......
Страница 15: ...CHAPTER 1 Introduction OMRON Page 2 Revision 2 0...
Страница 19: ...CHAPTER 2 Expressions OMRON Page 6 Revision 2 0...
Страница 21: ...CHAPTER 3 Scripts OMRON Page 8 Revision 2 0...
Страница 151: ...CHAPTER 8 Colour Palette OMRON Page 138 Revision 2 0...