Navegando por
Categoría: 20 IOs PLC (Ardbox)

Ardbox blog information

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…

Leer más Leer más

(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

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

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

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

Write Digital Outputs Ardbox/MDuino

Write Digital Outputs Ardbox/MDuino

Digital  Ouputs (0-24Vdc): Ardbox Analog: Q0.0, Q0.1, Q0.2 (Digital); Q0.3, Q0.4, Q0.5, Q0.6, Q0.7, Q0.8, Q0.9 (configurable Digital) Relay:  – M-Duino M-Duino 21: Q0.0, Q0.1, Q0.2, Q0.3, Q0.4 (Digital); Q0.5, Q0.6  Q0.7  (configurable Digital). M-Duino 42:  Q0.0, Q0.1, Q0.2, Q0.3, Q0.4, Q1.0, Q1.1, Q1.2, Q1.3, Q1.4 (Digital); Q0.5, Q0.6  Q0.7, Q1.5, Q1.6  Q1.7 (configurable Digital). M-Duino 58: Q0.0, Q0.1, Q0.2, Q0.3, Q0.4, Q1.0, Q1.1, Q1.2, Q1.3, Q1.4, Q2.0, Q2.1, Q2.2, Q2.3, Q2.4(NC) (Digital); Q0.5, Q0.6  Q0.7, Q1.5, Q1.6  Q1.7, Q2.5, Q2.6  Q2.7 (NC) (configurable Digital). M-Duino 19R: Q0.0,…

Leer más Leer más

Read Digital Inputs Ardbox/MDuino

Read Digital Inputs Ardbox/MDuino

Digital  Inputs (0-24Vdc): Ardbox Analog: I0.0 (Digital); I0.1, I0.2, I0.3, I0.4, I0.5, I0.6, I0.7, I0.8, I0.9 (configurable Digital). Relay:  I0.0, I0.1, I0.2, I0.3, I0.4 (Digital); I0.5, I0.6, I0.7, I0.8, I0.9 (configurable Digital). M-Duino M-Duino 21: I0.0, I0.1, I0.2, I0.3, I0.4, I0.5, I0.6 (Digital); I0.7, I0.8, I0.9, I0.10, I0.11, I0.12 (configurable Digital). M-Duino 42:  I0.0, I0.1, I0.2, I0.3, I0.4, I0.5, I0.6, I1.0, I1.1, I1.2, I1.3, I1.4, I1.5, I1.6 (Digital); I0.7, I0.8, I0.9, I0.10, I0.11, I0.12, I1.7, I1.8, I1.9, I1.10, I1.11, I1.12  (configurable Digital). M-Duino 58: I0.0, I0.1, I0.2, I0.3,…

Leer más Leer más

Read Analog Input Ardbox/MDuino

Read Analog Input Ardbox/MDuino

Analog  Inputs (0-10V / 10  bits): Ardbox Analog: I0.1, I0.2, I0.3, I0.4, I0.5, I0.6, I0.7, I0.8, I0.9 (configurable Analog). Relay: I0.4, I0.5, I0.6, I0.7, I0.8, I0.9 (configurable Analog). MDuino M-Duino 21:  I0.7, I0.8, I0.9, I0.10, I0.11, I0.12 (configurable Analog). M-Duino 42:  I0.7, I0.8, I0.9, I0.10, I0.11, I0.12, I1.7, I1.8, I1.9, I1.10, I1.11, I1.12  (configurable Analog). M-Duino 58: I0.7, I0.8, I0.9, I0.10, I0.11, I0.12, I1.7, I1.8, I1.9, I1.10, I1.11, I1.12, I2.7, I2.8, I2.9, I2.10, I2.11 (NC), I2.12 (NC)  (configurable Analog). M-Duino 19R: I0.2, I0.3, I0.4, I0.5 (configurable Analog). M-Duino…

Leer más Leer más