Fanuc CNC Ethernet (Gen1)
Review the following information for setting up and configuring the Fanuc CNC Ethernet (Gen1) driver.
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
If the device is configured for Ethernet access, find its network parameters. Otherwise, follow the steps below.
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.
RDPMC Tags
RDPMC tags provide all information about theĀ Address Type, theĀ Address NumberĀ to read data from, andĀ SizeĀ within the tag itself.
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.
Refer to the following configurations if the device doesn't connect right away.
To configure the device:
Note down the following information and refer to it when needed.
Press Soft key five times to set up the IP Address.
Press the Soft keyĀ Embed PortĀ to set up the network parameters, and then press the Soft keyĀ OPRT.
Press the Soft keyĀ RestartĀ to activate the settings.
Press the Soft keyĀ ExecuteĀ to activate the settings.
Press the Soft key two times to reach this page, and then press the Soft keyĀ FOCAS2.
Set up the port number, and then press the Soft keyĀ OPRT.
Parameter | Value |
---|---|
Type | Fanuc Corporation |
Driver | Fanuc CNC Ethernet (Gen1) |
Network Address | The device address you defined in Step 1 |
Port | 8191 |
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_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
| dint | DDDdd | 0 | 99948 | Address consist of 2 parts. first 3 numbers are offset number, second 2 numbers are axis. |
cnc_rdzofsinfo
| dint | D | 0 | 0 | ļ»æ |
cnc_rdfixofs
| 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 |
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 | 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 | DDDDD | 0 | 65535 | start address |
pmc_wrkpm2 | custom | DDDDD | 0 | 65535 | start address |
pmc_wrmsg | custom | 0 | 0 | 0 | start address |
pmc_wrpmcparam | custom | 0 | 0 | 0 | start address |
ļ»æ