Displaying runtime status and attributes for a Keyence device

The Devices window displays the devices that are defined in the node. Runtime statistics will be maintained for each device that is in the Started state.

Displaying runtime statistics

To display the runtime statistics:

  1. Select a device in the list of devices.
    The device’s operational statistics are displayed in the Status tab.
  2. Select the Status tab. The following example displays the status panel associated with a Keyence device.

    Runtime Status Fields

    Status

    Value

    Start Time (ms)

    Millisecond length of time needed to start the device.

    Stop Time (ms)

    Millisecond length of time needed to stop the device.

    Avg Queue Wait (ms)

    Millisecond length of time device read/write requests spent in a queue waiting processing.

    Queue Depth

    Average number of items in the queue.

    Last Read

    Timestamp of the last read request.

    Avg Read (ms)

    Average Millisecond length of time needed to perform a device read.

    Reads / SecondHow many reads per second the device is doing.

    Last Write

    Timestamp of the last write request.

    Avg Write (ms)

    Average Millisecond length of time needed to perform a device write.

    Last Occurrence

    Most recent time the error occurred.

    First Occurrence

    Initial time the error occurred.

    Variable

    The Variable associated with the error occurrence.

    Status

    The error code that was encountered.

    Ext. Status

    An error code that was returned by the device.

    Repeats

    The number of times the error has occurred between the Last and First occurrence.

Displaying attributes

The Keyence devices will display additional attributes when they are in the Started state. To display these attributes:

  1. Select a Keyence device in the list of devices. The Keyence device attributes are displayed in the Attributes tab.
  2. Select the Attributes tab.
    The Attributes tab for the Keyence device will display the attributes and their current values for the selected device:

Attribute Fields

Attribute

Value

CPU Model

Model number for the particular series CPU type.

CPU Type Type of the CPU.

Socket Connected

Number of active connections.

Structure Count

The number of SINFO objects associated with the device. These are the registered structures, they may not all be in use.

Structure Member Count

The number of VINFO objects associated with all SINFO objects. This is the sum of all members attached to all structures.

Total Variable Count

The number of all VINFO objects associated with the device. If the VINFO is a structure, then also count the children, however counts arrays as individual items.

Variable Count

The number of VINFO objects associated with the device. These can be primitives, arrays or structures, but they only count as 1 item in the tree.