Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 193

Script language
Table of Contents

Advertisement

INDEX – Script Language
Programmable Logic Controller · See PLC
Project · 173
Project – Scripts: · 7
Punctuation
Command String Delimiters · 23
Indentation · 24
Multiple Commands · 24
Parenthesis · 25
Quotation Marks · 25
Q
Quotation Marks - Punctuation: · 25
R
Rand - General Commands: · 51
Read - File Commands: · 85
ReadMessage - File Commands: · 85
Recipe · 173
Recipe Commands · 88
DisplayRecipes · 88
DownloadRecipe · 89
Relational Operators - Logic and Arithmetic: · 14
Remarks - Miscellaneous Commands: · 25
Report Commands · 90
GenerateReport · 90
PrintReport · 90
ViewReport · 91
Return - Subroutines: · 23
Right - Text Commands: · 96
Rotate - Object Commands: · 45
RunApplication - General Commands: · 52
RunHelp - General Commands: · 52
Runtime Environment · 173
S
SCADA · 173
Script Editor
AND statement · 168
Applications, use of external · 1
Page 180
Arithmetic functions · 12–15
Conditional statements, nesting · 17–19
Control Statements · 15–22, See also Control
Statements
Current object statement · 38
Examples · 133
Executable files, use of · 1, 158, 170
FALSE Boolean state · 1, 4
Logical functions · 13–14
Mathematical precedence · 11, 12
Multiple statements on one line · 24
Nesting conditional statements · 17–19
NOT statement · 172
Object Commands · 38, See also Object Commands
Operator and operand · 1, 172
OR statement · 172
Parenthesis · 12, 25
Quotation marks · 24
Relational functions · 14–15
Script code examples · 133
Subroutines · 22–23, See also Subroutines
TRUE Boolean state · 1, 4
Script Examples · 133
Balloon Script · 133
Script Interface · 139
Functions · 139, 141
PLC Memory Functions · 146
Script Interface Functions
Active · 148
ClockRead · 147
ClockWrite · 148
ClosePLC · 143
DownloadProgram · 151
GetDeviceConfig · 150
IsBadQuality · 147
LastErrorString · 153
OpenPLC · 143
Protect · 152
RawFINS · 148
Read · 140
ReadArea · 144
RunMode · 145
SetDefaultPLC · 142
SetDeviceAddress · 149
SetDeviceConfig · 150
TCGetStatus · 148
TCRemoteLocal · 149
TypeName · 145, 146, 147
UploadProgram · 151
OMRON
Revision 2.0

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents