Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Communication Drivers

Program (PRG)

  • Last UpdatedDec 08, 2020
  • 2 minute read

Supported properties of the Program object (PRG)

Property

Value Format

Example

OBJECT-IDENTIFIER

String

[ObjectNumber]: [Instance Number]

16:0

OBJECT-NAME

String

ObjectName:Program Object Type(PRG)

OBJECT-TYPE

Integer

16

PROGRAM-STATE

PROGRAM-CHANGE

Integer

  • 0-IDLE

  • 1-LOADING

  • 2-RUNNING

  • 3-WAITING

  • 4-HALTED

  • 5-UNLOADING

    Integer

  • 0-READY

  • 1-LOAD

  • 2-RUN

  • 3-HALT

  • 4-RESTART

  • 5-UNLOAD

This property, of type BACnetProgramState, reflects the current logical state of the process executing the application program this object represents. This property is Read-Only.

For example: 3

This property, of type BACnetProgramRequest, is used to request changes to the operating state of the process this object represents. The Program Change property provides one means for changing the operating state of this process.

For example: 4

REASON-FOR-HALT

Integer

  • 0-NORMAL

  • 1-LOADFAILED

  • 2-INTERNAL

  • 3-PROGRAM

  • 4-OTHER

If the process executing the application program this object represents encounters any type of error that causes process execution to be halted, then this property shall reflect the reason why the process was halted. The Reason For Halt property shall be an enumerated type called BACnetProgramError.

For example: 1

DESCRIPTION-OF-HALT

String

This property is a character string that may be used to describe the reason why a program has been halted.

For example: ProgramA Halt

PROGRAM-LOCATION

String

This property is a character string that may be used by the application program to indicate its location within the program code, for example, a line number or program label or section name. The content of this string is a local matter.

For example: ProgramA

DESCRIPTION

String

This property is a string of printable characters that may be used to describe the application being carried out by this process or other locally desired descriptive information.

For example: Description: Program Object Type (PRG)

INSTANCE-OF

String

This property is a character string that is the local name of the application program being executed by

this process. The content of this string is a local matter. For example: Program Object Type (PRG) Instance

STATUS-FLAGS

4 Boolean values (1=true,0=false) encoded as string

{IN_ALARM, FAULT, OVERRIDDEN, OUT_OF_SERVICE}

Integer

This property, of type BACnetStatusFlags, represents four Boolean flags that indicate the general "health" of the program.

For example: 1010

RELIABILITY

The Reliability property, of type BACnetReliability, provides an indication of whether the application- specific properties of the program object or the process executing the application program are "reliable" as far as the BACnet Device can determine and, if not, why.

For example: 9

OUT-OF-SERVICE

Boolean

The Out Of Service property, of type BOOLEAN, is an indication whether (TRUE) or not (FALSE)

the process this object represents is not in service.

For example: 1

PROFILE-NAME

String

Profile Name: Program Object Type (PRG)

TitleResults for “How to create a CRG?”Also Available in