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

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

DS18B20 Temperature sensor- One Wire – Ardbox – MDuino

DS18B20 Temperature sensor- One Wire – Ardbox – MDuino

This post describes how to use the DS18B20 digital temperature sensor with  Ardbox and MDuino PLCs. DS18B20 sensor implements the one wire protocol and it works at 5V.  In the Ardbox and Mduino, this transducer can not be directly connected to the standard inputs Ix.x of the PLCs.  Working at 5V and through the One wire protocol it must be directly connected to Arduino Pins. To do so, Industrial Shields PLCs hold some pins available. Ardbox: DE-D7  // RE-D4 // SDA-PIN2  // SCL-PIN3   MDuino: SCL…

Read More Read More

MODBUS RTU M-Duino Ardbox

MODBUS RTU M-Duino Ardbox

In this post it is shown how to implement Modbus RTU (RS485/RS232) in M-Duinos and Ardbox PLCs. The library used is a modification of the SimpleModbus, which has been adapted to the internal configuration of Industrial Shields PLCs (SimpleModbus library for Industrial Shields PLCs).  Adapted libraries to Industrial Shields PLCs  are available here.   First the code for the Master is showed below. #include <SoftwareSerial.h> #include <SimpleModbusMasterSoftwareSerial.h> #define ARDBOX //#define MDUINO #ifdef ARDBOX #define SSerialRX 11 // RO //RS485 Receive pin…

Read More Read More