Industrial Shields PLC Arduino ARDBOX User Manual

20 i/os relay hf, gprs / gsm modbus
Hide thumbs Also See for PLC Arduino ARDBOX:

Advertisement

Quick Links

PLC Arduino ARDBOX 20 I/Os Relay HF
GPRS / GSM Modbus
GPRS Ardbox 20 I/Os
Relay HF Modbus User Guide
USER GUIDE

Advertisement

Table of Contents
loading

Summary of Contents for Industrial Shields PLC Arduino ARDBOX

  • Page 1 USER GUIDE PLC Arduino ARDBOX 20 I/Os Relay HF GPRS / GSM Modbus GPRS Ardbox 20 I/Os Relay HF Modbus User Guide...
  • 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.
  • Page 9: Table Of Contents

    Ref. 006001001300 Rev. 0: 30-08-2019 Table of Contents GPRS Ardbox Relay HF: General Features ..............10 Technical Specifications .................... 11 General Specifications: ..................11 Performance Specification: ................11 Symbology ......................12 Precautions ....................... 13 Arduino Board ....................13 Intended Audience .................... 13 General Precautions ..................
  • Page 10: Gprs Ardbox Relay Hf: General Features

    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...
  • Page 11: Technical Specifications

    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...
  • Page 12: Symbology

    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...
  • Page 13: Precautions

    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:...
  • Page 16: How To Connect Plc Arduino To Pc

    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.
  • Page 17: How To Connect Plc To Power Supply

    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...
  • Page 19: Ardbox Relay Hf I/O Pinout

    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...
  • Page 21: Switch Configuration

    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.
  • Page 23: Rs- 485 Switch Configuration

    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...
  • Page 24: Rs-232 Switch Configuration

    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.
  • Page 25: Jumper Configuration

    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.
  • Page 26: Hardware Serial Rs-232 & Rs-485 Configuration

    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...
  • Page 27: Hardware Serial Rs-232

    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...
  • Page 28: Gprs/Gsm

    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:...
  • Page 29: Ardbox - Arduino I/Os 5V Pins

    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.
  • Page 30: I2C Pins - Sda/Scl

    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...
  • Page 33: Typical Connections

    Ref. 006001001300 Rev. 0: 30-08-2019 Typical Connections...
  • Page 34 Ref. 006001001300 Rev. 0: 30-08-2019...
  • Page 35 Ref. 006001001300 Rev. 0: 30-08-2019...
  • Page 36: Connector Details

    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.
  • Page 37: Ardbox Family Dimensions

    Ref. 006001001300 Rev. 0: 30-08-2019 ARDBOX Family Dimensions: 45mm width DIN rail mounting:...
  • Page 38: Revision Table

    Ref. 006001001300 Rev. 0: 30-08-2019 Revision Table Revision Date Changes Number 30 / 08 / 2019 It was first implemented...
  • Page 39 Ref. 006001001300 Rev. 0: 30-08-2019 About Industrial Shields: Address: Fàbrica del Pont, 1-11 Zip/Postal Code: 08272 City: Sant Fruitós de Bages (Barcelona) Country: Spain Telephone: (+34) 938 760 191 / (+34) 635 693 611 Mail: industrialshields@industrialshields.com...

Table of Contents