Subroutines - Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual

Script language
Table of Contents

Advertisement

CHAPTER 4 – CX-Supervisor Script Language
or
DO UNTIL expression
statementblock
LOOP
or
DO
statementblock
LOOP UNTIL expression
Remarks
Argument
expression
statementblock
Typical Example
DO WHILE dooropen == TRUE
Message ("You must shut the door before continuing")
LOOP
DO
nextchar = Mid (Mystring, position, 1)
position = position + 1
LOOP UNTIL nextchar = "A"
Note:
Loop statements should be used with caution, as they consume processor time while
they are running and some other parts of the system may not be updated.

Subroutines

Call
Syntax
CALL subroutine (arguments)
Page 22
The expression may be a point, or a calculation of constants and/or points that
produces a result.
One or more statements to be executed multiple times depending on
expression.
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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Cx-supervisor 2.0

Table of Contents