---
title: Fanuc CNC Ethernet (Gen1.3)
slug: manufacturing-connect-edge/fanuc-cnc-ethernet-gen13
docTags: 
createdAt: 2022-05-26T20:56:06.000Z
---

Review the following information for setting up and configuring the Fanuc CNC Ethernet (Gen1.3) driver.&#x20;

# Manufacturing Connect Edge Compatible Series&#x20;

| Compatibility parameter      | Compatible items                        |
| ---------------------------- | --------------------------------------- |
| **Driver type**              | Ethernet                                |
| **Validated devices/series** | Any PLC model that supports FANUC FOCAS |

To set up and configure this device in Manufacturing Connect Edge, you will need to do the following:

- Step 1: Set up and Configure the PLC Device
- Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub
- Step 3: Configure the List of Registers

# Step 1: Set up and Configure the PLC Device

If the device is configured for Ethernet access, find its network parameters. Otherwise, follow the steps below.&#x20;

Review the following parameters for the PLC Configuration.

**Supported Data Types**

Refer to the following supported data types by Fanuc and Manufacturing Connect Edge. Below is for the Fanuc PMC (Programmable Machine Control).

Fanuc Macro variables support the FLOAT data type.

**Table 1**

| **Data Type** | **Size** |
| ------------- | -------- |
| BYTE          | 1 byte   |
| WORD          | 2 bytes  |

**Table 2**

| **Signed Value** | **Data Type** | **Size** |
| ---------------- | ------------- | -------- |
| INT8             | SINT          | 1 byte   |
| INT16            | INT           | 2 bytes  |
| INT32            | DINT          | 4 bytes  |

**Table 3**

| **Unsigned Value** | **Data Type** | **Size** |
| ------------------ | ------------- | -------- |
| UINT8              | USINT         | 1 byte   |
| UINT16             | UINT          | 2 bytes  |
| UINT32             | UDINT         | 4 bytes  |

