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

PI Connector for FANUC Focas

Alarm message and operator message assets

  • Last UpdatedFeb 23, 2023
  • 2 minute read

By default, the PI Connector for FANUC Focas creates PI AF templates, elements and attributes to represent and store alarm messages and operator messages received from the CNC machine. All hierarchies for alarm messages and operator messages are defined as child assets under the root element. The following table includes all element templates created for alarm messages and operator messages:

Element template name

Attribute templates (Attribute type)

Description

cnc_rdalmmsg_cnc_rdopmsg3

Device ID (static)

The template for the parent element of alarm message and operator message elements

cnc_rdalmmsg

Device ID (static)

Number (real-time)

Text (real-time)

Axis (real-time)

The template for alarm message elements

cnc_rdopmsg3

Device ID (static)

Number (real-time)

Text (real-time)

The template for operator message elements

Alarm message asset creation

For each alarm message channel you configure, the connector defines an alarm message parent element based on the template cnc_rdalmmsg_cnc_rdopmsg3. Each element is named: cnc_rdalmmsg.<Channel>. For example, the element for an alarm messages on channel 1 is named cnc_rdalmmsg.1. Under each parent element, 10 alarm message elements are defined based on the template cnc_rdalmmsg. The names of these elements are 01, 02, … up to 10. For details on message channel configuration, see Connector configuration.

Three PI points are defined for each alarm message element, and correspond to the three real-time attributes:

  • <Connector name in the DCM>.<Device ID>.cnc_rdalmmsg.<Channel>.<Index>.Number

  • <Connector name in the DCM>.<Device ID>.cnc_rdalmmsg.<Channel>.<Index>.Text

  • <Connector name in the DCM>.<Device ID>.cnc_rdalmmsg.<Channel>.<Index>.Axis

For example, PI point FOC.10000503.cnc_rdalmmsg.1.02.Text refers to the Text attribute of the 2nd alarm message element on channel 1 of CNC machine 10000503.

Operator message asset creation

For each operator message channel you configure, the connector defines an operator message parent element based on the template cnc_rdalmmsg_cnc_rdopmsg3. Each element is named: cnc_rdopmsg3.<Channel>. For example, the element for operator messages on channel 1 is named cnc_rdopmsg3.1. Under each parent element, 5 operator message elements are defined based on the template cnc_rdopmsg3. The names of these elements are 01, 02, … up to 05. For details on message channel configuration, see Connector configuration.

Two PI points are defined for each alarm message element, and correspond to the two real-time attributes:

  • <Connector name in the DCM>.<Device ID>.cnc_rdopmsg3.<Channel>.<Index>.Number

    For example, PI point FOC.10000503.cnc_rdopmsg3.1.02.Number refers to the Number attribute of the 2nd operator message element on channel 1 of CNC machine 10000503

  • <Connector name in the DCM>.<Device ID>.cnc_rdopmsg3.<Channel>.<Index>.Text

    For example, PI point FOC.10000503.cnc_rdopmsg3.1.02.Text refers to the Text attribute of the 2nd operator message element on channel 1 of CNC machine 10000503.

Data collection

The connector performs message number matching for both alarm messages and operator messages when collecting data. When a message with a number is received, the connector tries to locate the message element that already stores the message with that number and update that element. If this message number is a new number that has not been stored by any message element, the connector will store the message information to the element that does not hold any active message and has the smallest index.

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