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

PI Connector for FANUC Focas

Examples: Defining measurements for functions returning hierarchical structures

Examples: Defining measurements for functions returning hierarchical structures

  • Last UpdatedFeb 23, 2023
  • 3 minute read

The following sections illustrate examples of defining measurements for functions that return hierarchical structures.

A value for Scan Rate must be specified for:

  • cnc_rdaxisdata

  • cnc_rdsvmeter

  • cnc_rdspmeter

  • cnc_rdspeed

  • cnc_rdpm_item

Example of defining a measurement for a cnc_rdaxisdata hierarchical structure

Parent\Child

cnc_rdaxisdata.0.1.5.4

2000

The row above specifies a cnc_rdaxisdata element hierarchy under the element path Parent\Child. The element hierarchy is as follows:

Where channel is 0, class of data is 1, type of data is 5, and number of axis is 4. Data is collected for four axes. Within each axis element, the following attributes are defined:

The data is updated every 2000 milliseconds.

Example of defining a measurement for a cnc_rdsvmeter hierarchical structure

Parent\Child

cnc_rdsvmeter.0

2000

The row above specifies a cnc_rdsvmeter element hierarchy under the element path Parent\Child. The element hierarchy is as follows:

Where channel is 0. There are eight servo axes to collect data from. Within each servo axis element, the following attributes are defined:

The data is updated every 2000 milliseconds for each of the eight servo axes.

Example of defining a measurement for a cnc_rdspmeter hierarchical structure

Parent\Child

cnc_rdspmeter.0

2000

The row above specifies a cnc_rdspmeter element hierarchy under the element path Parent\Child. The element hierarchy is as follows:

Where channel is 0. There are four spindles to collect data from. Within each spindle element, there is one spload (spindle load) and one spspeed (spindle speed) element defined. For each spload or spspeed element, the following attributes are defined:

The data is updated every 2000 milliseconds for each of the four axes.

Example of defining a measurement for a cnc_rdspeed hierarchical structure

Parent\Child

cnc_rdspeed.0

2000

The row above specifies a cnc_rdspeed element hierarchy under the element path Parent\Child. The element hierarchy is as follows:

Where channel is 0. There are two spindle data items to collect data from. Within each spindle data element, the following attributes are defined:

The data is updated every 2000 milliseconds for each of the speed data items.

Example of defining a measurement for a cnc_rdpm_item hierarchical structure

Parent\Child

cnc_rdpm_item.0.1.10

2000

The row above specifies a cnc_rdpm_item element hierarchy under the element path Parent\Child.

The element hierarchy is as follows:

Where channel is 0. There are 10 periodic maintenance items to collect data from. Within each maintenance item element, the following attributes are defined:

The data is updated every 2000 milliseconds for each of the ten maintenance items.

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