Omron CX-SUPERVISOR 3.1 - NET INTERFACE Reference Manual
Omron CX-SUPERVISOR 3.1 - NET INTERFACE Reference Manual

Omron CX-SUPERVISOR 3.1 - NET INTERFACE Reference Manual

.net interface

Advertisement

Cat No. W15E-EN-01
Software
CX-Supervisor
Software Release 3.1
.NET Interface
Reference

Advertisement

Table of Contents
loading

Summary of Contents for Omron CX-SUPERVISOR 3.1 - NET INTERFACE

  • Page 1 Cat No. W15E-EN-01 Software CX-Supervisor Software Release 3.1 .NET Interface Reference...
  • Page 2: Notice

    Copyright Copyright © 2010 OMRON All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
  • Page 3 Copyright Notice...
  • Page 4: Table Of Contents

    Table of Contents Notice ....................1 Trademarks and copyrights........................1 Copyright.............................. 1 SECTION 1 Introduction ..................7 Who Should Read This Document ...................... 7 Interface Overview ..........................7 Referencing the DLL ..........................7 SECTION 2 Examples ..................9 VB .NET .............................. 9 C# .NET .............................. 9 VB .NET and ASP.NET ........................
  • Page 5 Table of Contents ScriptMngt............................17 3-4-1 ExecuteScript ........................17 3-4-2 ListScripts ..........................17 3-4-3 GetScriptParameters ......................17 ErrorMngt ............................17 3-5-1 GetErrorLog.......................... 17 Revision history ................19...
  • Page 6 Table of Contents...
  • Page 7 Table of Contents...
  • Page 8: Introduction

    The interface is exposed through the file SCSRUNLib.dll which is located in the CX-Supervisor installation directory. In order to use the interface classes you must first add a reference to it in your project and then insert an appropriate using or Imports declaration in your class.
  • Page 9 Referencing the DLL SECTION 1 Introduction...
  • Page 10: Examples

    VB .NET SECTION 2 Examples SECTION 2 Examples These code snippets are provided as an example of how to use the CX- Supervisor .NET Interface. VB .NET ' declare variables CErrorMngtClass errorMngr = new CErrorMngtClass(); object list; ' get list of errors errorMngr.GetErrorLog(out list);...
  • Page 11 VB .NET and ASP.NET SECTION 2 Examples...
  • Page 12: Class Reference

    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.
  • Page 13: Isvalidpoint

    The current value of the point 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 vtDataTypeFilter As UShort, ByRef pPoints As Object)
  • Page 14: Applicationmngt

    Receives a string error message 3-2-2 Restart Causes the CX-Supervisor runtime to be restarted. If a path to a .SR2 file is specified then this is run upon restart. Restart(ByVal szFile As String) Parameters Description szFile Optional path of the SCS application to run.
  • Page 15: Listdevices

    Name of the device pStatus Receives the status of the device 3-2-6 GetAppId Returns a App ID string that can be used to identify the instance of this runtime. GetAppId(ByRef pAppId As Object) Parameters Description pAppId Receives the App ID...
  • Page 16: Alarmmngt

    ListAlarmGroups(ByRef pGroups As Object) Parameters Description pGroups Receives an array of strings representing the names of all the alarm groups 3-3-2 ListAlarms Retrieves a list of all the alarm contained within the given alarm group. ListAlarms(ByVal szName String, ByRef pAlarms Object)
  • Page 17: Acknowledgealarm

    3-3-7 GetAlarmLog This method provides the ability to get a list of all the alarm log entries. The returned array strings each delimitated by tabs will provide time, message and status information. The list matches the order of entries in the log.
  • Page 18: Scriptmngt

    Array of objects representing the list of script arguments retVal Returned output parameters 3-4-2 ListScripts Retrieve a list of all the project level scripts contained within a CX-Supervisor application. ListScripts(ByRef pScripts As Object) Parameters Description pScripts Receives an array of strings representing the names of all the...
  • Page 19 ErrorMngt SECTION 3 Class Reference...
  • Page 20: Revision History

    Revision history Revision history A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W15E-EN-01 The following table lists the changes made to the manual during each revision. The page numbers of a revision refer to the previous version.
  • Page 21 Revision history...
  • Page 22 Authorized Distributor: Cat. No. W15E-EN-01 Note: Specif cations subject to change without notice. Printed in Europe...

This manual is also suitable for:

Cx-supervisor 3.1

Table of Contents