Page 3
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 MDUINO PLC ARDUINO ETHERNET 38AR I/Os ANALOG / DIGITAL User Guide Revised, August 2019...
Page 4
Rev. 1: 12-08-2020 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 operate and get a better understanding of the technical data of the signal modules, power supply modules and interface modules.
Page 5
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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.
Page 6
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 7
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 8
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.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Table of Contents General Description M-Duino 38AR I/Os PLUS Product ........10 Zone - Nomenclature ...................... 10 Zone Distribution ......................11 A Zone Features....................... 12 Mechanical dimension ....................12 General Features ......................13 Technical Specifications: ................... 15 General Specifications: ....................
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 General Description M-Duino 38AR I/Os PLUS 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 B the shield from above.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Zone Distribution The distribution of the different features that provide the M-Duino 38AR I/Os PLUS is the following one: Shield B Zone C Zone 13 Inputs (13 Digital inputs, 6 of which can work as Analog Input) Analog Shield 8 Outputs (8 Digital Outputs, 3...
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 A Zone Features Shield A Zone (1x) Ethernet (1x) USB (1x) I2C (2x) TTL Communication (1x) RS-232 Shield (1x) HALF/FULL Duplex RS-485 (1x) SPI external Port (1x) RTC (1x) uSD Socket Mechanical dimension...
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 General Features CONECTABLE PLC ARDUINO 24 VCC M-DUINO GRPS/GSM Controller General MODEL TYPE Information Specifications Fuse Protection (2.5 A) Polarity Input Voltage 12 to 24 Vdc protection I max. 1.5 A Size 101x94.7x119.5 Clock Speed 16 MHz Flash Memory 256 KB of which 8 KB used by boot loader...
Page 15
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 5 to 24 Vdc I max: 70 mA PWM Isolated Output 8 bits Galvanic Isolation (24 Vcc) Diode Protected for Relay I2C – 127 elements – Serial Port RS232 / RS485 / GPRS Expandability *By using this type of signal can no longer use Digital signal (24 Vdc)
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Technical Specifications: General Specifications: Item M-Duino PLC Arduino Ethernet 38AR I/Os Analog/Digital PLUS 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.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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 programming language.
INDUSTRIAL SHIELDS representative. Ensure that the rating and performance characteristics of the M-Duino are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment double safety mechanisms.
Rev. 1: 12-08-2020 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 20
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 4. Go to: Tools -> Board: … -> Boards Manager 5. Search for “industrialshields” on the browser.
Page 21
Rev. 1: 12-08-2020 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.
How to connect PLC Arduino to PC Connect USB port from PLC to PC. NOTE: M-Duino Family uses USB-B cable. Open Arduino IDE interface: Select Industrial Shields boards -> M-Duino Family Select the correct M-Duino Board: M-Duino 38AR+ Select correct port.
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. The standard, Part 1 of IEC 61010, sets the general safety requirements for the following types of electrical devices and their accessories, regardless of where use of the device is intended.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 M-duino Family Pinout A Zone connection Base (common unit) A Zone Configuration Switch* (see section 8 for configuring the communications. Enabling communications disables some I/Os) I2C/SS I2C/SS RX0/SS TX0/SS RX1/SS TX1/SS Communication Pins RX2(serial 2) TX2(serial 2) RS485 RS485...
Page 25
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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. When uploading code to Arduino Mega set switch to ON.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 B Zone (Analog Shield) B Zone I0.12 Analog/ Digital In I0.11 Analog/ Digital In I0.10 Analog/ Digital In Analog/Digital Inputs I0.9 Analog/ Digital In I0.8 Analog/ Digital In I0.7 Analog/ Digital In (-)I0.6/INT1 GND I0.6 I0.6/INT1 Interrupt 1 In (-)I0.5/INT0...
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 C Zone (Relay Shield) C Zone R1.8 Relay Out R1.7 Relay Out Relay Outputs R1.6 Relay Out 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...
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Switch Configuration A Zone: Communications LEFT ZONE Switch C ZONE RX1/I1.6 I1.1 TX1/I1.5 I1.0 B ZONE Pin 3/I0.6 I0.1 Pin 3 Pin 2/I0.5 I0.0 Pin 2 uSD & RS-485 D53(SD) FD RS-485 HD 4. SCL/I2.1: ALWAYS AT OFF POSITION. On the MDUINO PLC ARDUINO ETHERNET 38AR I/Os ANALOG/DIGITAL PLUS Controller this switch is not connected.
Page 29
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 4. Pin 3/I0.1: Choosing between Pin 3 or the input I0.1. If this switch is ON, it enables the I0.1 input and disables the Pin 3. If this switch is OFF, it enables Pin 3 and disables I0.1. 3.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 B Zone Switches B ZONE SWITCH Q0.2 Q0.2 A0.2 Q0.1 Q0.1 A0.1 Q0.0 Q0.0 A0.0 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.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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 A1.X, being X any number of the tables above. M-Duino Arduino I/Os 5V pins The MDUINO PLC ARDUINO ETHERNET 38AR I/Os ANALOG/DIGITAL PLUS has some of the Mega board pins available.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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.
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.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 The M-Duino pins used for the SPI bus are summarized in the table below. The MISO, MOSI and CLOCK pins are the same for all the connected devices, while the SS pin, conversely, will be unique for each one.
RTC SDA I2C must be enabled in order to communicate with the RTC. See section 11 I2C to enable it. Using the boards of Industrial Shields, there is a library that simplifies the RTC implementation called RTC. 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 36
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Vérifiez que le processeur n'exécute pas activement un processus avant d'insérer la carte mémoire. Si vous insérez une carte mémoire, la CPU passe en mode STOP, ce qui peut affecter le fonctionnement d'un processus ou d'une machine en ligne. Le fonctionnement inattendu d'un processus ou d'une machine peut entraîner la mort ou des blessures corporelles et / ou des dégâts matériels.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Ethernet For an Ethernet communication between Industrial Shields equipment a SFTP CAT-6 Ethernet crossover cable must be used.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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.38AR+ Rev. 1: 12-08-2020 Mechanical Characteristics Dimension : 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.38AR+ Rev. 1: 12-08-2020 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;...
Page 49
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Provide adequate clearance for cooling and wiring M-Duino 38AR I/Os PLUS. Is designed for natural convection cooling. For proper cooling, you must provide a clearance of at least 25 mm above and below the devices. Also, allow at least 25 mm of depth between the front of the modules and the inside of the enclosure.
Page 50
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 - 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.
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 Revision Table Revision Number Date Changes 30/08/2019 First implementation 12/08/2020 Correction of technical details...
Page 52
Ref. IS.MDUINO.38AR+ Rev. 1: 12-08-2020 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...
Need help?
Do you have a question about the IS.MDUINO.38AR+ and is the answer not in the manual?
Questions and answers