ROBOT New function: R-50iA Supports Python
The new R-50iA robot controller can execute Python scripts as standard function.
Flexibility in Building Robot Systems
- Python is widely used in Web applications and numerical calculations. Many engineers have mastered Python programming.
- With the R-50iA, customization specific to the system, such as reading/writing files, communication processing, and numerical calculation, can be performed with a Python program. The capability to use Python has dramatically expanded the freedom in building robot systems and has greatly improved development efficiency.
- Python scripts are executed by calling from the robot’s TP program or from a KAREL program.
Development in Visual Studio Code
- Python programs for R-50iA are developed in Visual Studio Code on a PC connected via Ethernet.
- A rich assortment of debugging functions such as setting breakpoints, single-step execution, and variable watching are available to efficiently build systems.
- The controller has a Python interpreter, executing scripts during production operation without a PC.
Enriched Libraries
- For the R-50iA, a Python library exclusive to FANUC ROBOTs is available.
- With this library, various information of the robot controller can be accessed through a Python script. Such information includes I/O signals, numbers/position/string registers, the robot’s current position, I/O comments, and alarm history.
“Python” is a registered trademark of the Python Software Foundation.
“Visual Studio Code” is a trademark of Microsoft Corporation. All rights reserved.
(January 2025)