# FANUC OPC connection?

**URL:** <https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302>\
**Category:** Ignition\
**Created:** [December 12, 2017, 4:12pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302 "2017-12-12T16:12:50Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![kredilla](https://avatars.discourse-cdn.com/v4/letter/k/3d9bf3/32.png) [@kredilla](https://forum.inductiveautomation.com/u/kredilla)\
**Post date:** [December 12, 2017, 4:12pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/1 "2017-12-12T16:12:50Z")

</div>

Does anyone know what port a FANUC controller would use for OPC, and what driver would be used to configure such a connection in Ignition? I assume this is possible?

Communicating with Tech support, nobody knows what an OPC TCP port is what it would be on the robot/controller.

Thanks!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2017, 4:25pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/2 "2017-12-12T16:25:02Z")

</div>

> [@kredilla](#):
>
> I assume this is possible?

I'm a little rusty on my Fanuc Robot comms setups, but to my knowledge, they still offer no direct access to the controller internals, other than FTP to/from the robot's filesystem. FTP is available only as an option with an extra fee.  
Fanuc PLCs and CNCs are supported via various 3rd party OPC servers (Kepware in particular).

Fanuc Robots _ **are** _ capable of acting as Ethernet/IP adapters for interfacing with a cell controller, including for safety circuits (on new models). Again, it's an extra-fee option. My [Ethernet/IP module](https://inductiveautomation.com/moduleshowcase/module/automation-professionals-llc-ethernetip-class-1-communications) can be the I/O master for the robot if there is no PLC already in that role.

---

<div class="post-metadata">

**Author:** ![kredilla](https://avatars.discourse-cdn.com/v4/letter/k/3d9bf3/32.png) [@kredilla](https://forum.inductiveautomation.com/u/kredilla)\
**Post date:** [December 12, 2017, 4:50pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/3 "2017-12-12T16:50:40Z")

</div>

Ahh I see, I was wondering if that was the case. Thank you very much for your response, pturmel! That is helpful. After talking with Tech Support, it sounds like probably the best way to get the data I am after is by using a 3rd party OPC server.

I’m a little confused about all of this though, so pardon my ignorance, but why is it that variables like motor speed, current, etc. (i.e. analog outputs) are not available as inputs to the PLC? Or is it possible this data is available to collect through the PLC, but I just lack the knowhow?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2017, 5:09pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/4 "2017-12-12T17:09:01Z")

</div>

> [@kredilla](#):
>
> After talking with Tech Support, it sounds like probably the best way to get the data I am after is by using a 3rd party OPC server.

Note, I don't know of any OPC solution for Fanuc _ **robots** _. I'm aware of 3rd party OPC Server support for Fanuc PLCs and CNCs _ **only** _.

> [@kredilla](#):
>
> why is it that variables like motor speed, current, etc. (i.e. analog outputs) are not available as inputs to the PLC? Or is it possible this data is available to collect through the PLC, but I just lack the knowhow?

Most robot brands make some of that data available to a cell controller PLC, but where possible, it would all need to be configured to show up in the I/O table for the robot/plc interface. Robots have very proprietary algorithms to get the most speed/torque/precision out of their servos, and to offer advanced motion control features. I suspect high resolution, high-sample-rate motor data is closely held to prevent reverse engineering.

---

<div class="post-metadata">

**Author:** ![kredilla](https://avatars.discourse-cdn.com/v4/letter/k/3d9bf3/32.png) [@kredilla](https://forum.inductiveautomation.com/u/kredilla)\
**Post date:** [December 12, 2017, 5:20pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/5 "2017-12-12T17:20:15Z")

</div>

Oh okay, thank you for the clarification. That makes sense. Thank you for sharing your knowledge!

---

<div class="post-metadata">

**Author:** ![ingraham](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@ingraham](https://forum.inductiveautomation.com/u/ingraham)\
**Post date:** [December 12, 2017, 8:03pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/6 "2017-12-12T20:03:19Z")

</div>

Fanuc robots have an option for SNPX. They call it HMI device. RTL-R553-HT is the part number. (Or at least was at some point in the past. Fanuc part numbers can be very weird.) There are various OPC servers for SNPX, including Kepware. I don’t know much about it beyond that. You’ll have to track down documentation from Fanuc, which isn’t always easy.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2017, 8:10pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/7 "2017-12-12T20:10:37Z")

</div>

> [@ingraham](#):
>
> Fanuc robots have an option for SNPX. They call it HMI device. RTL-R553-HT is the part number.

That's very interesting -- it's the same protocol as the GE 90-30 ethernet models. Direct support for this in Ignition is on my module-building to-do list.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 12, 2017, 8:26pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/8 "2017-12-12T20:26:12Z")

</div>

Y’all might find [this thread](http://www.plctalk.net/qanda/archive/index.php/t-57917.html) over on [plctalk.net](http://plctalk.net) interesting.

---

<div class="post-metadata">

**Author:** ![ahardin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ahardin/32/66398_2.png) [@ahardin](https://forum.inductiveautomation.com/u/ahardin)\
**Post date:** [April 10, 2018, 5:31pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/9 "2018-04-10T17:31:13Z")

</div>

I’m looking into a similar project. From what I found, we will need to use MT Connect as the protocol and connect to MT Connect with Kepware as the OPC server. This is the only way that I have found so far to make it work. Once you done, could you put some basic information together to share?

Thanks,  
Aaron

---

<div class="post-metadata">

**Author:** ![RobotCOOP](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@RobotCOOP](https://forum.inductiveautomation.com/u/RobotCOOP)\
**Post date:** [November 19, 2018, 7:17pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/10 "2018-11-19T19:17:24Z")

</div>

Hi guys,  
I’ll link to this conversation and hopefully someone can help…  
I have to connect a Linux based PC with a FANUC robot. I have experience with Kepware that has the driver for GE FANUC.  
Do you have some reccomandation of OPC UA in Linux that can comunicate with FANUC controller?

THanks!

---

<div class="post-metadata">

**Author:** ![ingraham](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@ingraham](https://forum.inductiveautomation.com/u/ingraham)\
**Post date:** [December 18, 2018, 4:29pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/11 "2018-12-18T16:29:54Z")

</div>

I can’t find a Linux SNPX OPC UA server. The only thing I can think of is to add the EtherNet/IP adapter option to the Fanuc, and add EtherNet/IP scanner functionality to Ignition with the  
[EthernetIP Class 1 Communications](https://inductiveautomation.com/moduleshowcase/module/automation-professionals-llc-ethernetip-class-1-communications) module from Automation Professionals, LLC

---

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [December 18, 2018, 8:10pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/12 "2018-12-18T20:10:45Z")

</div>

Check out this thread. The instruction document has worked well for me.

> [@Connecting to Fanuc Robot R30iA controller](http://forum.inductiveautomation.com/t/connecting-to-fanuc-robot-r30ia-controller/7393):
>
> Im working with a robot integrator that doesn’t use a PLC in their system, they setup their robot cells so the robot controller handles all the logic and IO… Therefore the HMI needs to communicate directly with the controller. In an effort to see if I can talk them into using ignition on my project I figured out how to set up the communications on my own and made a “how to” manual for them. Thought I would post it here too… if anyone out there needs to go straight to a Fanuc robot maybe the …

---

<div class="post-metadata">

**Author:** ![ingraham](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@ingraham](https://forum.inductiveautomation.com/u/ingraham)\
**Post date:** [December 27, 2018, 3:55pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/13 "2018-12-27T15:55:00Z")

</div>

Not sure why it didn’t occur to me that you could use Modbus TCP as well as EtherNet/IP, which would mean you could use Ignition’s native Modbus TCP OPC server instead.

---

<div class="post-metadata">

**Author:** ![jimeliot.d](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@jimeliot.d](https://forum.inductiveautomation.com/u/jimeliot.d)\
**Post date:** [May 24, 2022, 5:08am UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/14 "2022-05-24T05:08:47Z")

</div>

Is this method of communicating with the FANUC Machines using MODBUS TCP/IP working in production environment. If so what port does it communicate?

---

<div class="post-metadata">

**Author:** ![melgmelanie](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@melgmelanie](https://forum.inductiveautomation.com/u/melgmelanie)\
**Post date:** [July 15, 2024, 6:18pm UTC](https://forum.inductiveautomation.com/t/fanuc-opc-connection/16302/15 "2024-07-15T18:18:07Z")

</div>

All control Fanuc machines have by default port 8193, I integrate cnc to ignition using FASOPC by Fanuc