The Fanuc PMC System is the interface between the Fanuc CNC and the machine tool. For information on the PMC system, visit the [Fanuc Corporation website](https://www.fanucamerica.com/fanuc-america-product-support/fanuc-product-training/cnc-robodrill-training/online-cnc-training-2018/fanuc-pmc-training-online).

**RDPMC Tags**

RDPMC tags provide all information about the **Address Type**, the **Address Number** to read data from, and **Size** within the tag itself.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/rp4b-YEbLXAoBUPp-mjoo_image.png" size="80" width="501" height="289" caption="Address types" position="center" darkWidth="501" darkHeight="289" showCaption="true"}

**Example of an RDPMC Tag**

| **Tag**            | **Address Type** | **Address Number** | **Size** |
| ------------------ | ---------------- | ------------------ | -------- |
| Rdpmc \[9\_746\_2] | D                | 746                | 4 bytes  |

In the previous example, 9 refers to an address type listed in the image, 746 is the address number to read data from, and 2 means that the data is four bytes long.

## Configure Device

Refer to the following configurations if the device doesn't connect right away.&#x20;

**To configure the device:**

1. Note down the following information and refer to it when needed.&#x20;
2. **Device**: Fanuc 0i-F
3. **Communication I/F**: Ethernet. Refer to the following figure.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/fwoBsmtOAexVXak7alS2T_01fanuc-cnc-ethernet.png" size="80" width="471" height="545" caption="Fanuc CNC Ethernet reference" position="center" darkWidth="471" darkHeight="545" showCaption="true" indent="2"}

4. Press **Soft key** five times to set up the IP Address.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/fwvMVtQf330-iyRTm01Vq_02fanuc-cnc-ethernet-ip482x338.png" size="80" width="482" height="338" caption="IP Address set up screen" position="center" darkWidth="482" darkHeight="338" showCaption="true" indent="2"}

5. Press the Soft key **Embed Port&#xA0;**&#x74;o set up the network parameters, and then press the Soft key **OPRT**.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/LPmF1PLNNS_a0oZ7-ByJM_03fanuc-cnc-ethernet-ip482x338.png" size="80" width="535" height="386" caption="Set up network parameters screen" position="center" darkWidth="535" darkHeight="386" showCaption="true" indent="2"}

6. Press the Soft key **Restart&#xA0;**&#x74;o activate the settings.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/TBGmJBCz6DUz3H9rvKBj2_04fanuc-cnc-ethernet-settings.png" size="80" width="624" height="372" caption="Activate settings screen [1]" position="center" darkWidth="624" darkHeight="372" showCaption="true" indent="2"}

7. Press the Soft key **Execute&#xA0;**&#x74;o activate the settings.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/OdVxfjpyDOFcc9_GS-9-R_05fanuc-cnc-ethernet-activate.png" size="80" width="624" height="392" caption="Activate settings screen [2]" position="center" darkWidth="624" darkHeight="392" showCaption="true" indent="2"}

8. Press the Soft key two times to reach this page, and then press the Soft key **FOCAS2**.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/yKdznXawbByL6y0g2gJxp_06fanuc-cnc-ethernet-focas2.png" size="80" width="606" height="406" caption="FOCAS2 button reference" position="center" darkWidth="606" darkHeight="406" showCaption="true" indent="2"}

9. Set up the port number, and then press the Soft key **OPRT**.

::Image[]{src="https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/ccr3yWUc7OHaoNw4yGRI__07fanuc-cnc-ethernet-port.png" size="80" width="695" height="421" caption="Port setup screen" position="center" darkWidth="695" darkHeight="421" showCaption="true" indent="2"}

# Step 2: Set up the PLC Device in Manufacturing Connect Edge DeviceHub

Configure the following parameters when you [Connect a Device](docId\:RFVIJdxz7DBAd8mwbismA) with this driver. Update default values to the specific set up of your device.&#x20;

| Parameter           | Value                                    |
| ------------------- | ---------------------------------------- |
| **Type**            | Fanuc Corporation                        |
| **Driver**          | Fanuc CNC Ethernet (Gen1.3)              |
| **Network Address** | The device address you defined in Step 1 |
| **Port**            | 8191                                     |

# Step 3: Configure the List of Registers

When you [Add Tags](docId\:iOaNZd2AwqnkuppgeE3Eh) to the connected device, refer to the following register table and tag parameters.

Refer to the following additional resources:

- [Organize Device and Tag Data by Using Metadata](docId\:f-B720niVlLBer44RfyHN)
- [Tag Formula Variables](docId\:PWd-7P-kZjXkt_pYAwAOw)

## Register Table

| **Name**               | **Value Types**                | **Address Format** | **Min Address** | **Max Address** | **Description**                                                                                                                                                                                                       |                                                 |
| ---------------------- | ------------------------------ | ------------------ | --------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
| G\_Bit                 | bit                            | DDDDo              | 0               | 999977          |                                                                                                                                                                                                                       |                                                 |
| F\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| Y\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| X\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| A\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| R\_Bit                 | bit                            | DDDDDo             | 0               | 599997          |                                                                                                                                                                                                                       |                                                 |
| T\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| K\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| C\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| D\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| E\_Bit                 | bit                            | DDDDo              | 0               | 99997           |                                                                                                                                                                                                                       |                                                 |
| G                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| F                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| Y                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| X                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| A                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| R                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 59999           |                                                                                                                                                                                                                       |                                                 |
| T                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| K                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| C                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| D                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| E                      | usint,sint,int,uint,dint,udint | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_absolute          | dint                           | D                  | 1               | 8               |                                                                                                                                                                                                                       |                                                 |
| cnc\_absolute2         | dint                           | D                  | 1               | 8               |                                                                                                                                                                                                                       |                                                 |
| cnc\_machine           | dint                           | D                  | 1               | 8               |                                                                                                                                                                                                                       |                                                 |
| cnc\_relative          | dint                           | D                  | 1               | 8               |                                                                                                                                                                                                                       |                                                 |
| cnc\_distance          | dint                           | D                  | 1               | 8               |                                                                                                                                                                                                                       |                                                 |
| cnc\_acts              | dint                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_acts2             | dint                           | D                  | 1               | 8               |                                                                                                                                                                                                                       |                                                 |
| cnc\_actf              | dint                           | DDDD               | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdmacror          | float                          | DDDD               | 1               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtoolrng\_number | dint                           | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtoolrng\_life   | dint                           | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtoolrng\_count  | dint                           | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdparam           | sint,int,float                 | DDDDDDD            | 0               | 9999947         | Address consist of 2 parts. last 2 numbers are axis.                                                                                                                                                                  |                                                 |
| cnc\_rdparam3          | sint,int,float                 | TDDDDDDD           | 0               | 19999947        | Address consists of 3 parts; last 2 number are axis, T:0 Relative axis, 1 Absolute axis.                                                                                                                              |                                                 |
| cnc\_rdalmmsg          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdalmmsg2         | alarm                          | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdalminfo         | alarmInfo                      | D                  | 0               | 19              |                                                                                                                                                                                                                       |                                                 |
| cnc\_statinfo          | statinfo                       | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_statinfo2         | statinfo                       | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_gettimer\_date    | date                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_gettimer-time     | time                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtpfsr           | dint                           | TDDDD              | 0               | 19999           | T 0: Machining Mode, 1: Lathe mode                                                                                                                                                                                    |                                                 |
| cnc\_rdsvmeter         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspmeter\_meter  | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspmeter\_speed  | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdprgnum          | custom                         | R/W                | D               | 0               | 0                                                                                                                                                                                                                     | Running and main program number under execution |
| cnc\_exeprgname        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdseqnum          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdblkcount        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdopnlsgnl        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_sysinfo           | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_sysinfo\_ex       | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_alarm             | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_alarm2            | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdposition        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtofsinfo        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtofsinfo2       | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_tofs\_mge         | custom                         | TTTDDDD            | 0               | 1029999         |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdparainfo        | custom                         | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdparainfo3       | custom                         | DDDD               | 0               | 9999            |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdactfixofs       | custom                         | DD                 | 1               | 48              |                                                                                                                                                                                                                       |                                                 |
| pmc\_rdpmcinfo         | custom                         | DD                 | 0               | 99              |                                                                                                                                                                                                                       |                                                 |
| pmc\_getdtailerr       | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| pmc-rdalmmsg           | custom                         | DD                 | 1               | 99              |                                                                                                                                                                                                                       |                                                 |
| cnc\_diagnoss          | sint,int,float                 | DDDDDDD            | 0               | 9999947         |                                                                                                                                                                                                                       |                                                 |
| cnc\_diagnosr          | sint,int,float                 | DDDDDDD            | 0               | 9999947         | Address consist of 2 parts. last 2 numbers are axus,                                                                                                                                                                  |                                                 |
| cnc\_rddiaginfo        | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdopmsg           | custom                         | D                  | 0               | 9               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdopmsg2          | custom                         | D                  | 0               | 9               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdopmsg3          | custom                         | D                  | -1              | 9               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspcss           | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspeed           | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspload          | custom                         | DD                 | 0               | 99              |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspmaxrpm        | custom                         | DD                 | 0               | 99              |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdspgear          | custom                         | DD                 | 0               | 999             |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdgrpid2          | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdngrp            | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdntool           | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdlife            | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdcount           | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd1length         | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rd2length         | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rd1radius         | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rd2radius         | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_t1info            | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_t2info            | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_toolnum           | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rdtoolgrp         | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtoolgrp         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdusegrpid        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdmaxgrp          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdmaxtool         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdusetlno         | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd1tlifedata      | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rd1tlifedat2      | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rd2tlifedata      | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rdgrpinfo         | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdgrpinfo2        | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdgrpinfo3        | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdgrpinfo4        | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtinfo           | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtlusegrp        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtlgrp           | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtltool          | custom                         | TTTTTDDDDD         | 0               | 9999999999      | Address consist of 2 parts. first 5 numbers are group number.                                                                                                                                                         |                                                 |
| cnc\_rdexchgtgrp       | custom                         | DDDDD              | 0               | 99999           |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdtlgeomsize\_ext | custom                         | DDDDDD             | 0               | 199999          | Address consist of 2 parts. first 1 numbers are coordinate.                                                                                                                                                           |                                                 |
| cnc\_rdzofs<br />      | dint                           | DDDdd              | 0               | 99948           | Address consist of 2 parts. first 3 numbers are offset number, second 2 numbers are axis.                                                                                                                             |                                                 |
| cnc\_rdzofsinfo<br />  | dint                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdfixofs<br />    | dint                           | Ddd                | 101             | 848             | Address consist of 2 parts. first 1 numbers are c fixture offset number.                                                                                                                                              |                                                 |
| cnc\_rdintchk          | dint                           | DDDDd              | 0               | 99997           | Address consist of 2 parts. first 4 numbers are check data number, second 1 number is type of coordinate.                                                                                                             |                                                 |
| cnc\_rdwkcdshft        | dint                           | DD                 | 1               | 48              |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdwkcdsfms        | dint                           | DD                 | 1               | 48              |                                                                                                                                                                                                                       |                                                 |
| cnc\_wksft\_rnge       | custom                         | DD                 | 1               | 48              |                                                                                                                                                                                                                       |                                                 |
| cnc\_dtsvcnclupdn      | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_dtsvgetdncpg      | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rddncfname        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rddsdncfile       | custom                         | D                  | 0               | 1               | 0: DATA SERVER, 1: DATA SERVER Host&#xD;                                                                                                                                                                              |                                                 |
| cnc\_dsftpstat         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_dsftpcancel       | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdloopgain        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdcurrent         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdsrvspeed        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdnspdl           | dint                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdopmode          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdposerrs         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_loadtorq          | short                          | Ddd                | 0               | 147             | D 1: Spindle motor, 0: Servo motor, dd: Axis                                                                                                                                                                          |                                                 |
| cnc\_rddiag\_ext       | custom                         | DDDD               | 0               | 9999            | DDDD: Specify the pointer to the array of the diagnosis data numbers.                                                                                                                                                 |                                                 |
| cnc\_getpath           | dint                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_sysconfig         | custom                         | D                  | 0               | 0               | Reads the CNC system configuration information.                                                                                                                                                                       |                                                 |
| cnc\_rdmenuswitch      | dint                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdradofs          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdlenofs          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdfixcycle        | customcustom                   | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdcdrotate        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd3dcdcnv         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdmirimage        | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdscaling         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd3dtofs          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdposofs          | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdaxisdata        | custom                         | Dd                 | 10              | 59              | D: class of data, d: type                                                                                                                                                                                             |                                                 |
| cnc\_skip              | custom                         | DD                 | 1               | 48              | DD: axis                                                                                                                                                                                                              |                                                 |
| cnc\_srvdelay          | custom                         | DD                 | 1               | 48              | DD: axis                                                                                                                                                                                                              |                                                 |
| cnc\_accdecdly         | custom                         | DD                 | 1               | 48              | DD: axis                                                                                                                                                                                                              |                                                 |
| cnc\_rdmovrlap         | custom                         | DD                 | 1               | 48              | DD: axis                                                                                                                                                                                                              |                                                 |
| cnc\_canmovrlap        | custom                         | DD                 | 1               | 48              | DD: axis                                                                                                                                                                                                              |                                                 |
| cnc\_rdhndintrpt       | custom                         | D                  | 0               | 1               | 0: input unit, 1: output unit                                                                                                                                                                                         |                                                 |
| cnc\_rd3dtooltip&#xD;  | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd3dpulse         | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd3dmovrlap       | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rd3dofschg        | dint                           | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdunsolicprm      | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdunsolicprm2     | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdunsolicmsg      | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_rdunsolicmsg2     | custom                         | D                  | 0               | 0               |                                                                                                                                                                                                                       |                                                 |
| cnc\_modal             | custom                         | DDDD               | 0               | 3033            | Address consist of 2 parts. First 3 numbers are the type.                                                                                                                                                             |                                                 |
| cnc\_rdgcode           | custom                         | DDDD               | 0               | 1032            | Address consist of 2 parts. First 3 numbers are the group of G code.                                                                                                                                                  |                                                 |
| cnc\_rdcommand         | custom                         | DD                 | 10              | 32              | Address consist of 2 parts. First number is type. 1: Read all modal data except G code at a time, 2: Read all commanded data at a time, 3: Read all commanded data concerning axis at a time. Second Number is block. |                                                 |
| cnc\_rdmacro           | float                          | DDDD               | 0               | 9999            | custom macro variable number                                                                                                                                                                                          |                                                 |
| cnc\_rdmacror2         | float                          | DDDD               | 0               | 9999            | custom macro variable number                                                                                                                                                                                          |                                                 |
| cnc\_wrmacro           | float                          | DDDD               | 0               | 9999            | custom macro variable number                                                                                                                                                                                          |                                                 |
| cnc\_wrmacror          | float                          | DDDD               | 0               | 9999            | custom macro variable number                                                                                                                                                                                          |                                                 |
| cnc\_wrmacror2         | float                          | DDDD               | 0               | 9999            | custom macro variable number                                                                                                                                                                                          |                                                 |
| pmc\_wrcntldata        | custom                         | DDDD               | 0               | 9999            | group number                                                                                                                                                                                                          |                                                 |
| pmc\_wrcntlgrp         | uint                           | D                  | 0               | 0               | group number                                                                                                                                                                                                          |                                                 |
| pmc\_wrkpm             | custom                         | &#xD;DDDDD         | 0               | 65535           | start address                                                                                                                                                                                                         |                                                 |
| pmc\_wrkpm2            | custom                         | &#xD;DDDDD         | 0               | 65535           | start address                                                                                                                                                                                                         |                                                 |
| pmc\_wrmsg             | custom                         | 0                  | 0               | 0               | start address                                                                                                                                                                                                         |                                                 |
| pmc\_wrpmcparam        | custom                         | 0                  | 0               | 0               | start address                                                                                                                                                                                                         |                                                 |

## Tag Parameters

- **Name**: Select a register name from the drop-down list. The available options depend on the names in the register table.&#x20;
- **Value Type**: Select a data type from the drop-down list. The available options depend on the register name selected.&#x20;
- **Polling Interval**: Enter a value in seconds. This determines how often the tag should poll the register for data.
- **Tag Name**: Enter a name for the tag.
- **Description** (Optional): Enter a description for the tag. &#x20;
- **Address**: Enter a tag address. The value must in the decimal format, within the allowed min/max range. Omit the leading zeros. The device might use the decimal (D), hexadecimal (H), or octal (O) address format. See the Register Table at the bottom of the dialog box. For Bit tags, append the bit address without the bit separator. The lowercase letters in the address format indicate how many digits you should enter in the Bit address.
- **Path No**: Enter the path number.&#x20;
  - If you are using 2-path control with independent macros on each path, then entering 1 or 2 should be the correct configuration.&#x20;
  - If you are using custom macro common variables (the macros used are the same for each path), then this value should be irrelevant and the default value of 1 can be used.&#x20;
- **Count**: Enter the number of register values to read. A count higher than 1 will generate an array of values from the address value configured and respective subsequent address values. &#x20;
- **Tag Formula**: Enter a formula for the tag to process the generated data. Two variables are permitted: `value` (current tag value) and `timestamp` (current tag UNIX time in milliseconds). The following math functions are available:
  - sin
  - cos
  - sqrt
  - tan
  - power: power(`x`) performs the operation `10^x`.
  - log: log(`x`) is the natural logarithm (the logarithm is in base `e`).&#x20;
  - exp: exp(`x`) performs the operation `e^x`.
- **Only Publish on Change of Value**: Select the checkbox to only publish NATS messages when the *value&#x20;*&#x70;arameter changes to a new value. *Change of Value* only applies to boolean, numeric (such as int or float), and simple string data types. It does not apply to complex types, such as JSON or array. Poll-once topics will not be affected by *Change of Value* settings. These topics will still only see a single message.&#x20;
- **Meta Data**: Metadata summarizes basic information about data. This feature allows you to define key-value pair data for the device output payload later on. Metadata can then be used to find, use, and reuse particular instances of data.&#x20;

:::hint{type="info"}
**Note**: If you use special characters in meta data key names, the special characters are replaced with underscore characters in the payload. This can cause two key names to be combined into one. For example, configuring the key names a\*\*b and a&\&b will cause only one key name to be created (a\_\_b).&#x20;
:::

