In compliance with high industry standards

20210302 ESP32 PLC 21 User Guide

Public Channel / User Guides

ESP32 PLC 21 User Guide

Share on Social Networks

Share Link

Use permanent link to share in social media

Share with a friend

Please login to send this document by email!

Embed in your website

Select page to start with

Average

0

There are no comments for now.

Details

1 stars
0% Remove selection
2 stars
0% Remove selection
3 stars
0% Remove selection
4 stars
0% Remove selection
5 stars
0% Remove selection


44. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 43

45. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 44

43. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 42

41. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 40 Typical C onnections

42. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 41

40. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 39 Analog Out Turn On: Analog Out Turn - Off: Analog /Digital input Turn - on:

1. ESP32 ETHERNET & WIFI & BLUETOOTH PLC 21 I/Os ANALOG/DIGITAL PLUS PLC ESP32 ETHERNET & WIFI & BLUETOOTH 21 I/Os ANALOG/DIGITAL PLUS

2. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 1

27. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 26

39. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 38 I/O technical details: Digital Output Waveform: Digital Out - put Turn - off: PWM Waveform:

36. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 35 • Upload the code. • Once the code is uploaded, turn OFF the previous switch. • Pulse the RESET button:

3. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 2 E SP32 Ethernet & WiFi & BLE PLC 21 I/Os Analog/Digital PLUS User Guide Revised February 20 21

37. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 36 Instructions for interconnection between Industrial Shields controllers 13.1 RS - 232 Communication: 13.2 RS - 485 Communication: 13.2.1.1 Half Duplex 13.2.2 Full Duplex

24. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 23 - Select the correct ESP32 PLC Board: - Select correct port for your board.

38. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 37 13.3 Ethernet For an Ethernet communication between Industrial Shields equipment a SFTP CA T - 6 Ethernet crossover cable must be used .

17. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 16 PWM Isolated Output 8bit (24Vcc) 5 to 24 Vdc I max: 70 mA Galvanic Isolation Diode Protected for Relay Rated Voltage: 24Vdc Expandability I2C - 127 elements - Serial Port RS232/RS485 * By using this type of signal can no lon ger use Digital signal (24Vdc)

22. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 21 4. Tools - > Board: ... - > Boards Manager . Search for the industrialshields - esp32 board and in stall the last version (it must be from the version 1.0.4 minimum): Following these steps, you will be able to se e now the Industrial Shields Boards:

33. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 32 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. Unexpected operation of a process or machine could result in death or injury to personnel and/or property damage. Before inserting a memory card, always ensure that the CPU is offline and in a safe state. 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 mod e STOP, ce qui peut affecter le fonctionnement d'un processus ou d'un e machine en ligne. Le fonctionnement inattendu d'un processus ou d'une machine peut entraîner la mort ou des blessur es corporelles et / ou des dégâts matériels. Avant d'insérer une carte mémoire, assurez - vous toujours que la CPU est hors ligne et en sécur ité.

34. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 33 Equivalen ce Table The Digital/Analog I/Os o f this device are connected to the ESP32 through I2C, using specific chips (see the Section 11 ) . Here we have the equiva lence tables ( using Industrial Shields libraries, we do no t have to consider these equivalence s) : 10.1 Analog I/Os 10.1 Digital I/Os

35. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 34 Internal I2C and SPI Connections Instructions : How t o upload a prog ram With thes e family devices, we must follow a certain protocol to successfully upload a program: • Co nnect the micro USB cable to the micro USB port : • C onfigure this switch (BOOT) in ON pos ition :

21. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 20 In order to install Industrial Shields boards, these are the steps that must be followed. Requirements: Arduino IDE 1.8.0 or above (better to have always the latest version). Steps: 1. Open Arduino IDE and g o 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.

9. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 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. INDUSTRIAL SHIELDS MAKES NO REPRESENTATION OR WARRANTY, EXPRESS ED OR IMPLIED, REGARDING ME RCHANABILITY , NON - INFRINGEMENT, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER A LONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. INDUSTRIAL SHIELDS DI SCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED Limitations of Liability INDUSTRIAL SHIELDS SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH C LAIM IS BASED ON CONTRACT, WARRAN T Y, NEGLIGENCE, OR STRICT LIABILITY. IN NO EVENT SHALL INDUSTRIAL SHIELDS BE RESPONISBLE F OR WARRANTY, REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS INDUSTRIAL SHIELDS’S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPE RLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPIATE MODIFICATIO N OR REPAIR.

14. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 13 1.2 Zone Distribution The distribution of the different features that pr ovide the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PLUS is the f ollowing one: Shield B Zone Analog Shield 13 Inputs (13 Digital inputs, 6 of which can work as Analog Input) 8 Outputs (8 Digital Outputs, 3 of which can work as Analog Output)

15. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 14 1.3 A Zone Features Shield A Zone Communication Shield (1x) Ethernet (1x) WiFi (1x) BLE (1x) USB (1x) I2C (1x) RS - 232 (1x) HALF/FULL Duplex RS - 485 (1x) SPI external Port (1x) RTC (1x) uSD Socket 1.4 Mechanical dimension

10. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 9 ETL Listing Mark - Direct Imprint information Conforms to UL Std. 61010 - 1 Conforms to UL Std. 61010 - 2 - 201 Certified t o CSA Std. C22.2 No. 61010 - 1 Certified t o CSA Std. C22.2 No. 61010 - 2 - 201 5016476

47. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 46 Mech anical Charact eristics - Dimension ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 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 IP 56 .

25. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 24 H ow to connect PLC to power supply - ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digita l 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 T he 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. The equipment must be powered from an external power source in a ccordance with IEC 61010 - 1, whose output is MBTS and is limited in power according to section 9.4 of IEC 61010 - 1. WARINING: Once the equipment is installed inside an electrical cabinet, the MTBS cables of the equipment must be separated from the dangerous voltage cables. Compact DIN ra il power supply. Assembled on 35mm 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 certifie d according to UL.

50. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 49 directions. Failure t o observe this precaution exposes malfunctions caused by excess of temperature . - Disconnect the external power supply of the system (on all phases) before connecting or disconnecting a module. Failure to observe this precaution may cause faults or malfunc tions of the module. - Tighten the screws of the terminal ports an d 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 s crews and / or the module, with the risk of falling, short circuit s and malfunctions. - Before handling a module, dispose of the electrostatic charge accumulated by the human body by touching a suitable conductive object. Failure to observe this precaution may cause faults or malfunctions of the module. Repair note: If the equipment is suitable to be repaired, it must be verified that the equipment remains in a safe state after repair .

4. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 3 Preface This User Guide is been implemented by Boot & Work, S.L. working under the name Ind ustrial 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 sig nal modules, power supply modules and interface modules. Intended Audience This U ser Guide is intended for the following audience: • Persons in charge of introducing automation devices. • Persons who design automation systems. • Persons who install or connect automation devices. • Persons who manage working automation installation. Warni ngs: • Unused pins should not be connected. Ignoring the directive may damage the controller. • Improper use of this product may severely damage the controller. • Refer to the controller’s User Guide regarding wiring considerations. • Before using this product, i t is the responsibility of the user to read the product’s User Guide and all accompanying documentation. • Maintenance must be performed by qualifie d personnel familiar ized with the construction, operation, and hazards involved with the control.

13. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 12 General Description ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital 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. The nomenclature to differentiate the zones is based on the Alphabet, being A the shield from below and B the shield from above. It has 2 zones (A, B): • The inputs in the zone B are named I0.X, being X any number suitable in the Shield. Outputs are named as Q0.X. A ZONE B ZONE B ZONE A ZONE B ZONE A ZONE

8. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 7 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 a n Industrial Shields PLC are approved for industrial and commercial use in industrial line supplies. Their use in public line supplies requir es a different configuration and/or additional measures. These components may only be operated in closed housings or in higher - level contro l cabinets with protective covers that are closed, and when all of the protective devices are used. These components may only be handled by qualified and trained technical personnel who are knowledgeable and observe all of the safety information and instru ctions on the components and in the associated technical user documentation. When carrying out a risk assessment of a machine in accordance with the EU Machinery Directive, the machine manufacturer must consider the following residual risks associated with the control and drive components of a PDS. 1. Unintentional movements of driven machine components during commissio ning, operation, maintenance, and repairs caused by, for example: − Hardware defects and/or software errors in the sensors, controllers, ac tuators, and connection technology − Response times of the controller and drive − Operating and/or ambient conditions not within the scope of the specification − Condensation / conductive contamination − Parameterization, programming, cabling, and installa tion errors − Use of radio devices / cellular phones in the immediate vicinity of the controller − External influence s / damage . 2. Exceptional temperatures as well as emissions of noise, particles, or gas caused by, for example: − Component malfunctions − Software errors − Operating and/or ambient conditions not within the scope of the specification − External influenc es / damage. 3. Hazardous shock voltages caused by, for example: − Component malfunctions − Influence of electrostatic charging − Induction of voltages in moving motors − Operating and/or ambient conditions not within the scope of the specification − Conde nsation / conductive contamination − External influences / damage 4. Electrical, magnetic and electromagnetic fields generated in operatio n that can pose a risk to people with a pacemaker, implants or metal replacement joints, etc. if they are too close. 5. Release of environmental pollutants or emissions as a result of improper operation of the system and/or failure to dispose of component s safely and correctly.

23. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 22 Once it i s selected the ESP32 PLC Family, an extra option will appear on Tools: There, it can b e selected the exact model for every family. Also, there are some examples of programming in File - > Examples - > ESP32 PLC Family Furthermore, there are some extra libr a ries that can be found in Industrial Shields github. https://github.com/IndustrialSh ields/ How to connect PLC Arduino to PC - Connect USB port from PLC to PC. NOTE: ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PLUS use s USB - B cable. - Open Arduino IDE inte rface: - Select Industrial Shields boa rd s - > ESP32 PLC Family

7. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 6 equipment, and installation subject to separate industry or government regulations. • Outdoor us e, uses involving potential chemical contamination or electrical interference, or condit ions or uses not described in this document. At the customer’s request, INDUSTRIAL SHIELDS will provide applicable third party certification documents identifying rati ngs and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the system, machine, end product, or other application or use. Intended use or of Industrial Shields products Consider the following: Industrial Shield s products should only be used for the cases of application foreseen in the catalogue and the a ssociated technical documentation. If third - party products and components are used, they must have been recommended or a pproved by Industrial Shields . The correct and safe operation of the products requires that your transport, storage, installation, assembly, operation and maintenance have been carried out in a correct It m ust respect the permissible ambient conditions. Y ou should also follow the indications and warnings that appear in the associated documentation. The product / system dealt with in this documentation should only be handled or manipulated by qualified personnel for the task entrusted and observing what is indicated in the documentation corresponding to it, particularly the safety instructions and warnings included in it. Due to their training and experience, qualified personnel are in a position to recognize risks resulting from the handling or manipulation of such products / systems and to avoid possible hazards. Disclaimers Weights and Dimensions Dimensions and weights are nominal and they are not used for manufacturing purposes, even when tolerances are shown. Performance Data The p erformance 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 res ult of INDUSTRIAL SHIELDS’s test conditions, and the users most correlate it to actual application requirem ents. Actual performance is subject to the INDUSTRIAL SHIELDS Warranty and Limitations of Liability.

30. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 29 8.2 B Zone Swithces 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 outp ut is represented with Q 0 .X . 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 A 0 .X . B ZONE SWITCH ON OFF NC - - Q0.7 Q0.7 A0.7 Q0.6 Q0.6 A0.6 Q0.5 Q0.5 A0.5

51. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 50 Revision Table Revision Num ber Date Changes 0 05 /0 2 /20 21 First implementation About Industrial Shield s: Direction: Fàbrica del Pont, 1 - 11 Zip/P ostal Code: 082 72 City: Sant Fruitós de Bage s (Barcelona) Country: Spain Telephone: ( +34 ) 938 760 191 / (+34) 635 693 611 Mail: industrialshields@industrialshields.com

20. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 19 ISO 7000/ Graphical s ymbols for use on equipment 5036 / Dangerous Voltage To indicate hazards arising from dangerous voltages P recautions Read this manual before attempting to use the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS PLC Arduino Ethernet 21 I/O s Analog/Digital PLUS and follow its descriptions for reference during operation. 3.1 ESP32 Board This version of 10 I/Os Digital Module PLCs include ESP32 Board as controller. 3.2 I ntended Audience This manual is intended for technicians, which must have knowle dge on electrical systems. 3.3 General Precautions The user must operate ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS according to the performance specifications described in this manual. Before using ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/O s Analog/Digital PLUS under different conditions from what has been specifi ed in this manual or integrating ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your INDUSTRIAL SHIELDS representative. Ensure that the rating a nd performance characteristics of ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/O s Analog/Digital PLUS are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment double safety mechanisms. This manual prov ides information for programming and operating the ESP32 ETHERNET&WIFI&BLUE TOOTH PLC 21 I/Os Analog/Digital PLUS . Software interface Industrial Shields PLC are programmed using Arduino IDE, which is a software based on the C language. They can also be p rogrammed using directly C but it is much easier working with Arduino IDE a s 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 pin s and if that pins are inputs or outputs. Everything is set up automaticall y if using the boards.

48. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 47 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 te mperature, 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. During drilling or wiring, prevent the metal particles or wire segment s from falling into the PLC casing, which may cause fire, fault or misact. - After the PLC installation, clean the ventilation duct to prevent blocking, which may cause bad ventilation, or even fire, faults or misact. - Do not online connect, plug or unplug cables, which is apt to cause electr ic shock or damage the circuit. Installation and wire connection must be firm and reliable. Poor connection could cause misact. - Use shielded twisted pair for the I/O of high frequency signal and analog signal to improve system IMS. The installation envir onment should be free from dust, oil smoke, conductive particle, corrosive or flammable gases, high temperature, condensation, and rain. Besides, vibration and impact also affect the PLC normal operation and shorten it s lifespan. It is recommended to ins tall the PLC, together with the matching switches and contactors, in a dedicated electric cabinet and keep the cabinet ventilated. If the location has high ambient temperature or heat generating equipment nearby, install forced convection devices on top or sides of the cabinet to avoid over - temperature. During drilling or wiring, prevent the metal particles or wire segments from falling into the PLC casing, which may cause fire, fault or misact. After the PLC installation , clean the ventilation duct to prev ent blocking, which may cause bad ventilation, or even fire, faults or misact. The only way to disconnect the equipment from the electrical network is by removing the connectors that feed the equipment. Once installed i n the electrical cabinet it is very important to ensure the power connectors for proper operation. Separate the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PLUS from heat, high voltaje and eletrical noise: Always separate the devices that generate high voltage and high electrical noise from the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PLUS. When configuring the layout of the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PL US inside your panel, consider the h eat - generating devices and locate the electronic - type devices in the cooler areas of your cabinet. Reducing the exposure to a high - temperature environment will extend the operating life of any electronic device. Consider also the routing of the wiring for the devices in the electric

6. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 5 Le non - respect de ces exigences d'installation peut entr aîner des blessu res graves et/ ou des dommages matériels importants. Respectez toujours ces exigences lors de l'installation des automates de la famille ESP32 ETHERNET&WIFI&BLUETOOTH PL C 21 I/Os Analog/Digital PLUS . • En cas d'installation ou de maintenance du ESP32 ETHERNE T&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS , veuillez suivre les instructions indiquées dans la section Installation et Maintenanc e. • Ne débranchez pas l'équipemen t en présence d'une atmosphère inflammable ou combustible. La déconnexion de l'équipemen t en présence d'une atmosphère inflammable ou combustible peut provoquer un incendie ou une explosion pouvant entraîner la mort, des b lessures graves et/ ou des dommages matériels. 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 Cons ideration THE PRODUCTS CONTAINED IN THIS DOCUMENT ARE NOT SAFETY RATED. THEY SHOULD NOT BE RELIED UPON AS A SAFETY COMPONENT OR PROTECTIVE DEVICE FOR ENSURING SAFETY OF PERSONS, AS THEY ARE NOT RATED OR DESSIGN ED FOR SUCH PURP OSES. Please know and observe all prohibitions of use applicable to the products. FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESSIGNED TO ADDRESS THE RISKS , NEVER USE THE INDUSTRIAL SHIELDS PRODUCTS . NEVER USE THE INDUSTRIAL SHIELDS PRODUCT S BEFORE THEY ARE 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 o r standards that apply to the combination of products in the customer’s application or use of the product. The following are some examples of applications for which par ticular attention must be given. This is not intended to be an exhaustive list of all p ossible uses of the products, nor is it intended to imply that the uses may be suitable for the products: • Systems, machines, and equipment that could present a risk to life or property. • Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machine s , vehicles, safety

5. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 4 • Maintenanc e should be performed with t he control out of operation and disconnected from all sources of power. • Care should be taken when servicing electrostatic sensitive components. The manufacturer's recommendations for these components should be followed. • The ES P32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS Family PLCs are Open Type Controllers. I t is required that you install the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS PLC in a housing, cabinet, or electric control room. Entr y to the housing, cabinet, or electric control room should be limited to authorized personnel. Failur e to follow these installation requirements could result in severe personal injury and/or property damage. Always follow these requirements when installing ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS family PLCs. • In case of installation or maintenance of the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS please follow the instructions marked in the Installation and M aintena nce section . • Do not disconnect equipment when a flammable or combustible atmosphere is present. Disco nnection of equipment when a flammable or combustible atmosphere is present may cause a fire or explosion which could result in death, serious injury and/o r property damage. Avertissements : • Les broches non utilisées ne doivent pas être connectées. Ignorer la directive peut endommager le contrôleur. • Une utilisation incorrecte de ce produit peut endommager gravement le contrôleur. • Reportez - vous au Guide de l’utilisateur du contrôleur pour les considérations de câblage. • Avant d’utiliser ce produit, il incombe à l’utilisateur de lire le Guide de l’utilisateur du produit et la documentation qui l’accompagne. • La maintenance doit être effectuée par personnel qualifié familiarisé avec la fabrication, le fonctionnement et les dangers liés au contr ôleur. • La maintenance doit être effectuée avec l’équipement hors service et déconnectée de toutes les sources d'alimentation. • Faites attention lors de l'entretien des c omposants sensibles à l'électricité statique. Les recommandations du fabricant pour ces composants doivent être suivies. • Les automates de la famille ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS sont des contrôleurs de type ouvert. Il est nécessaire d'installer l'automate ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digi tal PLUS dans un boîtier, une armoire ou une salle de contrôle électrique. L'accès au boîtier, à l'armoire ou à la salle de commande électrique doit être limité au pers onnel autorisé.

46. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 45 Co nnector 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 Connect ion details: Article reference MC 0,5/10 - G - 2,5 THT Height 8,1mm Pitch 2,5mm Dimension 22,5mm Pin dimensions 0,8x0,8mm Pin spacing 2,50mm Article reference FK - MC 0,5/10 - ST - 2 ,5 Rigid conduit section min. 0,14 mm² Rigid conduit section max. 0,5 mm² Flexible conduit section min. 0,14 mm² Flexible conduit section max. 0,5 mm² Conduit section AWG/kcmil min. 26 Conduit section AWG/kcmil max. 20

29. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 28 7.1 Interrupt equivalence table Z ONE ANALOG/DIGITAL ESP32 PIN A 0.5 GPI O 27 0.6 G PIO 26 Switch Configuration 8.1 A Zone: Communication s USB / RS232: Changing between USB / RS2 32. If this switch is ON, it ena bles RS232 communication and disables the Programming USB . If this switch is O FF , it disables RS232 communication and en ables the Programming USB . (Programming USB must be activate d t o upload programs to the PLC). Switch ON OFF A ZONE NC / NC NC NC NC / NC NC NC NC / NC NC NC USB / RS232 RS232 USB

31. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 30 A Zone Features: Communications & RTC & uSD 9.1 RS - 232 For the RS - 232 commun ication protocol there is a switch that affects it. S ee the Section 8 f or more information. U sing the boards of Industrial Shields, there is a library that simplifies the RS - 232 implementation. 9.2 RS - 485 The RS - 485 protocol will be always enabled . Using the boards of Industrial Shields, there is a library that simplifies the RS - 485 implementation. 9.3 I2C I2C communication DOES NOT REQUIRE a pull - up resistor for the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLU S 21 I/Os PLUS . The pull - up resistor is already implemented in the PCB. 9.4 SPI The ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS pins used for the SPI bus are summarized in the table below. For SPI bus MISO, MOSI and CLOCK pins are common to all the connected devices to t he ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS , conversely, each of the c onnected devices will have a single and dedicated SS pin. Function PLC connection MISO S0 MOSI SI CLOCK SCK 9.5 Ethernet ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS Eth ernet port controller is based on w5500 IC, which is the compatible IC compatible with Arduino Ethernet2 Shield libraries. All Ethernet shield Arduino librar ies are compatible with the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS . In the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS , W5500 IC communicates to the Mega board vi a SPI bus (SS Arduino Mega pin 10 ).

32. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 31 9.1 WiFi 5G This device ha s got 5G Wi - F i based on the ch ip ISM43 340. 9.1 B LE T his device ha s got Bluetooth Low Energ y provided by the ESP32 . 9.2 RTC ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS RTC Module is based on the DS1307 Chip. This chip works with the I2C protocol communication, so it is required to have enabled the I2C protocol. Using the boards of Industrial Shields, there is a library that simplifies the RTC implementation called RTC. 9.1 I2C pins – SDA/SCL T he I2C proto col 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. 9.2 SPI – MISO/MOSI/SCK These pins can only work as a 5V pins if the Ethernet protocol is not going to be used. As the Ethernet protocol uses the SPI to communicate with the Arduino board, both behaviours cannot happen at the same time as the Ethernet would not work. 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, th ey require a pull - up or a pull - down configuration. The Arduino board allows the pins to be set in a pull - up configuration. If not it must be stablished an exter nal pull - up or pull - down circuit in order to correctly work with these pins. 9.3 uSD The micro SD uses the SPI communicati on to interact with the ESP32 . The SPI protocol is alw ays enabled, as there are no switches that configure it. Using the boards of Industrial Shields, there is a library that simplifies the uSD implementation called SD.

49. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 48 cabinet. Avoid placing low - voltage signal wires and communications cables in the same tray with AC power wiring and highenergy, rapidly - switched DC wiring. Provide adequate clearance f or coo ling and wiring ESP32 ETHERNET&WIFI& BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PLUS. Is designed for natural convection cooling. For proper cooling, you must prov ide a clearance of at least 25 c m above and below the devices. Also, allow at lea st 25 c m 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. The kind and frequency o f the maintenance operation will v ary with the kind and complexity of the equipment as well as with the nature of the operating conditions. Maintenance recommendations of the manufacturer or appropriate product standards should be followed. The following factors should be considered when formulating a maintenance program: - Maintenance must be performed by qualified personnel familiar with the construction, operation, and hazards involved with the control. - Maintenance should be performed with the control out of operation and d isconnected from all sources of power. - Care sho uld be taken when servicing electrostatic sensitive components. The manufacturer's recommendations for these components should be followed. - Ventilation passages should be kept open. If the equipment depends upon auxiliary cooling, e.g., air, water, or oil , periodic inspection (with filter replacement when necessary) should be made of these systems. - The means employed for grounding or insulating the equipment from ground should be check ed to assure its integrit y. - Accumulations of dust and dirt on all parts , including on semiconductor heat sinks, should be removed according to the manufacturer's instructions, if provided; otherwise, the manufacturer should be consulted. Care must be taken to avoid damaging any delicate components and to avoid displacing dust , dirt, or debris in a way that permits it to enter or settle into parts of the control equipment. - Enclosures should be inspected for evidence of deterioration. Accumulated dust and dir t should be removed from the top of the enclosures before opening doors or removing covers. - Certain hazardous materials removed as part of maintenance or repair procedure (e.g., polychlorinated biphenyls (PCBs) found in some liquidfilled capacitors) must be disposed of as described in Federal regulations. Safety rules for maintenance personnel Consider the following steps to follow . A false manoeuvre could be the cause of an accident or material damage. Do not disassemble or modify the modules. This coul d lead to breakdowns or malfunctions and could lead to injuries or fire. - All types of radio communication devices, including mobile phones and personal handy - phone systems (PHS), must be kept more than 25cm away from the PLC in all

19. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 18 PSRAM 2M B Clock Speed 8 MHz 2.3 Symbology Table that includes all the symbology that is used in the serigraph of the ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS PLC Ar duino Ethernet 21 I/Os Analog/Digital PLUS: Symbol Standard No. / Standard Title Standard Reference No. / Symbol Title Symbol Meaning IEC 60417 / Graphical symbols for use on equipment 5031 / Direct Current Indicates that the equipment is suitable for direct current only; to identify relevant terminals IEC 60417 / Graphical symbols for use on equipment 5032 / Alternating Current Indicates that the equipment is suitable for alternating current only; to identify relevant terminals IEC 60417 / Graphical symbols for use on equipment 5130 / Pulse General To identify the control by which a pulse is started. IEC 60417 / Graphical symbols for use on equipment 5017 / Earth, Ground To identify an earth (ground) terminal in cases where neither the symbol 5018 nor 5019 is explicily required. IEC 60417 / Graphical symbols for use on equipment 5115 / SIgnal lamp To identify the switch by means of which the signal lamp(s) is (are) switched on or off. Medical Devices Directive 93/42/EEC CE Marking CE marking indicates that a product compl ies with applicable European Union regulations ISO 7000/ Graphical symbols for use on equipment 0434B / Warning symbol Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury

18. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 17 T echnical Specifications: 2.1 General Specifications: Item ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS Power supply voltage DC power supply 12 to 24V dc Operating voltage range DC power supply 11 .4 to 25.4V dc Power consumption DC power supply 30W max. External power supply Power supply voltage 24V dc Power supply output capacity 700 Ma Insulation resistance 20MΩ min.at 500Vdc between the AC t erminals and the protective earth terminal. Dielectric strength 2.300 VAC at 50/60 Hz for one minute with a leakage current of 10mA max. Between all the external AC te rminals and the protective ground terminal. Shock resistance 80m/s 2 in the X, Y and Z d irection 2 times each. Ambient temperature (operating) 0º to 60 ºC Ambient humidity (operating) 10% to 90% (no condensation) Ambient environment (operating) With no corrosive gas Ambient temperature (storage) - 20º to 60ºC Power supply holding time 2ms min. Weight 378g max. 2.2 Performance Specification: Board ESP32 DevKit C (3,3V) Control method Stored program method I/O control method Combination of the cyclic scan and immediate refresh processing methods. Programming language Arduino IDE. Based on wiring (Wiring is an Open Source electronics platform composed of a programming language. “similar to the C”. http://arduino.cc/en/Tutorial/HomePage Microcontroller ESP32 External Flash Memory 4MB P rogram capacity (SRAM) 4M B

26. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 25 ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog /Digital PLUS 21 I/Os PLUS Pinout 7.1 A Zone connection SS: Chip Select pins. These pins can act a s TTL, so they can work for the Chip Select pin of any device . Base (common unit) A Zone PLC Function 3.3 Vdc 5 Vdc GND 3.3Vdc 5Vdc GND SCL SDA GND IO33 TX RX GND GND VN VP B - A+ GND 50 SO 51 SI 5 2 SCK NC 5 Vdc GND GND - - - - - - I2C/SS I2C/SS - - RX1 /SS TX1 /SS - - - - RS485 RS485 RS485 SPI SPI SPI - 5V Gnd Gnd Base (common unit) A Zone PLC Function Vdc G ND Power Supply GND Communication Pins Configuration Switch* (see section 8 for configuring the communications . E nabling communications disables some I/Os)

16. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 15 1.5 General Features CONECTABLE PLC ARDUINO 24Vcc ESP32 ET HERNET&WIFI&BLUETOOTH PLC 21 I/OS ANALOG/DIGITAL PLUS MODEL TYPE A+B Zone Input Voltage 12 to 24Vdc Fuse protection (2.5A) Polarity protection Input rated voltage 24 Vdc Rated Power 30 W I max. 1. 5A Size 10 1x70.1x119.5 Clock Speed Extern al: 240 MHz Internal: 8 MHz External Flash Memory 4 MB SRAM 4 MB EEPROM 2 MB Communications I2C – Ethernet Port – WiFi – BLE – USB – RS485 – RS232 – SPI Max232 - Max485 - W5500 USB consideration! Only meant for uploadi ng or debugging, not always connected as a serial in a project! Cannot be working in a final application An/Dig Input 10bit (0 - 10Vcc) 0 to 10V ac Input Impedance: 39K Separated PCB ground Rated Voltage: 10Vac 5 to 24Vdc I min: 2 to 12 mA Galvanic Isolatio n Rated Voltage: 24 Vdc Digital Isolated Input (24Vcc) 5 to 24Vdc I min: 2 to 12 mA Galvanic Isolation Rated Voltage: 24 Vdc * Interrupt isolated Input HS (24Vcc) 5 to 24Vdc I min: 2 to 12 mA Galvanic Isolation Rated Voltage: 24Vdc Analog Ou tput 8bit (0 - 10Vcc) 0 to 10V a c I max: 20 mA Separated PCB ground Rated Voltage: 10Vac Digital Isolated Output (24Vcc) 5 to 24 Vdc I max: 70 mA Galvanic Isolation Diode Protected for Relay Rated Voltage: 24Vdc Imax 24Vdc: 410 mA Digital Isolated Out put Relay 220V Vdc I max: 5A Galvanic Isolation Diode protected for Relay

12. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 11 9.4 SPI ................................ ................................ ................................ ................................ .... 30 9.5 Ethernet ................................ ................................ ................................ ........................... 30 9.1 WiFi 5G ................................ ................................ ................................ ............................ 31 9.1 BLE ................................ ................................ ................................ ................................ ... 31 9.2 RTC ................................ ................................ ................................ ................................ ... 31 9.1 I2C pins – SDA/SCL ................................ ................................ ................................ .......... 31 9.2 SPI – MISO/MOSI/SCK ................................ ................................ ................................ ..... 31 9.3 uS D ................................ ................................ ................................ ................................ .. 31 Equivalence Table ................................ ................................ ................................ .. 33 10.1 Analog I/Os ................................ ................................ ................................ ...................... 33 10.1 Digital I/Os ................................ ................................ ................................ ....................... 33 I nternal I2C and SPI Connections ................................ ................................ .......... 34 Instructions: How to upload a program ................................ ................................ 34 Instructions for interconnection between Industrial Shields controllers ............. 36 13.1 RS - 232 Communication: ................................ ................................ ................................ .. 36 13.2 RS - 485 Communication: ................................ ................................ ................................ .. 36 13.2.2 Full Duplex ................................ ................................ ................................ ........... 36 13.3 Ethernet ................................ ................................ ................................ ........................... 37 I/O technical details: ................................ ................................ ............................. 38 Typical Connections ................................ ................................ .............................. 40 Connector details: ................................ ................................ ................................ . 45 Mechanical Characteristics ................................ ................................ ................... 46 Installation and Maintenance ................................ ................................ ............... 47 Revision Table ................................ ................................ ................................ ....... 50

11. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 10 Table of Contents General Description ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS product ................................ ................................ ................................ .............................. 12 1.1 Zone - Nomenclature ................................ ................................ ................................ ...... 12 1.2 Zone Distribution ................................ ................................ ................................ ............. 13 1.3 A Zone Featu res ................................ ................................ ................................ ............... 14 1.4 Mechanical dimension ................................ ................................ ................................ .... 14 1.5 General Features ................................ ................................ ................................ ............. 15 Technical Specifications: ................................ ................................ ........................... 17 2.1 General Specifications: ................................ ................................ ................................ .... 17 2.2 Performance Specification: ................................ ................................ ............................. 17 2.3 Symbology ................................ ................................ ................................ ....................... 18 Precautions ................................ ................................ ................................ ................ 19 3.1 ESP32 Board ................................ ................................ ................................ .................... 19 3.2 Intended Audience ................................ ................................ ................................ .......... 19 3.3 General Precautions ................................ ................................ ................................ ........ 19 Software interface ................................ ................................ ................................ ..... 19 How to connect PLC Arduino to PC ................................ ................................ ........... 22 How to connect PLC to power supply ................................ ................................ ....... 24 ESP32 ETHERNET&WIFI&BLUETOOTH PLC 21 I/Os Analog/Digital PLUS 21 I/Os PLUS Pinout ................................ ................................ ................................ ................................ 25 7.1 A Zone connection ................................ ................................ ................................ .......... 25 7.2 B Zone (Analog Shield) ................................ ................................ ................................ .... 27 7.1 Interrupt equivalence table ................................ ................................ ............................. 28 Switch Configuration ................................ ................................ ................................ . 28 8.1 A Zone: Communications ................................ ................................ ................................ 28 8.2 B Zone Swithces ................................ ................................ ................................ .............. 29 A Zone Features: Communications & RTC & uSD ................................ ...................... 30 9.1 RS - 232 ................................ ................................ ................................ ............................. 30 9.2 RS - 485 ................................ ................................ ................................ ............................. 30 9.3 I2C ................................ ................................ ................................ ................................ .... 30

28. Ref. 034001000200 Re v. 0 : 0 5 - 02 - 202 1 27 7.2 B Zone (Analog Shield) 1 See section 8 to sele ct suitable switch configuration for enable these connections. NOTE: The Digital/Analog I/Os in this device are connected to the ESP32 through I2C. For more information see th e Section 10 . B Zone PL C Function I0.12 I0.11 I0.10 I0.9 I0.8 I0.7 ( - ) I0.6 /INT1 I 0.6 /INT1 1 ( - ) I0.5 /INT0 I0.5 /INT0 1 ( - ) I0.4 I0.4 ( - ) I0.3 I0.3 ( - ) I0.2 I0.2 ( - ) I0.1 I0.1 ( - ) I0.0 I0.0 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.3 Digital Input GND I0.2 Digital Input GND I0.1 Digital Input GND I0.0 Digital Input B Zone PLC Arduino Pin Function GND A0.7 1 A0.6 1 A0.5 1 Q/Vdc COM ( - ) Q0.7 1 Q0.6 1 Q0.5 1 Q0.4 Q0.3 Q0.2 Q0.1 Q0.0 GND 6 5 4 - - 6 5 4 40 39 38 37 36 GND Analog Out Analog Out Analog Out External Isolated Out Vdc External Isolated Out GN D Digital /PWM Out Digital /PWM Out Digital /PWM Out Digital Out Digital Out Digital Out Digital Out Digital Out Led indicator I/Os state Analog/Digital Inputs Interrupt Inputs (isolated) Digital Inputs (isolated) Configuration Switch* (see section 8 to select the correct configuration for outputs). Analog Outputs Voltage Suppl y/Reference for Digital/PWM Outputs (isolated) Digital Outputs Top Zone

Views

  • 227 Total Views
  • 158 Website Views
  • 69 Embeded Views

Actions

  • 0 Social Shares
  • 0 Likes
  • 0 Dislikes
  • 0 Comments

Share count

  • 0 Facebook
  • 0 Twitter
  • 0 LinkedIn
  • 0 Google+