Page 2
Ref. 006001001300 Rev. 0: 30-08-2019 PLC Arduino ARDBOX 20 I/Os Relay HF GPRS / GSM User Guide Revised August 2019 This user guide is for version PLC Arduino ARDBOX 20 I/Os Relay HF GPRS, with Reference name 006001001300. Preface...
Page 3
Ref. 006001001300 Rev. 0: 30-08-2019 This User Guide is been implemented by Boot & Work, S.L. working under the name Industrial Shields. Purpose of the manual The information contained in this manual can be used as a reference to operating, to functions, and to the technical data of the signal modules, power supply modules and interface modules.
Page 4
Ref. 006001001300 Rev. 0: 30-08-2019 In case of installation or maintenance of the Ardbox please follow the instructions marked in the Installation and Maintenance section. Do not disconnect equipment when a flammable or combustible atmosphere is present. Disconnection of equipment when a flammable or combustible atmosphere is present may cause a fire or explosion which could result in death, serious injury and/or property damage.
Page 5
PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM. Industrial Shields shall not be responsible for conformity with any codes, regulations or standards that apply to the combination of products in the customer’s application or use of the product.
Page 6
Rev. 0: 30-08-2019 Consider the following: Industrial Shields products should only be used for the cases of application foreseen in the catalogue and the associated technical documentation. If third-party products and components are used, they must have been recommended or approved by Industrial Shields.
Page 7
Residual Risks The control and drive components of an Industrial Shields PLC are approved for industrial and commercial use in industrial line supplies. Their use in public line supplies requires a different configuration and/or additional measures. These...
Page 8
Ref. 006001001300 Rev. 0: 30-08-2019 Warranty Industrial Shields’s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by Industrial Shields.
Ref. 006001001300 Rev. 0: 30-08-2019 GPRS Ardbox Relay HF: General Features COMPACT PLC ARDUINO ARDBOX 20I/Os RELAY HF Fuse protection (2.5A) Input Voltage 12 to 24Vdc Polarity protection 24 Vdc Input rated voltage Rated Power 30 W I Max. 1,5A...
Ref. 006001001300 Rev. 0: 30-08-2019 Technical Specifications General Specifications: Power supply DC power supply 12 to 24Vdc voltage Operating DC power supply 11.4 to 25.4Vdc voltage range Power DC power supply 30VAC max. consumption Power supply voltage 24Vdc External power supply Power supply output 700 mA capacity...
Ref. 006001001300 Rev. 0: 30-08-2019 Clock Speed 16MHz Symbology Standard No. / Standard Symbol Standard Title Reference No. / Symbol Meaning Symbol Title IEC 60417 / Indicates that the equipment is Graphical symbols 5031 / Direct suitable for direct current only; for use on Current to identify relevant terminals...
Ardbox. Software interface Industrial Shields PLC are programmed using Arduino IDE, which is a software based on the C language. They can also be programmed using directly C but it is much easier working with Arduino IDE as it provides lots of libraries that helps in the programming.
Page 14
Ref. 006001001300 Rev. 0: 30-08-2019 Steps: 1. Open Arduino IDE and go to: “File -> Preferences” located in the top left corner. 2. In Additional Boards URLs write the following: http://apps.industrialshields.com/main/arduino/boards/package_industrialshields_index.json 3. Press OK to save the changes. 4. Go to: Tools -> Board: … -> Boards Manager...
Page 15
Ref. 006001001300 Rev. 0: 30-08-2019 5. Search for industrialshields. 6. Click install (selecting the latest version). Following this steps you will be able to use now the Industrial Shields Boards:...
Ardbox Relay HF+ w/HW RS-485 GPRS) depending on your jumpers & switch configuration. Also there are some examples of programming in File -> Examples -> Ardbox Family. Furthermore there are some extra libraries that can be found in Industrial Shields github. https://github.com/IndustrialShields/ How to connect PLC Arduino to PC Connect USB port from PLC to PC.
Ref. 006001001300 Rev. 0: 30-08-2019 Now everything is set up to upload a sketch to Ardbox Relay HF w/GPRS How to connect PLC to power supply Ardbox Family PLCs are 12-24Vdc supplied. IMPORTANT: The polarity IS NOT REVERSAL! Make sure that the live and GND connector of the power supply match the PLC. Make sure that the power supply mains output is not higher than 24Vdc.
Page 18
DIN Rail: -12Vdc / 24Vdc -2.5A -30W Industrial Shields power supplies provide parallel operation, overvoltage protection, and overcurrent protection. There is a LED inductor for power status, the power supply is certified according to UL. Din RAIL Power Supply, ac-dc, 30W, 1 Output 1.3A at 24Vdc...
Ref. 006001001300 Rev. 0: 30-08-2019 Ardbox Relay HF I/O Pinout: Zone Connections LEFT ZONE Base (common unit) Switch config* (see section 8 for Communications LEFT ZONE configuration. Enabling Communications disables some I/Os) SO/RX_GPRS GPRS GPRS MISO/RX_GPRS Communications pins SI/TX_GPRS GPRS GPRS MOSI/TX_GPRS SPI-CLOCK...
Page 20
Ref. 006001001300 Rev. 0: 30-08-2019 Base (common unit) RIGHT ZONE RIGHT ZONE RS-485 pins Analog Outputs Pins RS485 RS485 Relay Outputs Z-/A0.1 RS485/Analog Output Y+/A0.0 RS485/Analog Output Relay 4 Out Relay 5 Out I0.9 Analog/Digital Input I0.8 Analog/Digital Input Digital/Analog Inputs pins I0.7 Analog/Digital Input I0.6...
Ref. 006001001300 Rev. 0: 30-08-2019 NOTE: Although in the TOP ZONE serigraphy it is shown Q0.9 & Q0.8 pins, in the reality they are I0.3 I0.2 pins respectively. Additionally although the serigraphy only is expressed for the RS485 it is also the same for the RS232. So if it is desired to enable any of the Hardware Serial connection this is the function of these switches.
Page 22
Ref. 006001001300 Rev. 0: 30-08-2019 1. SCL-D3/Q0.6 – Choosing between SCL (I2C) and Q0.6. If this switch is ON, the Q0.6 input will be enabled and the SCL will be disabled. If this switch is OFF, the SCL will be now available and Q0.6 disabled.
Ref. 006001001300 Rev. 0: 30-08-2019 RIGHT ZONE RIGHT ZONE SWITCH Full Duplex Half Duplex Q0.6 ANALOG (A0.6) DIGITAL (Q0.6) Q0.5 ANALOG (A0.5) DIGITAL (Q0.5) Q0.4 ANALOG (A0.4) DIGITAL (Q0.4) Q0.3 ANALOG (A0.3) DIGITAL (Q0.3) Q0.2 ANALOG (A0.2) DIGITAL (Q0.2) Q0.1 ANALOG (A0.1) DIGITAL (Q0.1) Q0.0...
Ref. 006001001300 Rev. 0: 30-08-2019 RS-232 Switch configuration RS-232 TOP ZONE: In order to enable the RS-232 communication protocol it is TOP ZONE necessary that the switches of the top zone are configured as it is shown in SWITCH MODE the table.
Ref. 006001001300 Rev. 0: 30-08-2019 Jumper Configuration General Jumper Configuration This jumper makes the choosing between connecting MAX232 to pins JUMPER ZONE 1 0,1 of the Arduino Leonardo or with the MAX485. In order to use the LEFT RIGHT RS-232 Hardware Serial protocol both RS-232 must be connected to RS-485 RS-485 the D1/D0.
Ref. 006001001300 Rev. 0: 30-08-2019 Hardware Serial RS-232 & RS-485 Configuration 10.1 Hardware Serial RS-485 In order to enable the Hardware Serial RS-485 the total configuration of the GPRS Ardbox Relay HF will be: Switch configuration: LEFT ZONE TOP ZONE SWITCH MODE SWITCH...
Ref. 006001001300 Rev. 0: 30-08-2019 10.2 Hardware Serial RS-232 In order to enable the Hardware Serial RS-232 the total configuration of the Ardbox Relay HF will be: Switch configuration: LEFT ZONE Note: The switches of the left zone of the RS-485 don’t SWITCH MODE TOP ZONE...
Ref. 006001001300 Rev. 0: 30-08-2019 GPRS/GSM The SIM800L module is the integrated module for the use of GPRS / GSM in this PLC and to program it you must download this library on your Arduino IDE. You can test the GPRS / GSM functionality using the examples that come with the library: When defining the pins in the program, take into account that the internal connections between the Sim800l module and the Arduino Mega are the following:...
Ref. 006001001300 Rev. 0: 30-08-2019 Arduino Leonardo Pinout Sim800L Pinout 5Vdc MISO MOSI Pin 2 GPRS RESET The GPRS/GSM protocol is always enabled as there are no switches that configure it. the GPRS / GSM protocol uses the SPI pins of the equipment to be able to communicate and the pin2 for the module reset.
Ref. 006001001300 Rev. 0: 30-08-2019 11.1 I2C pins – SDA/SCL The I2C protocol is meant to work in a pull-up configuration. The I2C pins in the Arduino Leonardo are not pull-up, so in order to work with the I2C an external pull-up resistor is required.
Page 31
Ref. 006001001300 Rev. 0: 30-08-2019 Digital Output Turn-off PWM Waveform Analog Out Turn-on...
Page 32
Ref. 006001001300 Rev. 0: 30-08-2019 Analog Out Turn-off Analog/Digital Input Turn-on Analog/Digital Input Turn-off...
Ref. 006001001300 Rev. 0: 30-08-2019 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.
Need help?
Do you have a question about the PLC Arduino ARDBOX and is the answer not in the manual?
Questions and answers