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

PI Connector for FANUC Focas

cnc_rdpm_item

  • Last UpdatedFeb 23, 2023
  • 1 minute read

There are two parameters for the function cnc_rdpm_item. The first specifies the index of the first periodic maintenance item to collect. The second specifies the last index of the maintenance item to collect. The function returns an object for each maintenance item within the specified range, with each object containing the following five fields:

Attribute Name

Data type

Description

Name

String

Name of the maintenance item

Remain

Double

Number of hours/minutes remaining before maintenance is needed

Stat

Double

Life count state

Total

Double

The total number of hours/minutes the item in question has been in use

Type

Enum

Life count type

Note: The value for the Remain and Total fields are in units of either hours or minutes. To determine which one is being used, please refer to your specific CNC machine manual.

For example, a cnc_rdpm_item function is configured with the syntax: cnc_rdpm_item.<channel>.<Start Index>.<Stop Index>

Therefore, function configured as cnc_rdpm_item.0.3.8 would collect period maintenance data for maintenance items three through eight.

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