Featured
HVAC System activated through an SCADA

HVAC System activated through an SCADA

Introduction As a continuation of the Air-conditioning system post, in today´s newsletter Opiron suggests to expand the HVAC system controlled through the Touchberry Pi Panel PC and Ardbox Relay from IndustrialShields. As the last post, the suggested SCADA that will run on the Touchberry Pi is the following: myscadatechnologies.com Summarizing the previous post, we designed a system that was able to activate the air conditioning with a relay. In order to expand the system, we will include the following sensors to have a complete automatic…

Read More Read More

Featured
Controlling temperature with a got exchanger through a modulating valve in chemical industry

Controlling temperature with a got exchanger through a modulating valve in chemical industry

Introduction In industrial applications, the need to control temperature is usual. A typical element used and designed with this purpose is the hot exchanger, which interchanges two or more fluids with different temperatures.In this post we are going to explain how to implement a temperature control through a modulating valve that will regulate the amount of steam that enters the hot exchanger, in order to heat the chemical process. To fulfill the specified requirements, Opiron electronics has developed a PID algorithm…

Read More Read More

Featured
Feeding a packaging machine with a frequency driver with Arduino

Feeding a packaging machine with a frequency driver with Arduino

In the dairy industry, packaging machines are used to package food in containers such as yogurt, milk, etc. They are usually integrated into more complex systems, and they are fed by a tank that contains the product (usually milk). In this project we will design a system composed of a tank with milk, a packaging machine, a valve to open and close the way to the machine, and a PID formed by a flow meter and a pump controlled by…

Read More Read More

Software available to use Arduino based PLC

Software available to use Arduino based PLC

Software available to use Arduino based PLC: All PLCs use an original Arduino board inside. The Ethernet family PLCs (M-Duino) use an original Arduino Mega. The 20IOs PLC (Ardbox) use an original Arduino Leonardo. For this reason it is possible to use several softwares to develop your project. See below a list of some of availables software you can use on Arduino based PLCs: Arduino IDE:  The original one. This is the most used platform to use Arduino boards.  It is not…

Read More Read More

Using the original Arduino IDE

Using the original Arduino IDE

The Industrial Shields PLCs use original Arduino boards. Then the PLCs can be used as individually Arduino boards by The Arduino IDE. To use the original boards let the users to programm the PLCs by others programs which can program Arduino boards too.  The Ethernet family PLCs (M-Duino) use an original Arduino Mega. The 20IOs PLC (Ardbox) use an original Arduino Leonardo. To start using this devices it is necessary: Download the Arduino IDE from www.arduino.org Arduino Ide let to use these devices…

Read More Read More

Industrial Shields library in Arduino IDE.

Industrial Shields library in Arduino IDE.

How to use the Industrial Shields library in the Arduino IDE: (NOTE: This example also works for any other library you want to charge on the Arduino IDE). 1. Download the original IndustrialShields library from GitHub.   Click on: “Clone or download”

How to connect the Ethernet Port using w5100 library

How to connect the Ethernet Port using w5100 library

In this example, you will use the Ethernet port on the Ethernet family products. Harware Required: Ethernet family products Ethernet cable. Comments: All Ethernet family products use an Arduino Mega 2560 connected to the w5100 Ethernet chip. The standard Ethernet shield for arduino use the SPI port where are connected the pins 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS), but for the M-duino Ethernet PLC the standard w5100 library from Arduino IDE the SS function is done by the digital…

Read More Read More

Ardbox: Water treatment plant – Control tank level

Ardbox: Water treatment plant – Control tank level

This posts presents an application developed with Industrial Shields Ardbox Relay 7.0. In the facilities of a water treatment plant, retrofitting of the existing automated system was required. The control system is responsible to maintain the tank level of water within defined limits. The level can be forced to increase/decrease operating  an available outflow pump. Industrial Shields Ardbox Relay was adopted as the central unit of the control system and it has been running flawlessly for several months, providing a flexible,…

Read More Read More

Modbus TCP M-Duino

Modbus TCP M-Duino

Modbus TCP can be programmed in M-Duino PLCs. Once the Arduino IDE is configured according to Industrial Shields requirements http://blog.industrialshields.com/es/ethernet-shield-libraries/, the follwoing library can be used to program the M-Duino as Modbus TCP slave. Basically, this example links holding registers 40000, 40001 and 40002 to outputs Q0.1, Q0.2 and Q0.3 of the M-Duino. In this way these 3 outputs can be operated via a Modbus TCP master. You will have to modify the IP address and network parameters according to…

Read More Read More

Interrupt Inputs Ardbox / MDuino

Interrupt Inputs Ardbox / MDuino

This post shows how to use the interrup inputs that  Industrial Shields PLCs have available. For information and description on what are interrupt inputs and how these work see this link. The interrupt inputs for Industrial Shields PLCs are listed in the pinout section of the datasheet.    In this example the interrupt input I0.0  is used to caught  the pulse of an encoder (for proper connection and wiring  check this post). Every time that interrupt I00 a RISING edge, the ‘encoder’…

Read More Read More

Isolated Inputs Ardbox/M-Duino

Isolated Inputs Ardbox/M-Duino

In this post it is described how to use the galvanically isolated inputs in Idustrial Shields PLCs (Ardbox and M-Duino). As shown in the Figure below, isolated inputs always have two available connections and both of these connections need to be wired for a proper performance of the inputs. The configuration if the inputs is PNP. All isolated inputs are DIGITAL,  not ANALOG. Ix.x    –> Signal. Voltage up to 24V (-) Ix.x –> reference or COM of the input signal.   IMPORTANT:…

Read More Read More

Ardbox – MDuino Arduino pin

Ardbox – MDuino Arduino pin

This post describes how to gain direct access to Arduino board pins  inside the  Ardbox and MDuino PLCs. This allows to work with the PLCs in the same way as using an Arduino, in other words,  pins at 5V and configurable as input or outpts. Also, this  enables usage of  sensors  working at lower voltages than industrial standards 10V dc/24Vdc.  NOTE:Make sure the voltage DOES NOT EXCEED 5VDC!!!!!!!! Following are listed the connections with direct access to the Arduino board  pins. Ardbox: DE-D7  // RE-D4 // SDA-PIN2  // SCL-PIN3 MDuino: SCL…

Read More Read More