Industrial Shields ESP32 ETHERNET & WIFI & BLUETOOTH PLC Series User Manual

Hide thumbs Also See for ESP32 ETHERNET & WIFI & BLUETOOTH PLC Series:

Advertisement

Quick Links

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

Advertisement

Table of Contents
loading

Summary of Contents for Industrial Shields ESP32 ETHERNET & WIFI & BLUETOOTH PLC Series

  • Page 1 ESP32 ETHERNET & WIFI & BLUETOOTH PLC FAMILY PLC ESP32 ETHERNET & WIFI & BLUETOOTH FAMILY...
  • Page 2 Rev. 9: 07-11-2022...
  • Page 3 Rev. 9: 07-11-2022 ESP32 Ethernet & WiFi & BLE PLC Family Revised October 2022...
  • Page 4 Rev. 9: 07-11-2022 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 5 Rev. 9: 07-11-2022 housing, cabinet, or electric control room. Entry to the housing, 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...
  • 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 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 8 Rev. 9: 07-11-2022 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 9 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 10: Table Of Contents

    Rev. 9: 07-11-2022 Table of Contents General Description ESP32 ETHERNET&WIFI&BLUETOOTH PLC FAMILY Product ....12 Zones Table ........................12 Measures Table ......................13 Zone - Nomenclature ....................14 Zone Distribution ......................14 Zone Features ......................15 ............................. 16 Mechanical dimensions ....................16 General Features ......................
  • Page 11 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 Instructions for interconnection between Industrial Shields controllers ......45 16.1 RS-232 Communication: ....................45 16.2 RS-485 Communication: ....................45...
  • Page 12 Rev. 9: 07-11-2022 Typical Connections ....................... 47 Connector details: ........................52 Mechanical Characteristics ....................53 Installation and Maintenance ....................54 Revision Table ........................57...
  • Page 13: General Description Esp32 Ethernet&Wifi&Bluetooth Plc Family Product

    Rev. 9: 07-11-2022 General Description ESP32 ETHERNET&WIFI&BLUETOOTH PLC FAMILY Product Zones Table...
  • Page 14: Measures Table

    Rev. 9: 07-11-2022 Measures Table...
  • Page 15: Zone - Nomenclature

    Rev. 9: 07-11-2022 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 Alphanumeric values, being 0 the internal communication shield and A, B or C the I/Os or Relay shield.
  • Page 16: Zone Features

    Rev. 9: 07-11-2022 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 Analog Shield 8 Outputs:...
  • Page 17: Mechanical Dimensions

    Rev. 9: 07-11-2022 Mechanical dimensions *NOTE: This device includes one 2.4GHz antenna and one 5G antenna (for the 5G option), and both have a length of 5cm.
  • Page 18: General Features

    Rev. 9: 07-11-2022 General Features ESP32 ETHERNET&WIFI&BLUETOOTH PLC FAMILY MODEL TYPE Controller General Specifications Information Fuse protection (2.5A) 12 to 24Vdc Input Voltage Polarity protection 24 Vdc Input rated voltage Rated Power 30 W I max. 1.5A Size Consult the 1.6 Measure Table section External: adjustable from 80 MHz to 240 MHz...
  • Page 19: Technical Specifications

    Rev. 9: 07-11-2022 220V Vac / 5A 30Vdc / 3A Relay Output Galvanic Isolation (220Vac / 30Vdc) Diode protected for Relay 5 to 24Vdc I max: 70 mA PWM Isolated Output Galvanic Isolation Diode Protected for Relay 12 bit (24Vcc) Rated Voltage: 24Vdc Expandability I2C - 127 elements - Serial Port RS232/RS485...
  • Page 20: Performance Specification

    Rev. 9: 07-11-2022 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 Programming language composed of a programming language. (We recommend minimum version 1.8.13). http://arduino.cc/en/Tutorial/HomePage Microcontroller ESP32...
  • Page 21: Symbology

    Rev. 9: 07-11-2022 Symbology Table that includes all the symbology that is used in the serigraph of the ESP32 ETHERNET&WIFI&BLUETOOTH PLC I/Os Analog/Digital PLUS: Symbol Standard No. / Standard Symbol Meaning Standard Title Reference No. / Symbol Title IEC 60417 / 5031 / Direct Indicates that the equipment is Graphical symbols...
  • Page 22: Precautions

    ESP32 ETHERNET&WIFI&BLUETOOTH. 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 23 Rev. 9: 07-11-2022 Requirements: Arduino IDE 1.8.13 or above (better to always have the latest version). 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.
  • Page 24 Rev. 9: 07-11-2022 Following these steps, you will be able to see now the Industrial Shields Boards: Once it is selected the ESP32 PLC Family, an extra option will appear on Tools. There, it can be selected the exact model for every family.
  • Page 25: How To Connect Esp32 Plc To Pc

    How to connect ESP32 PLC to PC Connect micro-USB port from PLC to PC NOTE: ESP32 ETHERNET&WIFI&BLUETOOTH PLC uses micro-USB type B cable. Open Arduino IDE interface Select Industrial Shields boards -> ESP32 PLC Family Select the correct ESP32 PLC Model:...
  • Page 26 Rev. 9: 07-11-2022 Select the latest version. Select the right extension modules (if required: if you have purchased the device with them by default).
  • Page 27: How To Connect Plc To Power Supply

    Rev. 9: 07-11-2022 Select the correct port for your board. How to connect PLC to power supply ESP32 ETHERNET&WIFI&BLUETOOTH 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.
  • Page 28: Esp32 Ethernet&Wifi&Bluetooth Plc Pinout

    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.
  • Page 29 Rev. 9: 07-11-2022 Base (common unit) A Zone 3.3Vdc 5Vdc Communication Pins 3.3Vdc 5Vdc GPIO 22 GPIO 21 SENS VN Configuration Switch* (see section 8 SENS VP RS485 configuring the communications. RS485 Enabling communications disables some RS485 I/Os) GPIO 19 GPIO 23 GPIO 18 GPIO 0...
  • Page 30: Analog/Digital Zone Connection (I/Os)

    Rev. 9: 07-11-2022 NOTE: Slots or indications related to the Extension modules are clearly pointed out on the serigraphy of the device. Analog/Digital Zone connection (I/Os) Zone...
  • Page 31: Relay Zone Connection (I/Os)

    Rev. 9: 07-11-2022 IX.12 Analog / Digital In IX.11 Analog / Digital In IX.10 Analog / Digital In IX.9 Analog / Digita In IX.8 Analog / Digital In IX.7 Analog / Digital In (-)IX.6 GND I0.6 IX.6/INT Interrupt (-)IX.5 GND I0.5 IX.5/INT Interrupt (-)IX.4...
  • Page 32: Interrupt Equivalence Table

    Rev. 9: 07-11-2022 Zone RX.8 Relay Out RX.7 Relay Out RX.6 Relay Out RX.5 Relay Out Relay Outputs 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 Digital/PWM Out GNDCOM External Isolated Out GND 24VCOM External Isolated Out Vdc...
  • Page 33: Switch Configuration

    Rev. 9: 07-11-2022 ZONE ANALOG/DIGITAL RELAY ESP32 PIN Switch Configuration 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 Analog / Digital Zone ZONE A ZONE B ZONE C...
  • Page 34: Relay Zone

    Rev. 9: 07-11-2022 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 A2.5 Relay Zone ZONE A ZONE B ZONE C SWITCH SWITCH SWITCH...
  • Page 35: Software Set Up

    Rev. 9: 07-11-2022 Software set up Wether 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 oficial Arduino website: https://www.arduino.cc/reference/en/language/functions/digital-io/pinmode/ Example...
  • Page 36 Rev. 9: 07-11-2022 If you want to configure an output, it can be done this way: pinMode(Q0_5, OUTPUT);...
  • Page 37: I/O Esp32 Plc 3.3V Pins

    Rev. 9: 07-11-2022 I/O ESP32 PLC 3.3V pins The ESP32 ETHERNET&WIFI&BLUETOOTH PLC has some of the ESP32 board pins available. These pins can be programmed according to Raspberry features such as I/O’s operating at 3.3V or any additional features present in the pins (for example I2C communication in pins SCL and SDA).
  • Page 38: A Zone Features: Communications & Rtc & Usd

    Section 8 more information. Using the boards of Industrial Shields, you only have to initialize the port with the function RS232.begin(<baudrate>); in the setup part and then you can use the RS-232 with the common serial functions: RS232.read(); and RS232.write();.
  • Page 39: Spi - Miso/Mosi/Sck

    The microSD uses the SPI communication to interact with the ESP32. The SPI protocol is always enabled, as there are no switches that configure it. Using Industrial Shields boards there is a library that simplifies the uSD implementation called 11.9 GPIO_0 The GPIO_0 is pin which works at 5Vdc and can be used as a digital input or digital output in function of the programming.
  • Page 40: Additional Features

    Rev. 9: 07-11-2022 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.
  • 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. 9: 07-11-2022 13.1.2 Digital I/Os 13.1.3 Relay Devices Analog I/Os...
  • Page 43: Digital I/Os

    Rev. 9: 07-11-2022 13.1.4 Digital I/Os...
  • Page 44: Relay

    Rev. 9: 07-11-2022 13.1.5 Relay...
  • Page 45: Internal I2C And Spi Connections

    Rev. 9: 07-11-2022 Internal I2C and SPI Connections 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 does not recognize 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. 9: 07-11-2022 Instructions for interconnection between Industrial Shields controllers 16.1 RS-232 Communication: 16.2 RS-485 Communication: 16.2.1.1 Half Duplex...
  • Page 47: Ethernet

    Rev. 9: 07-11-2022 16.3 Ethernet For an Ethernet communication between Industrial Shields equipment a SFTP CAT-6 Ethernet crossover cable must be used.
  • Page 48: Typical Connections

    Rev. 9: 07-11-2022 Typical Connections...
  • Page 49 Rev. 9: 07-11-2022...
  • Page 50 Rev. 9: 07-11-2022...
  • Page 51 Rev. 9: 07-11-2022...
  • Page 52 Rev. 9: 07-11-2022...
  • Page 53: Connector Details

    Rev. 9: 07-11-2022 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: Mechanical Characteristics

    Rev. 9: 07-11-2022 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 55: Installation And Maintenance

    Rev. 9: 07-11-2022 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 56 Rev. 9: 07-11-2022 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 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.
  • Page 57 Rev. 9: 07-11-2022 - 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 58: Revision Table

    Changes on section 10.1 14/10/2022 Section 9 added 07/11/2022 Section 11.9 added 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 Mail: industrialshields@industrialshields.com...

Table of Contents