Ardbox Relay Switch Configuration

Ardbox Relay Switch Configuration

Ardbox Relay can be configurated with multiple communication ports. There are two DIP Switch to configurate all of them. Switch Configuration: LEFT Zone Arduino Pin OFF* ON   7 DE R1 4 RE R2 1 I0.3 RX 0 I0.2 TX 3 SCL I0.1 2 SDA I0.0 LEFT ZONE. To enable communication connections the switchs must be set to “OFF”. Set to “ON” position to enable I/Os  PLC connection.  Communications and I/Os on the chart can not work simultaneously. For exemple if…

Read More Read More

Ardbox Relay Connector Details

Ardbox Relay Connector Details

Ardbox Relay Connector details The connector inside the PLCs that mounts on the PCB is  MC 0,5/10-G-2,5 THT – 1963502 from Phoenix contact. MC0,5/10-G-2,5THT For I/O and power supply there is a FK-MC 0,5/10-ST-2,5 – 1881406 connector from Phoenix contact. FK-MC 0,5/10-ST-2,5 Connection details: Article reference MC 0,5/10-G-2,5 THT Height 8,1mm Pitch 2,5mm Dimension 22,5mm Pin dimensions 0,8×0,8mm Pin spacing 2,50mm   Article reference FK-MC 0,5/10-ST-2,5 Rigid conduit section min. 0,14 mm² Rigid conduit section max. 0,5 mm² Flexible conduit…

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.

There is two ways to include the Industrial Shields library in the Arduino IDE. (1) Automatically: USING the Arduino IDE Open The Arduino IDE. Click on: Sketch – > Import library…   Then Search Industrial Shields  on the Library Manager and click on Install.  To verify the installation you can go at:  File -> Examples -> Industrial Shields   (2) Manually: How to use the Industrial Shields library in the Arduino IDE: (NOTE: This example also works for any other library…

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

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