PI 043-15 Lohr am Main, 2015-11-16

Lean commands for Industry 4.0

With the simple script language Lua, putting robots into operation is quick and easy with Lua.

Bosch Rexroth provides software development kit for the script language Lua for Open Core Interface

The engineering framework Open Core Engineering by Rexroth now also supports the script language Lua. This gives users another option for bringing more intelligence into production. The simple and understandable syntax of Lua has proven itself on a global level. Bosch Rexroth is now also making the advantages, which for example are used in controlling complex figures in computer games, available to the automation industry. Lua can be used to control robotics or program axial movements. The end user can optimize its machine program itself with simple software tools – without needing to program one single line of PLC code.

Lua is ideally suited for the use in small networked devices and control units, as the size of the script interpreter is very small – less than half of one megabyte. In modular production, Lua scripts stored on the component carrier via RFID chip can contain complete work instructions. Machines in a M2M network or higher-level product systems generate scripts independently in order to control other processes and machines – as a basis for integrated machine intelligence. In light of the diverse possible uses in the Industry 4.0 environment, Rexroth integrated the Lua interpreter into the Open Core Interface of its IndraMotion MLC control units. OEMs thus create solutions in a combination of Lua and PLC code, where the customer-specific components are integrated into the script. This significantly reduces the effort required for adjustment for technological development.

Easier programming and commissioning of robotics

The flexibility of Lua allows for user-specific command interfaces with which axial movements of robotics and other machines can very easily be defined. For example, Rexroth has a simple function library for the programming language Robot Control Language (RCL), which facilitates the transition. As a replacement for RCL, the control system IndraMotion MLC then uses the Lua script.

Today, design engineers no longer require elaborate tools and development environments to represent a pick-and-place process in Lua. They merely write a simple script in a common text editor, and then transfer the file to the control unit. Subsequent expansion stages then promise the browser-based editing and testing of the control unit's integrated web server.

Once the application-specific PLC code has been shifted into simple, easily accessible Lua scripts, the logic becomes transparent, understandable, and adaptable for the end customer. With regard to fast commissioning, the end user quickly loads the script from the control unit into the text editor and completes programming of the axial movement. The service effort on site is also reduced if future adjustments are performed remotely by the customer or an engineer.

The software development kit (SDK) for the script language Lua for the Open Core Interface can now be downloaded for free from Rexroth's engineering network. The Lua development toolkit (LDT), which is also available free of charge, serves as a development environment.

Economical, precise, safe, and energy efficient: drive and control technology from Bosch Rexroth moves machines and systems of any size. The company bundles global application experience in the market segments of Mobile Applications, Machinery Applications and Engineering, Factory Automation, and Renewable Energies to develop innovative components as well as tailored system solutions and services. Bosch Rexroth offers its customers hydraulics, electric drives and controls, gear technology, and linear motion and assembly technology all from one source. With locations in over 80 countries, the company generated sales of 5.6 billion euros in 2014, according to preliminary figures.

To learn more, please visit

The Bosch Group is a leading global supplier of technology and services. The company employs roughly 360,000 associates worldwide (as per April 1, 2015), and generated sales of 48.9 billion euros in 2014, according to preliminary figures.* Its operations are divided into four business sectors: Mobility Solutions, Industrial Technology, Consumer Goods, and Energy and Building Technology. The Bosch Group comprises Robert Bosch GmbH and its roughly 440 subsidiary and regional companies in some 60 countries. Including its sales and service partners, Bosch is represented in roughly 150 countries. This worldwide development, manufacturing, and sales network is the foundation for further growth. In 2014, Bosch applied for some 4,600 patents worldwide. The Bosch Group’s strategic objective is to create solutions for a connected life. Bosch improves quality of life worldwide with products and services that are innovative and spark enthusiasm. In short, Bosch creates technology that is “Invented for life.”

Additional information is available online at , and


Search press releases


Johanna Rauch
Maria-Theresien-Straße 23
97816 Lohr am Main
Phone: +49 9352 18-1358

Related Articles


The factory of the future – how far we have come and where we are going

Imagine a factory where you could change everything apart from the floor, roof and walls within a few days or even hours? Full flexibility, individuality and scalability. This is exactly what the factory of the future is about.

Press Information

The five most expensive savings ideas for the maintenance of machinery and equipment

Machine downtime is always expensive, especially if a whole production line comes to a standstill as a result. For new machinery, the machine manufacturer is still liable, but afterwards the responsibility for maintenance lies solely with the user. Maintenance staff must constantly justify their "unproductive" costs and, hence, try to reduce them. However, some short-term saving ideas lead to nothing but higher total costs in the end. The following are the five most expensive, and unfortunately, not uncommon errors when it comes to machine maintenance.