Omron CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 Reference Manual page 76

Script language
Table of Contents

Advertisement

OMRON
Remarks
Argument
pointname
returnpoint
Typical Example
pointname = 256;
returnpoint = GetBit(pointname,8)
The point 'returnpoint' contains 'TRUE'.
InitialiseArray
Syntax
InitArray (arrayname, value)
Remarks
Argument
arrayname
value
Typical Example
InitArray (MyArray, 0)
In this example, all elements of the array 'MyArray' are set to 0.
InputPoint
Syntax
returnstate = InputPoint(pointname, returnflag)
Remarks
Argument
returnstate
pointname
returnflag
Revision 2.0
Type
Integer /
This is the name of the point to get the bit value from.
real
Indirection or point value may be used.
bit
integer
This specifies which bit to get the value of.
bool
This contains the return value 'TRUE' or 'FALSE'.
Type
- - -
Name of point array.
- - -
Value to set all elements of the array to.
Type
bool
Returnstate is '1' if the function is successful, or '0' otherwise.
point
The point name whose data is to be read.
point
Optional Boolean point which is set to 'TRUE' when value is
returned from the PLC.
CHAPTER 6 – Functions and Methods
Description
Description
Description
Page 63

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