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

PI Connector for FANUC Focas

Connector generated quality events for PI Connector for FANUC Focas

Connector generated quality events for PI Connector for FANUC Focas

  • Last UpdatedFeb 23, 2023
  • 2 minute read

The PI Connector for FANUC Focas generates quality events for measurements that are defined as real-time data. The connector-generated quality events are recorded in the archives of historians in the same manner as measurement values from the data source. Please refer to the documentation for PI Connector Relay for information on how quality events are handled for a particular historian. Connector generated events occur under the following conditions:

  • Data collection start and stop (optional)

  • Measurement addition and deletion (optional)

  • Measurement not defined

  • Error code (no data) received from the machine

Data collection start and stop

The PI Connector for FANUC Focas uses the following quality codes to mark measurements on data collection start and stop:

Code

Description

Cause

32 (decimal)

00100000 (binary)

Waiting for initial data

Initial quality event for data collection starts

8 (decimal)

00001000 (binary)

Not connected

Final quality event for data collection stops

Measurement addition and deletion

The PI Connector for FANUC Focas uses the following quality codes to mark measurements on addition (selection) and deletion (de-selection):

Code

Description

Cause

32 (decimal)

00100000 (binary)

Waiting for initial data

Initial quality event when a measurement is added for data collection

8 (decimal)

00001000 (binary)

Not connected

Final quality event when a measurement is removed from data collection

Measurement not defined

The PI Connector for FANUC Focas checks whether the you define a measurement before starting data collection. An undefined measurement will be marked with the following quality code:

Code

Description

Cause

4 (decimal)

00000100 (binary)

Configuration error

Measurement is not defined by the user in the configuration file, but data collection is initiated.

Error code (no data) received from the machine

The PI Connector for FANUC Focas is designed and implemented to handle error codes received from CNC machines during data collection. The connector maps an error code to a quality code for each measurement based on its meaning. The following table includes a full list of error codes and their corresponding quality codes:

FANUC error codes

Quality code

Description

Cause

-17, -15, -8, -7, -6, -3, 2, 3, 4, 5, 6, 7, 9, 11, 12, 17

4 (decimal)

00000100 (binary)

Configuration Error

The CNC machine or measurement is not properly configured.

-16

24 (decimal)

00011000 (binary)

Communication Failure

Socket error or response timeout.

-4, 8, -11

12 (decimal)

00001100 (binary)

Device Failure

Hardware error on CNC machines.

-10, -9, -5, -2, -1, 1, 10, 13, 14, 15, 16

28 (decimal)

00011100 (binary)

Out of Service

The CNC machine is out of service.

Others

0 (decimal)

00000000 (binary)

Not Specified

Unknown error or error not defined by the FANUC Focas library.

In addition to marking the measurements with quality codes, the connector also logs the details of the error codes in the message log when they are active.

Note: Refer to the FANUC Focas library documentation topic, Return Status of Data Window Functions, to see the full list of error codes and their corresponding meanings, explanations and error handling.

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