Industrial Shields M-DUINO PLUS series User Manual

Ethernet plc

Advertisement

Quick Links

M-DUINO PLUS FAMILY
M-Duino PLUS Family User Guide:
Ref. IS.MDUINO.XXX

Advertisement

Table of Contents
loading

Summary of Contents for Industrial Shields M-DUINO PLUS series

  • Page 1 M-DUINO PLUS FAMILY M-Duino PLUS Family User Guide: Ref. IS.MDUINO.XXX...
  • Page 2 Ref. IS.MDUINO.XXX...
  • Page 3 Ethernet PLC User Guide Revised March 2018 Ref. IS.MDUINO.XXX...
  • Page 4 Preface 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 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 The performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of INDUSTRIAL SHIELDS’s test conditions, and the users most correlate it to actual application requirements. Actual performance is subject to the INDUSTRIAL SHIELDS Warranty and Limitations of Liability.
  • Page 7 Warranty and Limitations of Liability 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 8: Table Of Contents

    Table of Contents General Description M-DUINO FAMILY product ............10 Zone - Nomenclature ...................... 10 Zone Distribution ......................10 A Zone Features....................... 12 Mechanical dimension ....................13 General Features ......................14 Technical Specifications: ................... 15 General Specifications: ....................15 Performance Specification: ..................... 15 Precautions ........................
  • Page 9 Relay Shield ........................31 M-Duino Arduino I/Os 5V pins ................. 32 I2C pins – SDA/SCL ......................32 Serial 0 – RX0/TX0 ......................33 Serial 1 – RX1/TX1 ......................33 SPI – MISO/MOSI/SCK ..................... 33 Pin 2/Pin 3 ........................34 A Zone Features: Communications & RTC & uSD ..........34 10.1 RS-232 ..........................
  • Page 10: General Description M-Duino Family Product

    General Description M-DUINO FAMILY product Zone - Nomenclature The nomenclature shown in this point will be used in the whole User Guide, so it is important to understand this nomenclature. The nomenclature to differentiate the zones is based on the Alphabet, being A the shield from below and D the shield from above.
  • Page 11 The distribution of the different features that provide the M-Duino Family is the following one: Shield B Zone C Zone D Zone 13 Inputs 13 Inputs 11 Inputs (13 Digital inputs, (13 Digital inputs, (11 Digital Inputs, 6 of which can 6 of which can 4 of which can work as Analog...
  • Page 12: A Zone Features

    A Zone Features Shield A Zone (1x) Ethernet (1x) USB (1x) I2C (3x) TTL (1x) RS-232 Communication (1x) HALF/FULL Duplex RS-485 Shield (1x) SPI external Port (1x) RTC (1x) uSD Socket This is the list of our products depending on the combination of the shields. As it is already said above the A Zone is totally common for all the M-Duino Family.
  • Page 13: Mechanical Dimension

    Mechanical dimension M-Duino 1 BLOCK I/Os M-Duino 2 BLOCKS I/Os M-Duino 3 BLOCKS I/Os Ref. IS.MDUINO.XXX...
  • Page 14: General Features

    General Features CONECTABLE PLC ARDUINO 24Vcc M-DUINO B+C+D MODEL TYPE B Zone B+C Zone Zone Fuse protection (2.5A) Input Voltage 12 to 24Vdc Polarity protection I max. 1.5A Size 101x119.5x70.1 101x119.5x94.7 101x119.5x119.3 Clock Speed 16MHz Flash Memory 256KB of which 8KB used by bootloader SRAM EEPROM I2C –...
  • Page 15: Technical Specifications

    Technical Specifications: General Specifications: Item M-DUINO B ZONE M-DUINO B+C ZONE M-DUINO B+C+D ZONE 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 24Vdc voltage External...
  • Page 16: Precautions

    This manual provides information for programming and operating the M-Duino. 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 17 Steps: 1. Open Arduino IDE and go to: “File -> Preferences” located in the top left corner. 2. In Additional Boards Manager 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 Ref.
  • Page 18 5. Search for “industrialshields” on the browser. 6. Click install (selecting the latest version). Following these steps you will be able to see now the Industrial Shields Boards: Once it is selected the Ardbox Family or M-Duino family an extra option will appear on Tools: There, it can be selected the exact model for every family.
  • Page 19: How To Connect Plc Arduino To Pc

    Also there are some examples of programming in File -> Examples -> M-Duino 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 20: How To Connect Plc To Power Supply

    Select the correct M-Duino Board. Select correct port. How to connect PLC to power supply M-Duino 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 21: M-Duino Family Pinout

    Suggested power suppliers * Not recommended for industrial applications. The Jack connector needs to be removed and use the live and GND connectors. M-duino Family Pinout A Zone connection Base (common unit) A Zone Configuration Switch* (see section 8 for configuring the communications.
  • Page 22 Base (common unit) A Zone AREF AREF Arduino PIN IOREF2 IOREF2 Arduino PIN IOREF1 IOREF1 Arduino PIN 7Vdc 7Vdc 3.3Vdc 3.3Vdc Arduino PIN 5Vdc 5Vdc Ethernet Arduino Power Connector Reset button USB programmer Autoreset connector *NOTE: Autoreset. Arduino mega has auto reset when using serial communication code. Set switch to OFF when using serial communication.
  • Page 23: B Zone

    B Zone 7.2.1 Analog Shield B Zone I0.12 Analog/ Digital In I0.11 Analog/ Digital In I0.10 Analog/ Digital In I0.9 Analog/ Digital In I0.8 Analog/Digital Inputs Analog/ Digital In I0.7 Analog/ Digital In (-)I0.6/INT1 GND I0.6 I0.6/INT1 Interrupt 1 In (-)I0.5/INT0 GND I0.5 I0.5/INT0...
  • Page 24: Relay Shield

    7.2.2 Relay Shield B Zone R0.8 Relay Out R0.7 Relay Out Relay Outputs R0.6 Relay Out R0.5 Relay Out R0.4 Relay Out A0.2 Analog Out A0.1 Analog Out A0.0 Analog Out Q0.2 Digital/PWM Out Q0.1 Digital/PWM Out Q0.0 Digital/PWM Out GNDCOM External Isolated Out Gnd Analog Outputs (Switch...
  • Page 25: C Zone

    C Zone 7.3.1 Analog Shield (C Zone) C Zone I1.12 Analog/ Digital In I1.11 Analog/ Digital In I1.10 Analog/ Digital In I1.9 Analog/ Digital In Analog/Digital Inputs I1.8 Analog/ Digital In I1.7 Analog/ Digital In (-)I1.6/INT1 GND I1.6 I1.6/INT1 Interrupt 1 In (-)I1.5/INT0 GND I1.5 I1.5/INT0...
  • Page 26: Relay Shield C Zone

    7.3.2 Relay Shield C Zone C Zone R1.8 Relay Out R1.7 Relay Out R1.6 Relay Out Relay Outputs R1.5 Relay Out R1.4 Relay Out A1.2 Analog Out A1.1 Analog Out A1.0 Analog Out Q1.2 Digital/PWM Out Q1.1 Digital/PWM Out Q1.0 Digital/PWM Out GNDCOM External Isolated Out GND...
  • Page 27: D Zone

    D Zone 7.4.1 Analog Shield (D Zone) D Zone I2.12 I2.11 I2.10 Analog/ Digital In I2.9 Analog/ Digital In Analog/Digital Inputs I2.8 Analog/ Digital In I2.7 Analog/ Digital In (-)I2.6/INT1 GND I2.6 I2.6/INT1 Interrupt 1 In (-)I2.5/INT0 GND I2.5 Interrupt Inputs (isolated) I2.5/INT0 Interrupt 0 In (-)I2.4...
  • Page 28: Relay Shield D Zone

    7.4.2 Relay Shield D Zone D Zone Relay Outputs R2.8 Relay Out R2.7 Relay Out R2.6 Relay Out R2.5 R2.4 Relay Out A2.2 A2.1 Analog Out A2.0 Analog Out Q2.2 Q2.1 Digital/PWM Out Q2.0 Analog Output (Switch Digital/PWM Out GNDCOM External Isolated Out GND Configuration) 24VCOM...
  • Page 29: Switch Configuration

    Switch Configuration A Zone: Communications LEFT ZONE Switch Analog Shield Relay Shield D ZONE SCL/I2.6 I2.6 I2.1 SDA/I2.5 I2.5 I2.0 C ZONE RX1/I1.6 I1.6 I1.1 TX1/I1.5 I1.5 I1.0 B ZONE Pin 3/I0.6 I0.6 Pin 3 I0.1 Pin 3 Pin 2/I0.5 I0.5 Pin 2 I0.0...
  • Page 30 4. Pin 3/I0.6: Choosing between Pin 3 or the input I0.6. If this switch is ON, it enables the I0.6 input and disables the Pin 3. If this switch is OFF, it enables Pin 3 and disables I0.6. If it is a Relay Shield I0.6 is changed for I0.1 3.
  • Page 31: Analog Shield

    Analog Shield B ZONE C ZONE D ZONE SWITCH SWITCH SWITCH Q0.7 Q0.7 A0.7 Q1.7 Q1.7 A1.7 Q2.7 Q0.6 Q0.6 A0.6 Q1.6 Q1.6 A1.6 Q2.6 Q2.6 A2.6 Q0.5 Q0.5 A0.5 Q1.5 Q1.5 A1.5 Q2.5 Q2.5 A2.5 For the Analog Shield if a switch is set to ON, it can only act as Digital Output. If it is set to OFF it can only act as an Analog Output.
  • Page 32: M-Duino Arduino I/Os 5V Pins

    For the Relay Shield if a switch is set to ON, it can only act as Digital Output. If it is set to OFF it can only act as an Analog Output. If it is desired to use a Digital Output the pin must be set to ON and the pin that will provide this digital output is represented with QX.X, being X any number of the tables above.
  • Page 33: Serial 0 - Rx0/Tx0

    *IMPORTANT: I2.5 & I2.6 are not pull-up inputs although they are referred to the I2C pins (switch configuration). There is a “reverse pull-up circuit “that is stablished in order to have the same behaviour as the other inputs. Serial 0 – RX0/TX0 The Serial0 protocol can work also as a 5V pin.
  • Page 34: Pin 2/Pin 3

    For the RS-232 communication protocol there isn’t any switch that affects it. So it does not matter the configuration of the switches to implement a RS-232 communication. Using the boards of Industrial Shields, there is a library that simplifies the RS-232 implementation.
  • Page 35: Spi

    To enable I2C the switches SCL/I2.6(I2.1) & SDA/I2.5(I2.0) must be set to OFF mode. In this mode the inputs are totally disabled and the I2C is now enabled. Industrial Shields does not provide any library to implement the I2C as it can be used the standard library of Arduino called Wire.
  • Page 36: Ttl

    10.5 TTL M-Duino has two TTL ports, RX0/TX0, RX1/TX1. TTL0 is accessed with the function Serial (pins 0 and 1 of the Arduino Mega). TTL1 is accessed with the function Serial1 (pins 18 and 19 of the Arduino Mega). In order to use the TTL pins the configuration of the switches have to be the following one: Switch Analog Shield Relay Shield...
  • Page 37: Usd

    I2.5 I2.0 section 11 I2C to enable it. Using the boards of Industrial Shields, there is a library that simplifies the RTC implementation called RTC. 10.8 uSD The micro SD uses the SPI communication to interact with the Arduino Mega. The SPI protocol is always enabled, as there are no switches that configure it.
  • Page 38: I/O Technical Details

    I/O technical details: Digital Output Waveform: Digital Out-put Turn-off: PWM Waveform: Ref. IS.MDUINO.XXX...
  • Page 39 Analog Out Turn On: Analog Out Turn-Off: Analog /Digital input Turn-on: Ref. IS.MDUINO.XXX...
  • Page 40: Typical Connections

    Typical Connections Ref. IS.MDUINO.XXX...
  • Page 41 Ref. IS.MDUINO.XXX...
  • Page 42 Ref. IS.MDUINO.XXX...
  • Page 43 Ref. IS.MDUINO.XXX...
  • Page 44: Connector Details

    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: MC 0,5/10-G-2,5 THT Article reference...
  • Page 45: Mechanical Characteristics

    Mechanical Characteristics Dimension M-duino Family: DIN Rail mounting Ref. IS.MDUINO.XXX...
  • Page 46 About Industrial Shields: Direction: 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 Ref. IS.MDUINO.XXX...

Table of Contents