Points; Basic Point Assignment - Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual

Script language
Table of Contents

Advertisement

CHAPTER 4 – CX-Supervisor Script Language

Points

Basic Point Assignment

Syntax
pointname = expression
Remarks
Argument
pointname
expression
Typical Examples
count = 100
The Integer or Real point 'count' is assigned the value 100.
result = TRUE
The Boolean point 'result' is assigned the state ''TRUE''.
name = "Valve position"
The Text point 'name' is assigned the associated text, contained within quotation marks.
Note: When assigning Real (floating point) values to an Integer point the assignment uses the
'Symetrical Rounding Down' (towards 0) standard. This means a value of 4.1 would be assign a value
4. A value of -4.1 would asign a value of -4.
References
Refer to chapter 4, Punctuation for details of the use of quotation marks.
Page 10
The point name to be assigned a value.
The value to be assigned to pointname. The expression may be of type
Boolean, Integer, Real or Text.
Description
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?

Questions and answers

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents