background image

PointMngt

SECTION 3 Class Reference

11

SECTION 3

Class Reference

3-1

PointMngt

Allows the client to manage the acquisition of point information and the
reading and writing of point data.

3-1-1

ListGroups

Retrieves a list of all the point groups contained within a CX-Supervisor
application.

ListGroups(ByRef pGroups As Object)

3-1-2

ListPoints

Retrieves a list of all the points that are part of the given group.

ListPoints(ByVal szName As String, ByRef pPoints As

Object)

3-1-3

SetValue

This method sets a point to a specified value. In circumstances where the
point can not be set to a value (i.e. More than allowed maximum) the value
returned in the retVal parameter will differ from that specified and represent
the actual value the point was set to.

SetValue(ByVal szName As String, ByVal varValue As Object,

ByRef retVal As Object)

3-1-4

GetValue

Reads the current value of a point.

GetValue(ByVal szName As String, ByRef retVal As Object)

Parameters Description

pGroups

An array of strings representing the names of all the groups 

Parameters Description

szName

Name of Group

pPoints

Receives an array of strings representing the names of all the 
points contained in the group

Parameters Description

szName

Name of Point

varValue

Value the point is to be set to

retVal

The actual value the point was set to

Parameters Description

szName

Name of Point

retVal

Receives the current value of point

Summary of Contents for CX-Supervisor 3.1

Page 1: ...CX Supervisor Software Cat No W15E EN 01 NET Interface Software Release 3 1 Reference...

Page 2: ...wise without the prior written permission of OMRON No patent liability is assumed with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve i...

Page 3: ...Copyright Notice 2...

Page 4: ...ts 11 3 1 3 SetValue 11 3 1 4 GetValue 11 3 1 5 IsValidPoint 12 3 1 6 IsValidGroup 12 3 1 7 GetPointData 12 3 1 8 BrowsePoints 12 3 2 ApplicationMngt 13 3 2 1 GetErrorString 13 3 2 2 Restart 13 3 2 3...

Page 5: ...Table of Contents 4 3 4 ScriptMngt 17 3 4 1 ExecuteScript 17 3 4 2 ListScripts 17 3 4 3 GetScriptParameters 17 3 5 ErrorMngt 17 3 5 1 GetErrorLog 17 Revision history 19...

Page 6: ...Table of Contents 5...

Page 7: ...Table of Contents 6...

Page 8: ...CX Supervisor using well defined interfaces to access specific areas of functionality The interface can be divided in to the following areas of functionality Point monitoring and data gathering Appli...

Page 9: ...Referencing the DLL SECTION 1 Introduction 8...

Page 10: ...string errors string list use error log 2 2 C NET declare variables CPointMngtClass pointMngr new CPointMngtClass object list get list of points pointMngr ListPoints out list convert list to string a...

Page 11: ...VB NET and ASP NET SECTION 2 Examples 10...

Page 12: ...More than allowed maximum the value returned in the retVal parameter will differ from that specified and represent the actual value the point was set to SetValue ByVal szName As String ByVal varValue...

Page 13: ...Value As Object 3 1 8 BrowsePoints This method retrieves a filtered list of the points contained within a CX Supervisor application BrowsePoints ByVal szFilter As String ByVal szGroup As String ByVal...

Page 14: ...As String 3 2 3 GetProjectName Returns the name of the running CX Supervisor application project GetProjectName ByRef pName As Object vtDataTypeF ilter Data type filter One of 0 All types 11 Boolean 3...

Page 15: ...nt s instance s App ID IsValidAppId ByVal szAppId As String ByRef retVal As Integer 3 2 8 IsValidUser This method determines whether the given username and password matches a configured CXSupervisor r...

Page 16: ...ef pDescription As Object ByRef pPriority As Object ByRef pStatus As Object ByRef pDateTime As Object ByRef pMessage As Object Parameters Description pGroups Receives an array of strings representing...

Page 17: ...e time message and status information The list matches the order of entries in the log GetAlarmLog ByRef pAlarmLogEntries As Object 3 3 8 GetActiveAlarms Retrieves a list of all the currently active a...

Page 18: ...tParameters ByVal szName As String ByRef pParamList As Object 3 5 ErrorMngt Allows the client to access to the error log 3 5 1 GetErrorLog Get a list of all the error log entries GetErrorLog ByRef pEr...

Page 19: ...ErrorMngt SECTION 3 Class Reference 18...

Page 20: ...log number on the front cover of the manual The following table lists the changes made to the manual during each revision The page numbers of a revision refer to the previous version Cat No W15E EN 01...

Page 21: ...Revision history 20...

Page 22: ...5E EN 01 Note Specif cations subject to change without notice Authorized Distributor Printed in Europe Cat No I55E EN 01 CJ1W MCH72 Programmable Controller SYSMAC CJ series Motion Control Unit OPERATI...

Reviews: