Browsed by
Autor: Oriol Fillo

(English) Ardbox: Water treatment plant – Control tank level

(English) 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 has been running flawlessly for several months, providing…

Leer más Leer más

Modbus TCP M-Duino

Modbus TCP M-Duino

Modbus TCP can be programmed in M-Duino PLCs. It’s required to install Industrial Shields boards. Follow this link to download our boards.  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 your LAN. An illustrative and simple example to test the application is…

Leer más Leer más

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’…

Leer más Leer más

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:…

Leer más Leer más

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…

Leer más Leer más

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 // SDA…

Leer más Leer más

PLC- HummTouch RS485/RS232

PLC- HummTouch RS485/RS232

In this post we are going to learn how to send data between Industrial Shields PLCs and HummTouch PanelPc. In order to apply or implement the functionalities and examples described, the PanelPC   HummTouch Linxu/Android is assumed to include the suitable preloaded image. All PanelPC acquired as of 21-08-2015 will include the required image. For those PanelPC  acquired before 21-08-2015 the procedure to install the new compatible image will be provided via email. HummTouch The following chart shows the D37 connector  pinout…

Leer más Leer más

PLC- Touchberry PI RS485/RS232

PLC- Touchberry PI RS485/RS232

In this post we are going to learn how to send data between Industrial Shields PLCs and TouchBerry PI PanelPc. In order to apply or implement the functionalities and examples described, the TouchBerry PI is assumed to include the suitable preloaded image. All PanelPC acquired as of 21-08-2015 will include the required image. For those PanelPC  acquired before 21-08-2015 the procedure to install the new compatible image will be provided via email. Touchberry  PI Touchberry PI supports TTL (5V-0V) serial communication through the D37…

Leer más Leer más

RS485 and RS232 implementation

RS485 and RS232 implementation

In this post we are going to implement  RS485 ans RS232 communication protocols to the Industrial Shields PLC Ardbox and/or MDuino families. IMPORTANT!!:  RS232 is already available for Ardbox family and for MDuino family. Included Arduino libraries for this post SoftwareSerial.h The example presents the code for a Master device and for a Slave device to communicate through RS485 and RS232 protocols. The routines of the sketches are the following: #Master: The Master device reads (upon pressing “enter”) any characters that are typed from the Arduino…

Leer más Leer más

Write Relay Outputs Ardbox/MDuino Relay

Write Relay Outputs Ardbox/MDuino Relay

Ardbox Relay relay outputs (220V / 5A):  R1, R2, R3, R4, R5, R6, R7, R8 MDuino Relay relay outputs (220V/ 8A): R0.1, R0.2, R0.3, R0.4, R0.5, R0.6, R0.7 (MDuino 19R) R0.1, R0.2, R0.3, R0.4, R0.5, R0.6, R0.7, R0.8,  R1.1, R1.2, R1.3, R1.4, R1.5, R1.6, R1.7, R1.8 (Mduino 38R) R0.1, R0.2, R0.3, R0.4, R0.5, R0.6, R0.7, R0.8,  R1.1, R1.2, R1.3, R1.4, R1.5, R1.6, R1.7, R1.8, R2.1, R2.2, R2.3, R2.4, R2.5 (NC), R2.6, R2.7, R2.8 (Mduino 57R)   In this post we are going to learn how to define the state of the relay outputs. In this example relay output R1 (Ardbox Relay)  is switched ON (switch closed) and switched…

Leer más Leer más