APPENDIX D – Obsolete Features
OMRON
Page 156
Revision 2.0
APPENDIX D
Obsolete Features
This appendix provides a summary of features that are obsolete and have been removed from the
standard documentation. Details are included here to assist maintaining old projects still using these
features. These features should not be used in development of new solutions as it is likely support for
the following features may and will be removed from the next or future releases.
Windows NT, Windows ME, Windows 98 and Windows 95
This product will no longer install on these operatinf systems. It is recommended to upgrade to a later
Windows version.
Sleep
Description
Pause execution of a script for specified duration.
Syntax
Sleep (duration)
Remarks
Argument Type
Description
Duration
- - -
Number of milliseconds to wait before continuing.
Typical Example
Sleep (1000)
CX-Supervisor waits 1 second.
Note 1:
The sleep statement should be used with caution, as some other parts of the system
may not be updated while a script is sleeping. It also uses multithreading which means
some tasks like PLC communication may occur in parallel and behave unpredictably.
Note 2:
In a well designed, truly event driven system use of the Sleep() statement should never
be required. Always consider if the statements after the Sleep should be in their own
script, executed when a Condition occurs.
Содержание 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...