IEC_BACNET_PROGRAM_STATE (ENUM)

TYPE IEC_BACNET_PROGRAM_STATE :

Describes the normal state of an running programm in an BACnet device.

This enumeration, of type BACnetProgramState, reflects the current logical state of the process executing the application program the program object represents.

InOut:

Name

Initial

Comment

_PROGRAM_STATE_MAX_SIZE

16#7FFFFFFF

PROGRAM_STATE_IDLE

0

process is not executing

PROGRAM_STATE_LOADING

1

application program being loaded

PROGRAM_STATE_RUNNING

2

process is currently executing

PROGRAM_STATE_WAITING

3

process is waiting for some external event

PROGRAM_STATE_HALTED

4

process is halted because of some error condition

PROGRAM_STATE_UNLOADING

5

process has been requested to terminate