M-DUINO PLC ARDUINO ETHERNET 42 I/Os ANALOG/DIGITAL PLUS PLC ARDUINO ETHERNET 42 I/Os ANALOG/DIGITAL PLUS
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 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. Intended Audience This User Guide is intended for the following audience: Persons in charge of introducing automation devices.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 cabinet, or electric control room should be limited to authorized personnel. Failure to follow these installation requirements could result in severe personal injury and/or property damage. Always follow these requirements when installing M-Duino family PLCs. In case of installation or maintenance of the M-Duino please follow the instructions marked in the Installation and Maintenance section.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Application Considerations and Warranty Read and Understand this Manual Please read and understand this manual before using the product. Please consult your comments or questions to Industrial Shields before using the product. Application Consideration THE PRODUCTS CONTAINED IN THIS DOCUMENT ARE NOT SAFETY RATED.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Intended use or of Industrial Shields products 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.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Errors and Omissions The information in this document has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions. 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.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 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. INDUSTRIAL SHIELDS MAKES NO REPRESENTATION OR WARRANTY, EXPRESSED OR IMPLIED, REGARDING MERCHANABILITY, NONINFRINGEMENT, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Table of Contents 1 General Description M-DUINO 42 I/Os PLUS product .............................................. 11 1.1 Zone - Nomenclature ...................................................................................................... 11 1.2 Zone Distribution............................................................................................................. 12 1.3 A Zone Features...............................................................
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 10 A Zone Features: Communications & RTC & uSD.................................................. 33 10.1 RS-232 ............................................................................................................................. 33 10.2 RS-485 ............................................................................................................................. 33 10.3 I2C...........................................................................
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 1 General Description M-DUINO 42 I/Os PLUS product 1.1 Zone - Nomenclature The nomenclature shown in this point will be used in the whole User Guide, so it is important to understand this nomenclature. C ZONE B ZONE A ZONE A ZONE B ZONE C ZONE The nomenclature to differentiate the zones is based on the Alphabet, being A the shield from below and C the shield from above. Having a B and in the middle of them.
Ref. IS.MDuino.42+ 1.2 Rev.
Ref. IS.MDuino.42+ 1.3 Rev. 1: 30-08-2019 A Zone Features Shield Communication Shield 1.
Ref. IS.MDuino.42+ 1.5 Rev. 1: 30-08-2019 General Features CONECTABLE PLC ARDUINO 24Vcc M-DUINO MODEL TYPE B+C Zone Input Voltage 12 to 24Vdc Input rated voltage Rated Power I max. Size Clock Speed Flash Memory SRAM EEPROM Communications USB consideration! An/Dig Input 10bit (0-10Vcc) 24 Vdc 30 W 1.5A 101x119.5x119.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 2 Technical Specifications: 2.1 General Specifications: Item M-Duino PLC Arduino Ethernet 42 I/Os Analog/Digital PLUS Power supply voltage DC power supply Operating voltage range DC power supply 11.4 to 25.4Vdc Power consumption DC power supply 30VAC max. External power supply 12 to 24Vdc Power supply voltage 24Vdc Power supply output capacity 700Ma Insulation resistance 20MΩ min.at 500Vdc between the AC terminals and the protective earth terminal.
Ref. IS.MDuino.42+ 2.2 Rev. 1: 30-08-2019 Performance Specification: Arduino Board ARDUINO MEGA 2560 Control method Stored program method I/O control method Combination of the cyclic scan and immediate refresh processing methods. Arduino IDE. Based on wiring (Wiring is an Open Source electronics platform composed of a programming language. “similar to the C”. http://arduino.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 4 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. Industrial Shields provides boards for programming the PLCs much easier. Basically it is no needed to define the pins and if that pins are inputs or outputs.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 4. Go to: Tools -> Board: … -> Boards Manager 5. Search for “industrialshields” on the browser. 6. Click install (selecting the latest version).
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Following these steps you will be able to see now the Industrial Shields Boards: Once it is selected M-Duino Family, an extra option will appear on Tools: There, it can be selected the exact model for every family. 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.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 5 How to connect PLC Arduino to PC - Connect USB port from PLC to PC. NOTE: M-Duino 42 I/Os PLUS uses USB-B cable.
Ref. IS.MDuino.42+ - Select the correct M-Duino Board (M-Duino 42+). - Select correct port. Rev.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 6 How to connect PLC to power supply - M-Duino 42 I/Os PLUS PLC is 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. - Suggested power suppliers Compact DIN rail power supply. Assembled on 35mm DIN Rail: -12Vdc / 24Vdc -2.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 7 M-Duino 42 I/Os PLUS Pinout 7.
Ref. IS.MDuino.42+ Ethernet Connector Rev. 1: 30-08-2019 Arduino Reset button Power USB programmer connector Autoreset *NOTE: Autoreset. Arduino mega has auto reset when using serial communication code. Set switch to OFF when using serial communication. When uploading code to Arduino Mega set switch to ON.
Ref. IS.MDuino.42+ 7.2 Rev. 1: 30-08-2019 B Zone (Analog Shield) I0.12 I0.11 I0.10 I0.9 I0.8 I0.7 (-)I0.6/INT1 I0.6/INT11 (-)I0.5/INT0 I0.5/INT01 (-)I0.4 I0.4 (-)I0.3 I0.3 (-)I0.2 I0.2 (-)I0.1 I0.1 (-)I0.0 I0.0 59 58 57 56 55 54 3 2 26 25 24 23 22 Function Arduino Pin M-Duino Connector B Zone Analog/ Digital In Analog/ Digital In Analog/ Digital In Analog/ Digital In Analog/ Digital In Analog/ Digital In GND I0.6 Interrupt 1 In GND I0.5 Interrupt 0 In GND I0.4 Digital Input GND I0.
Ref. IS.MDuino.42+ 7.3 Rev. 1: 30-08-2019 C Zone (Analog Shield) I1.12 I1.11 I1.10 I1.9 I1.8 I1.7 (-)I1.6/INT1 I1.6/INT11 (-)I1.5/INT0 I1.5/INT01 (-)I1.4 I1.4 (-)I1.3 I1.3 (-)I1.2 I1.2 (-)I1.1 I1.1 (-)I1.0 I1.0 65 64 63 62 61 60 19 18 31 30 29 28 27 Function Arduino Pin M-Duino Connector C Zone Analog/ Digital In Analog/ Digital In Analog/ Digital In Analog/ Digital In Analog/ Digital In Analog/ Digital In GND I1.6 Interrupt 1 In GND I1.5 Interrupt 0 In GND I1.4 Digital Input GND I1.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 8 Switch Configuration 8.1 A Zone: Communications Switch ON RX1/I1.6 TX1/I1.5 Pin 3/I0.6 Pin 2/I0.5 D53(SD) FD RS-485 HD OFF C ZONE I1.6 RX1 I1.5 TX1 B ZONE I0.6 Pin 3 I0.5 Pin 2 uSD & RS-485 NC SD HD FD 4. SCL/NC: Always at OFF Position! Switch has to be OFF position to enable SCL, never ON because in this position is NC (Not Connected). 3. SDA/NC: Always at OFF Position! Enable SDA, never ON because in this position is NC (Not Connected). 2. RX1/I1.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 2. D53 (SD): Always at OFF Position! Switch has to be OFF position to enable the Chip Select of the microSD card, never ON because in this position is NC (Not Connected). 1. FD RS-485 HD: Choosing between FD or HF. If this switch is ON, it enables the Half Duplex (HD) option and disables the FD. If this switch is OFF, it enables Full Duplex (FD) and disables HD. SWITCH NC NC RTC SCL RTC SDA LEFT ZONE ON RTC RTC OFF - 1.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 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. 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. If it is desired to use an Analog Output the pin must be set to OFF and the pin that will provide this analog output is represented with AX.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 *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. 9.2 Serial 0 – RX0/TX0 The Serial0 protocol can work also as a 5V pin. These pins should be used ultimately, only in case that all the 5V pins are already performing a function. This is because they are shared with the USB interface.
Ref. IS.MDuino.42+ 9.5 Rev. 1: 30-08-2019 Pin 2/Pin 3 These pins are only referred to the inputs I0.5/I0.6. If the switch configuration is in OFF position the pins Pin 2/Pin 3 will be available. These pins are not stablished with a pull-up or a pull-down configuration. The state of these pins is unknown. If these pins must be used, they require a pull-up or a pull-down configuration. The Arduino board allows the pins to be set in a pull-up configuration.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 10.3 I2C The I2C protocol is meant to work in a pull-up configuration. A pull-up configuration means that when the pin is at rest (nothing connected to it) it always reads a HIGH value. In this case it reads 5V when nothing is connected. The pull-up configuration is stablished by default in these pins. If it is meant to work them as a GPIO at 5V, it has to be considered that they are pull-up inputs. 10.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 10.6 Ethernet M-Duino Ethernet port controller is based on w5500 IC, which is the compatible IC compatible with Arduino Ethernet2 Shield libraries. All Ethernet shield Arduino libraries are compatible with the M-Duino. In the M-Duino, W5500 IC communicates to the Mega board via SPI bus (SS Arduino Mega pin 10). 10.7 RTC M-Duino RTC Module is based on the DS1307 Chip.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Using the boards of Industrial Shields, there is a library that simplifies the uSD implementation called SD. It is the same as the Arduino library, with the only modification of using the pin 53 to select the Chip Select of the uSD chip. Verify that the CPU is not actively running a process before inserting the memory card. Inserting a memory card will cause the CPU to go to STOP mode, which could affect the operation of an online process or machine.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 11 Instructions for interconnection between Industrial Shields controllers 11.1 RS-232 Communication: 11.2 RS-485 Communication: 11.2.1.1 Half Duplex 11.2.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 11.3 Ethernet For an Ethernet communication between Industrial Shields equipment a SFTP CAT-6 Ethernet crossover cable must be used.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 14 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.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 15 Mechanical Characteristics - Dimension M-Duino 42 I/Os PLUS: - DIN Rail mounting For optimal operation of the product, it must be located in an electrical cabinet with IK08 mechanical protection. The minimum IP protection degree required is IP56.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 16 Installation and Maintenance Notes for installation: - - - - The installation position should be free from the following: dust or oil smoke, conductive dust, corrosive or flammable gas, high temperature, condensation, and rain. Besides, vibration and impact also affect the PLC normal operation and shorten its lifespan; electric shock, fire or misact also damages the product.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 Provide adequate clearance for cooling and wiring M-Duino 42 I/Os PLUS. Is designed for natural convection cooling. For proper cooling, you must provide a clearance of at least 25 cm above and below the devices. Also, allow at least 25 cm of depth between the front of the modules and the inside of the enclosure. Notes for maintenance: A well-planned and executed maintenance program is essential to the satisfactory operation of solid-state electrical equipment.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 - Tighten the screws of the terminal ports and the screws of the connectors within the prescribed tightening torque. Insufficient tightening can lead to loose parts or wires and cause malfunctions. Excessive tightening can damage the screws and / or the module, with the risk of falling, short circuits and malfunctions. - Before handling a module, dispose of the electrostatic charge accumulated by the human body by touching a suitable conductive object.
Ref. IS.MDuino.42+ Rev.
Ref. IS.MDuino.42+ Rev. 1: 30-08-2019 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.