Industrial Shields ESP32 PLC 21+ Manual

Ethernet & wifi & bluetooth plc
Hide thumbs Also See for ESP32 PLC 21+:
Table of Contents

Advertisement

Quick Links

ESP32 ETHERNET & WIFI &
BLUETOOTH PLC FAMILY
PLC ESP32 ETHERNET & WIFI & BLUETOOTH FAMILY

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32 PLC 21+ and is the answer not in the manual?

Questions and answers

Summary of Contents for Industrial Shields ESP32 PLC 21+

  • Page 1 ESP32 ETHERNET & WIFI & BLUETOOTH PLC FAMILY PLC ESP32 ETHERNET & WIFI & BLUETOOTH FAMILY...
  • Page 2 Rev. 16: 19-08-2024 ESP32 Ethernet & WiFi & BLE PLC Family Revised August 2024...
  • Page 3 Rev. 16: 19-08-2024 Preface This User Guide has 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 Rev. 16: 19-08-2024 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 ESP32 ETHERNET & WIFI & BLUETOOTH PLC family PLCs. ●...
  • Page 5 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 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.
  • Page 7 Rev. 16: 19-08-2024 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 commissioning, operation, maintenance, and repairs caused by, for example: −...
  • 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.
  • Page 9: Table Of Contents

    Rev. 16: 19-08-2024 Table of Contents 1 General Description ESP32 ETHERNET & WIFI & BLUETOOTH PLC FAMILY Product....10 1.1 Zones Table........................10 1.2 Measures Table....................... 10 1.3 Zone - Nomenclature...................... 11 1.4 Zone Distribution......................11 1.5 Zone Features........................12 1.6 Mechanical dimensions....................13 1.7 General Features......................
  • Page 10 15 Instructions for troubleshooting..................44 15.1 CP210x Driver (for USB 2.0/3.0)..................44 15.2 D2XX Driver (for USB 2.0)....................44 15.3 D3XX Driver (for USB 3.0)....................44 16 Instructions for interconnection between Industrial Shields controllers......45 16.1 RS-232 Communication:....................45 16.2 RS-485 Communication....................45 16.2.1 Half Duplex......................45 16.3 Ethernet........................
  • Page 11: General Description Esp32 Ethernet & Wifi & Bluetooth Plc Family Product

    Rev. 16: 19-08-2024 General Description ESP32 ETHERNET & WIFI & BLUETOOTH PLC FAMILY Product 1.1 Zones Table 1.2 Measures Table...
  • Page 12: Zone - Nomenclature

    Rev. 16: 19-08-2024 1.3 Zone - Nomenclature The nomenclature shown in this point will be used in the whole user guide, in order to refer to the different parts of the PLC. It is important to understand this nomenclature to fully grasp the contents of the user guide.
  • Page 13: Zone Features

    Rev. 16: 19-08-2024 1.5 Zone Features Shield Zone Characteristics (1x) Ethernet (1x) WiFi (1x) BLE (1x) VN/VP (2x) Serial TTL Communication Shield (1x) I2C (1x) RS-232 (1x) Half Duplex RS-485 (1x) SPI external port (1x) RTC (1x) uSD Socket 13 Inputs: 13 digital inputs, 6 of which can work as analog input.
  • Page 14: Mechanical Dimensions

    Rev. 16: 19-08-2024 1.6 Mechanical dimensions *NOTE: This device includes one 2.4GHz antenna and one 4G antenna (for the 4G option), both with a 5 cm length.
  • Page 15: General Features

    Rev. 16: 19-08-2024 1.7 General Features ESP32 ETHERNET & WIFI & BLUETOOTH PLC FAMILY MODEL TYPE Controller General Specifications Information 12 to 24Vdc Fuse protection (2.5A) Input Voltage Polarity protection 24Vdc Input rated voltage Rated Power I max. 1.5A Size Consult the 1.6 Measure Table section...
  • Page 16 Rev. 16: 19-08-2024 5 to 24Vdc I max: 70mA PWM Isolated Output 12 Galvanic Isolation Diode Protected for Relay (24Vcc) Rated Voltage: 24Vdc SCL/SDA: Rising edge time: 2us Falling edge time: 200us TX2: Output frequency: 1.026MHz Rising edge time: 100ns Direct ESP32 Pins Falling edge time: 100ns Max read time: 1us...
  • Page 17: Power Consumption Of The Esp32 Family Plcs

    Rev. 16: 19-08-2024 1.8 Power consumption of the ESP32 Family PLCs Model Current resting Power resting Current active Power active (mA) (mA) 2,16 2,448 2,136 2,784 1,848 2,88 19R+ 1,728 4,584 38R+ 1,752 7,296 57R+ 1,824 9,96 38AR+ 1,752 5,016 53ARR+ 7,656 57AAR+...
  • Page 18: Technical Specifications

    Rev. 16: 19-08-2024 Technical Specifications 2.1 General Specifications Item ESP32 ETHERNET & WIFI & BLUETOOTH PLC Power supply DC power supply 12 to 24Vdc voltage Operating DC power supply 11.4 to 25.4Vdc voltage range Power DC power supply 30W max. consumption Power supply...
  • Page 19: Performance Specification

    Rev. 16: 19-08-2024 2.2 Performance Specification Board ESP32-WROOM-32UE 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.
  • Page 20: Symbology

    Rev. 16: 19-08-2024 2.4 Symbology Table including the symbology used in the ESP32 ETHERNET & WIFI & BLUETOOTH PLC serigraph. I/Os Analog/Digital PLUS: Standard No. / Standard Reference Symbol Symbol Meaning Standard Title No. / Symbol Title IEC 60417 / Indicates that the equipment is Graphical symbols 5031 / Direct...
  • Page 21: Precautions

    ESP32 ETHERNET & WIFI & BLUETOOTH. Software interface Industrial Shields PLCs are programmed using Arduino IDE, which is a software based on the C language. They can also be programmed directly using C but it is much easier working with Arduino IDE as it provides lots of libraries that help in the programming.
  • Page 22 Rev. 16: 19-08-2024 Requirements: Arduino IDE 1.8.13 or above (recommended: 1.8.19). 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.
  • Page 23: How To Connect The Esp32 Plc To Pc

    Rev. 16: 19-08-2024 Following these steps, you will be able to see now the Industrial Shields Boards: Once the ESP32 PLC Family is selected, an extra option will appear on “Tools”. There, the exact model for each family can be selected.
  • Page 24 Rev. 16: 19-08-2024 ● Select the correct ESP32 PLC Model: ● Select the latest version.
  • Page 25 Rev. 16: 19-08-2024 ● Select the right extension modules (if required: if you have purchased the device with them by default). ● Select the correct port for your board...
  • Page 26: How To Connect Plc To Power Supply

    -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.
  • Page 27: Esp32 Ethernet & Wifi & Bluetooth Plc Pinout

    Rev. 16: 19-08-2024 7 ESP32 ETHERNET & WIFI & BLUETOOTH PLC Pinout 7.1 I/Os Table 7.2 0 Zone connection Base (common unit) A Zone Functio 3.3Vdc 5Vdc 3.3Vdc 5Vdc GPIO 22 GPIO 21 SENS VN SENS VP RS485 RS485 RS485 GPIO 19 GPIO 23 GPIO 18...
  • Page 28 Rev. 16: 19-08-2024 Base (common unit) A Zone Function Power Supply NOTE: Slots or indications related to the Extension modules are clearly pointed out on the serigraphy of the device.
  • Page 29: Analog/Digital Zone Connection (I/Os)

    Rev. 16: 19-08-2024 7.3 Analog/Digital Zone connection (I/Os) Zone ESP32 Function Conne ctor IX.12 Analog / Digital In IX.11 Analog / Digital In IX.10 Analog / Digital In IX.9 Analog / Digital In IX.8 Analog / Digital In IX.7 Analog / Digital In (-)IX.6 GND I0.6 IX.6/INT...
  • Page 30: Relay Zone Connection (I/Os)

    Rev. 16: 19-08-2024 7.4 Relay Zone connection (I/Os) Zone M-Dui Function Conne ctor RX.8 Relay Out RX.7 Relay Out RX.6 Relay Out RX.5 Relay Out RX.4 Relay Out AX.2 Analog Out AX.1 Analog Out AX.0 Analog Out QX.2 Digital/PWM Out QX.1 Digital/PWM Out QX.0...
  • Page 31: Interrupt Equivalence Table

    Rev. 16: 19-08-2024 7.5 Interrupt equivalence table ZONE ANALOG/DIGITAL RELAY ESP32 PIN Switch Configuration 8.1 0 Zone: Communications RS484/Serial1/RS232/Serial2/EXP2: This switch configuration can be done following the previous table to select among RS485 or Serial1 and RS232 or Serial2 or EXP2 (Expansion shield...
  • Page 32: Analog / Digital Zone

    Rev. 16: 19-08-2024 8.2 Analog / Digital Zone ZONE A ZONE B ZONE C SWITCH SWITCH SWITCH Q0.7 Q0.7 A0.7 Q1.7 Q1.7 A1.7 Q2.7 Q2.7 A2.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...
  • Page 33: Software Set Up

    Rev. 16: 19-08-2024 Software set up Whether they are digital or relay, the inputs and outputs must be configured in the set up part of the code, like it is usually done in common Arduino boards. The function that must be used is pinMode(), like it is explained on the official Arduino website: https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/ 9.1 Example...
  • Page 34 Rev. 16: 19-08-2024 If you want to configure an output, it can be done this way: pinMode(Q0_5, OUTPUT);...
  • Page 35: O Esp32 Plc 3.3V/5V Pins

    Rev. 16: 19-08-2024 10 I/O ESP32 PLC 3.3V/5V pins The ESP32 ETHERNET & WIFI & BLUETOOTH PLC has some of the ESP32 board pins available. These pins can be programmed according to ESP32 features such as I/O’s operating at 3.3Vdc or any additional features present in the pins.
  • Page 36: I2C

    Using the boards of Industrial Shields, you only have to initialise the port with the function RS232.begin(<baud rate>); in the setup part and then you can use the RS-232 with the common serial functions: RS232.read(); and RS232.write();.
  • Page 37: Ble

    ESP32 ETHERNET & WIFI & BLUETOOTH PLC 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.
  • Page 38: Gpio_0

    Rev. 16: 19-08-2024 11.9 GPIO_0 The GPIO_0 is a pin which works at 5Vdc and can be used as a digital input or digital output in function of the programming. It cannot be used with sensors like the DS18B20. It can be defined in the setup block: pinMode(GPIO_0,INPUT);...
  • Page 39: Additional Features

    Rev. 16: 19-08-2024 12 Additional Features 12.1 Expansion modules This device has a system of 2 optional expansion modules. Each one of them is an additional internal board that can be selected by the client when the device is purchased: 12.1.1 4G LTE / GPRS / GSM /NB1 The 4G LTE / GPRS / GSM / NB1 expansion board uses the SARA-R412M-02B-03 microchip, which has the following features:...
  • Page 40: Lora

    Rev. 16: 19-08-2024 12.1.3 LoRa The LoRa expansion board can use the RN2483 or RN2903 microchip depending on the frequency needed, which have the following features: ● Model: RN2483 (for Europe/Asia), RN2903 (for North America/Australia) ● Type: LoRa ● Key Features: On-board LoRaWAN protocol stack, ASCII command interface over UART, Castellated SMT pads for easy and reliable PCB mounting, Environmentally friendly, RoHS compliant, Device Firmware Upgrade (DFU) over UART, etc.
  • Page 41: Equivalence Table

    The Digital/Analog I/Os of this device are connected to the ESP32 through I2C, using specific chips (see the Section 14). Here we have the equivalence tables (using Industrial Shields libraries, we do not have to consider these equivalences): 13.1 Pin-Out...
  • Page 42: Digital I/Os

    Rev. 16: 19-08-2024 13.1.2 Digital I/Os 13.1.3 Relay Devices Analog I/Os...
  • Page 43: Digital I/Os

    Rev. 16: 19-08-2024 13.1.4 Digital I/Os...
  • Page 44: Relay

    Rev. 16: 19-08-2024 13.1.5 Relay...
  • Page 45: Internal I2C And Spi Connections

    Rev. 16: 19-08-2024 14 Internal I2C and SPI Connections 15 Instructions for troubleshooting Programming with Linux hardly gives any problem but, with Windows or Macintosh can appear some issues related to firmware compatibility with the Operating System. So, if you have any problem with Windows or Macintosh, like the system not recognizing the device or a timeout when uploading the code, it is recommended to install the following drivers and restart the computer to avoid any related issue.
  • Page 46: Instructions For Interconnection Between Industrial Shields Controllers

    Rev. 16: 19-08-2024 16 Instructions for interconnection between Industrial Shields controllers 16.1 RS-232 Communication: 16.2 RS-485 Communication 16.2.1 Half Duplex...
  • Page 47: Ethernet

    Rev. 16: 19-08-2024 16.3 Ethernet For Ethernet communication between two Industrial Shields equipment an SFTP CAT-6 Ethernet crossover cable must be used. 17 Digital inputs threshold detection The Ardbox inputs have a minimum voltage threshold to reliably detect the signal when used as digital input.
  • Page 48: Typical Connections

    Rev. 16: 19-08-2024 18 Typical Connections...
  • Page 49 Rev. 16: 19-08-2024...
  • Page 50 Rev. 16: 19-08-2024...
  • Page 51 Rev. 16: 19-08-2024...
  • Page 52 Rev. 16: 19-08-2024...
  • Page 53: Connector Details

    Rev. 16: 19-08-2024 19 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 54 Rev. 16: 19-08-2024 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. Conduit section AWG/kcmil max.
  • Page 55: Mechanical Characteristics

    Rev. 16: 19-08-2024 20 Mechanical Characteristics ● Dimension ESP32 ETHERNET & WIFI & BLUETOOTH PLC: ● 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.
  • Page 56: Installation And Maintenance

    Rev. 16: 19-08-2024 21 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 57 Rev. 16: 19-08-2024 Provide adequate clearance for cooling and wiring ESP32 ETHERNET & WIFI & BLUETOOTH PLC. Is designed for natural convection cooling. For proper cooling, you must provide a clearance of at least 25cm above and below the devices. Also, allow at least 25cm of depth between the front of the modules and the inside of the enclosure.
  • Page 58 Rev. 16: 19-08-2024 ● 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.
  • Page 59: Revision Table

    Added section 17 29/04/2024 Added section 12.1.4 19/08/2024 Section 12 modified About Industrial Shields: Direction: Camí del Grau, 25 Zip/Postal Code: 08272 City: Sant Fruitós de Bages (Barcelona) Country: Spain Telephone: (+34) 938 760 191 / (+34) 635 693 611 industrialshields@industrialshields.com...

Table of Contents