background image

AlarmMngt

SECTION 3 Class Reference

15

3-3

AlarmMngt

Allows the client to view alarm state and history and acknowledge active
alarms.

3-3-1

ListAlarmGroups

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

ListAlarmGroups(ByRef pGroups As Object)

3-3-2

ListAlarms

Retrieves a list of all the alarm contained within the given alarm group.

ListAlarms(ByVal szName As String, ByRef pAlarms As

Object)

3-3-3

GetAlarmData

Retrieves the metadata of a specific alarm.

GetAlarmData(ByVal szName As String, ByRef pType As

Object, ByRef pAuto As Integer, ByRef 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 the names of all the 
alarm groups

Parameters Description

szName

Name of Alarm Group

pAlarms

Receives an array of strings representing the names of all the 
alarms

Parameters Description

szName

Name of the Alarm

pType

The type of Alarm “simple”, “deadband”, ”rateofchange”

pAuto

Indicates Automatically acknowledged

pDescription The description of the alarm

pPriority

The priority of the alarm

“Highest”, “High”, “Medium”, “Low”, “Lowest”

pStatus

The current status of the alarm

“Inactive”, “Active”, “Acknowledged”

pDateTime

The time and date the alarm entered it’s current state

pMessage

The message shown

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: