Mode Diagnostic Points

You can create a mode point for each physical PLC. The point contains the following information:

Description

Bit

Value

Device health

1

1 = device OK

Current master

2

1 = current master

Connection status

3

1 = connected

CPU status

4

1 = CPU is running

The first and second bits contain the mode information from the programmable controller. The mode address is defined in the Mode Address field on the TCP/IP tab in the Port Properties dialog box when you create the port.

The third bit indicates whether a connection is established to the programmable controller.

The fourth bit indicates the status of the CPU. The CPU is considered "not in run mode" if its state is any of the following:

STOP_IO_DISABLED

CPU_STOP_FAULTED

CPU_HALTED

CPU_SUSPENDED

STOP_IO_ENABLED

The addresses for the Mode diagnostic points are:

$2,4

Mode Point-Primary PLC

$2,5

Mode Point -Secondary PLC