Quotation Marks - Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual

Script language
Table of Contents

Advertisement

OMRON
Parenthesis
Typical Examples
result = 20 + 30 * 40
The result is 1220.
result = (20 + 30) * 40
The values in parenthesis are calculated first. The result is 2000.
References
Refer to chapter 4, Logic and Arithmetic, Arithmetric Operations for further details.

Quotation Marks

Typical Examples
name = "Valve position"
The Text point 'name' is assigned associated text, contained within quotation marks. Quotation
marks must be used in this instance.
Message("This text to be displayed as a message.")
Passing static text as arguments to functions.
BlueCarsAck = IsAlarmAcknowledged("BLUEPAINT")
The point 'BlueCarsAck' is assigned a Boolean state based on the alarm 'BLUEPAINT'. Quotation
marks must be used for an alarm name.
Remarks
Syntax
REM | rem comment
or
'comment
Remarks
Argument
Comment
Typical Examples
REM The following statement adds two numbers
result = 45 + 754
Revision 2.0
CHAPTER 4 – CX-Supervisor Script Language
Type
- - -
Descriptive text.
Description
Page 25

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