Interface to the pi system


Testing Connection to ICI



Download 0.56 Mb.
Page5/14
Date31.07.2017
Size0.56 Mb.
#24976
1   2   3   4   5   6   7   8   9   ...   14

Testing Connection to ICI


Bailey created a connection test utility called Talk90. This utility was distributed with the runtime kit in the past, but as of Bailey semAPI 2.0, it is no longer distributed in the runtime kit. It is still distributed with the supervisory control kit.

Running the test utility looks similar to this:



1-Establish Point

2-Establish Report

3-Output Miscellaneous

4-Connect Point List

5-Disconnect Point List

6-Read Value List

7-Read Status List

8-Read Exceptions

10-Output Value

11-Output Status

12-Module Operation

13-Read Block

14-Read Next Block

15-Read Default Block

16-Write Block

17-Tune Block

18-Delete Block

19-ICI Restart

20-Read Block Output

21-Read Misc Status List

22-Read Misc Stat Excep

23-Disestablish Point

24-Read Excep Report Spec

26-Read Problem Report

27-Demand Module Status

28-Regenerate Specs

29-Output General Msg

33-Set ICI Status

34-Read Work Flag

35-Read Value Group

36-Disconnect Point Group

37-Connect Point Group

38-Read Status Group

39-Read Misc Status Group

40-Output Value Group

41-ICI Callup

42-ICI Hangup

43-Read System Time/Date

44-ICI Online/Offline

45-Output Misc Group

46-Read Ext Prob Report

47-Output Status Group

100-Connect to ICI

101-Disconnect from ICI

102-ICI Management

103-Quick Commands

104-Get Exceptions

105-Enet Commands

106-Block I/O Commands

107-DBUS Commands

108-Firmware Commands

109-Misc. Module Info

110-Decode Error Number




777-Repeat Last Command

888-Next Page

999-Exit

Option: 100

Logical ICI: 1

Timeout is in seconds.

Timeout: 5

Valid Users:

0 = SHARED

1 = EXCLUSIVE

Type of User: 1

Tagnames: 0 = DO NOT RETURN TAGNAMES, 1 = RETURN TAGNAMES

Tagnames: 0

Option 100 should be used to make sure that at least a connection to the ICI can be made. If the connection is not successful, Bailey should be contacted.


Digital States


For more information regarding Digital States, refer to the Data Archive Manuals.
Digital State Sets

PI digital states are discrete values represented by strings. These strings are organized in PI as digital state sets. Each digital state set is a user-defined list of strings, enumerated from 0 to n to represent different values of discrete data. For more information about PI digital tags and editing digital state sets, see the PI Server manuals.

An interface point that contains discrete data can be stored in PI as a digital tag. A Digital tag associates discrete data with a digital state set, as specified by the user.

A PI tag for the Station Status is normally defined as a digital point. A set should be defined with these states in this order:


  • Manual (unlocked)

  • Auto (unlocked)

  • Cascade (unlocked)

  • Digital Station Failure

  • Manual (locked)

  • Control station bypassed

  • Auto (locked)

  • Cascade (locked)
System Digital State Set

Similar to digital state sets is the system digital state set. This set is used for all tags, regardless of type to indicate the state of a tag at a particular time. For example, if the interface receives bad data from an interface point, it writes the system digital state bad input to PI instead of a value. The system digital state set has many unused states that can be used by the interface and other PI clients. Digital States 193-320 are reserved for OSIsoft applications.

For more information regarding Digital States, refer to the Data Archive Manuals.


System Digital States Written to Tags


During normal operation, the interface may set the status of PI tags to a system digital state under the following circumstances:

  • All tags are set to Intf Shut at interface shutdown, or the state specified in the /stopstat=state parameter.

  • When the interface fails to establish a point in the ICI module, the related PI tags are set to the digital state Configure.

  • When a tag is removed from the interface, the tag status is set to No Data.

  • If there are 10 sequential failures in obtaining exception data from Bailey semAPI, the interface will set all tags to No Data.

  • An input tag is set to Bad Input if Bailey’s BAD QUALITY flag is set or if a digital value is out of range for that tag.

  • An output tag is set to Bad Output if the PI value is a digital state code such as Shutdown or OverRange.




Download 0.56 Mb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   14




The database is protected by copyright ©ininet.org 2024
send message

    Main page