EasyManuals Logo

Omron CX-Supervisor Reference Manual

Omron CX-Supervisor
164 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #63 background imageLoading...
Page #63 background image
Point Commands SECTION 6 Functions and Methods
62
InitArray (DestArray, 0)
First initialise 'DestArray'.
SourceArray [0] = 1
SourceArray [1] = 2
SourceArray [2] = 3
Then, initialise 'SourceArray' to {1, 2, 3}.
CopyArray (SourceArray, DestArray)
Finally, copy the content of the source array 'SourceArray' to the destination
array 'DestArray'.
The two arrays do not have to be the same size as each other, for example if
'DestArray' contains 20 elements, only elements [0], [1] and [2] are set to 1, 2
and 3 respectively, the remaining elements are unchanged i.e. O's. If
'DestArray' is smaller than 'SourceArray' i.e. it contains two elements then only
elements [0] and [1] are set to 1 and 2 respectively.
6-5-3 DisableGroup
Syntax
returnstate = DisableGroup(groupname)
Remarks
Typical Example
DisableGroup("<Default>")
All points belonging to the <Default> group is disabled thus preventing values
from being read\written.
6-5-4 DisablePoint
Syntax
returnstate = DisablePoint(pointname)
Remarks
Typical Example
DisablePoint(point1)
The point 'point1' is disabled thus preventing values to be read/written.
Note: 'CopyArray' accepts arrays of different type i.e. Boolean arrays can be copied
into Real arrays, the only restriction is that Text arrays cannot be copied into
numeric arrays and vice- versa.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
groupname text Name of the group containing the points to
disable.
Argument Type Description
returnstate bool Returnstate is '1' if the function is successful, or
'0' otherwise.
Pointname point Name of point to be disabled.
Note: This is useful for optimisation of communications.

Table of Contents

Other manuals for Omron CX-Supervisor

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CX-Supervisor and is the answer not in the manual?

Omron CX-Supervisor Specifications

General IconGeneral
BrandOmron
ModelCX-Supervisor
CategorySoftware
LanguageEnglish

Related product manuals