![background image](http://html1.mh-extra.com/html/omron/cx-supervisor-script-reference-rev2-0/cx-supervisor-script-reference-rev2-0_reference-manual_744212023.webp)
CHAPTER 4 – CX-Supervisor Script Language
OMRON
Page 10
Revision 2.0
Points
Basic Point Assignment
Syntax
pointname = expression
Remarks
Argument Description
pointname
The point name to be assigned a value.
expression
The value to be assigned to
pointname
. The expression may be of type
Boolean, Integer, Real or Text.
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.
Содержание 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...