Quickstart Guide
...
Industrial Systems Connection ...
Fanuc Corporation

Fanuc CNC Ethernet (Gen1)

9min
review the following information for setting up and configuring the fanuc cnc ethernet (gen1) driver manufacturing connect edge compatible series 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 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 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 to configure the device note down the following information and refer to it when needed device fanuc 0i f communication i/f ethernet refer to the following figure 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 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 parameter value type fanuc corporation driver fanuc cnc ethernet (gen1) 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 device and tag metadata use case 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 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 tag parameters name select a register name from the drop down list the available options depend on the names in the register table value type select a data type from the drop down list the available options depend on the register name selected 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 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 if you are using 2 path control with independent macros on each path, then entering 1 or 2 should be the correct configuration 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 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 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 ) exp exp( x ) performs the operation e^x only publish on change of value select the checkbox to customize nats messages to be published only when the value parameter changes from a previous value to a new one 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 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 it can then be used to find, use, and reuse particular instances of data 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)