Skip to content

๐ŸŸจ LabVIEW library to communicate with Fanuc robots. Nothing to install on the robot. Modern alternative to PCDK (FRROBOT.DLL) or Robot IF (FRRJIF.DLL): pay once for a company-wide license, then use foreverโ€”no runtime or development fees, unlimited robots, developers, and redistributed software.

Notifications You must be signed in to change notification settings

underautomation/Fanuc.vi

Repository files navigation

Fanuc LabVIEW Library

Fanuc LabVIEW Library

LABView 2010 LABView 2011 LABView 2012 LABView 2013 LABView 2014 LABView 2015 LABView 2016 LABView 2017 LABView 2018 LABView 2019 LABView 2020 LABView 2021 LABView 2022 LABView 2023 LABView 2024

๐Ÿค– Effortlessly Communicate with Fanuc robots

The Fanuc SDK enables seamless integration with Fanuc robots for automation, data exchange, and remote control. Ideal for industrial automation, research, and advanced robotics applications.

It allows you to connect to a real robot, but also to ROBOGUIDE.

๐Ÿ”— More Information: https://underautomation.com/fanuc
๐Ÿ”— Also available for ๐Ÿ’ป .NET (C# / VB) & ๐Ÿ Python


โญ Star if you like it !

๐Ÿ‘๏ธ Watch to be notified of latest updates !

Overview.of.LabVIEW.Library.for.Fanuc.mp4

๐Ÿš€ TL;DR (Too Long; Didnโ€™t Read)

  • โœ”๏ธ PCDK / RobotIF Alternative: No need for Fanucโ€™s PCDK or Robot Interface
  • ๐Ÿ“– Read/Write Variables: Access and modify system variables.
  • ๐Ÿ”„ Register Control: Read/write registers for positions, numbers, and strings.
  • ๐ŸŽฌ Program Control: Run, abort, and reset programs.
  • ๐Ÿ”” Alarm Management: Reset alarms and view alarm history.
  • โšก I/O Control: Manage ports and I/O values (UI, UO, GI, GO, etc.).
  • ๐Ÿ” State Monitoring: Get safety status, position, diagnostics, and more.
  • ๐Ÿ“‚ File Management: Easily manipulate files.

No additional installations or Fanuc options are required to use this SDK.


๐Ÿ“ฅ Download Example Applications

Explore the Fanuc SDK with fully functional example applications for your LabVIEW version.

๐Ÿ“Œ Download: ๐Ÿ“ฅ UnderAutomation.Fanuc.lvproj


๐Ÿ“Œ Features

The library is a set of .vi files grouped under a library UnderAutomation.Fanuc.lvlib.

๐Ÿ“Œ Download: ๐Ÿ“ฅ UnderAutomation.Fanuc.lvlib

๐Ÿ–ง Connect to the robot

ConnectToRobot.vi allows you to connect to the robot using its IP address. Booleans enable or disable connection via Telnet, FTP and SNPX protocols. Telnet also requires a password. For FTP, you need to enter the user and password. This VI returns an instance of the robot and of each protocol. These returned values are to be used as input to the VIs described below.

Connect to robot


๐Ÿ–ฅ๏ธ Remote Control via Telnet KCL

Telnet KCL allows you to send commands to a Fanuc robot, such as resetting alarms, writing variables, setting an IO, and more. This feature is natively available on all Fanuc robots without requiring any additional options.

To ensure that Telnet is available on your robot or your ROBOGUIDE project, please follow this guide:

โ†—๏ธ Enable TELNET on your robot

Run

To run a program, you need the following conditions :

  • Set $RMT_MASTER = 1 and $REMOTE_CFG.$REMOTE_TYPE=1 (you can use SetVariableValue.vi)
  • Turn the TP switch to off
  • Reset alarms

Run

Pause

Pause

Continue

Continue

Hold

Hold

Abort

Abort

Abort all programs

Abort all programs

Clear program

Clear program

Get current position

Get current position

Get variable value

Get variable value

Set variable value

Set variable value

Clear variables

Clear variables

Reset alarms

Reset alarms

Set port

Set port

Simulate

Simulate

Unsimulate

Unsimulate

Unsimulate all

Unsimulate all

Telnet is connected

Telnet is connected


๐Ÿ“‚ File & Variable Management via FTP Memory Access

FTP (File Transfer Protocol) provides access to internal controller files, as well as fast parsing and decoding, including .va variable files and .dg diagnostic files.

Get current position

Get current position

Get IO states

Get IO states

Get IO states front

Get safety status

Get safety status

Get all errors list

Get all errors list

Get numeric registers

Get numeric registers

Get position registers

Get position registers

Get string registers

Get string registers


๐Ÿš€ High-Speed Data Exchange via SNPX (RobotIF)

SNPX (Also known as RobotIF, Robot Interface, or SRTP) allows for quick reading and writing of data on the robot.

TCP port Robot IF Server (by default 60008) should be accessible on your controller.

To enable SNPX on your robot, you need one of the following option :

  • If R650 FRA params is selected (Option "FANUC America Corp." in "Advanced" tab of ROBOGUIDE "Worcell creation wizard - Step 7 Robot options"), R553 "HMI Device SNPX" is needed.
  • If R651 FRL Params is selected (Option "FANUC Ltd." in this "Advanced" tab), no option is needed.

Get world position

Get world position

Get user frame position

Get user frame position

Read position register

Read position register

Write position register

  • Write cartesian position

Write cartesian position register

  • Write joints position

Write joints position register

Read numeric register

Read numeric register

Write numeric register

Write numeric register

Read string register

Read string register

Write string register

Write string register

SNPX is connected

SNPX is connected


๐Ÿ“œโœ… Register License

You have 30 days free trial. For a long term use, you need to buy a license (See pricing). Then, we will send you a license key and you will just have to specify it as input of RegisterLicense.vi.

This VI must be called every time the application is started. It authorizes the call to ConnectToRobot.vi without license errors.

Register License


๐Ÿ” Compatibility

โœ… Supported Robots: R-J3iB, R-30iA, R-30iB
โœ… Operating Systems: Windows
โœ… LabVIEW Versions: LV2010 and newer


๐Ÿ“ข Contributing

We welcome contributions! Feel free to:

  • Report issues via GitHub Issues
  • Submit pull requests with improvements
  • Share feedback & feature requests

๐Ÿ“œ License

โš ๏ธ This SDK requires a commercial license.
๐Ÿ”— Learn more: UnderAutomation Licensing


๐Ÿ“ฌ Need Help?

If you have any questions or need support:

About

๐ŸŸจ LabVIEW library to communicate with Fanuc robots. Nothing to install on the robot. Modern alternative to PCDK (FRROBOT.DLL) or Robot IF (FRRJIF.DLL): pay once for a company-wide license, then use foreverโ€”no runtime or development fees, unlimited robots, developers, and redistributed software.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •