background image

 

 

 

 

 

                      

ESP32 ETHERNET & WIFI & BLUETOOTH PLC  

FAMILY

 

 

 

 

 

PLC ESP32 ETHERNET & WIFI & BLUETOOTH FAMILY

 

 

 

 

 

 

 

 

 

 

 

Содержание ESP32

Страница 1: ...ESP32 ETHERNET WIFI BLUETOOTH PLC FAMILY PLC ESP32 ETHERNET WIFI BLUETOOTH FAMILY ...

Страница 2: ...Rev 1 13 04 2021 1 ...

Страница 3: ...Rev 1 13 04 2021 2 ESP32 Ethernet WiFi BLE PLC Family Revised March 2021 ...

Страница 4: ... 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 it is the responsibility of the user to read the product s User Guide and all accompanying documentation Maintenance must be performed by qualified personnel familiarized with the construction operati...

Страница 5: ...teur 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 composants sensibles à l électricité statique ...

Страница 6: ...EM 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 The following are some examples of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply ...

Страница 7: ...ions Dimensions and weights are nominal and they are not used for manufacturing purposes even when tolerances are shown Performance Data 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 r...

Страница 8: ...e immediate vicinity of the controller External influences 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 influences damage 3 Hazardous shock voltages caused by for example Component malfunctions Influence of electrost...

Страница 9: ...THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE INDUSTRIAL SHIELDS DISCLAIMS 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 CLAIM IS BASED ON CONTRACT WARRANTY NEGLIGENCE OR STRICT LI...

Страница 10: ...ance Specification 18 2 3 Symbology 19 Precautions 20 3 1 ESP32 Board 20 3 2 Intended Audience 20 3 3 General Precautions 20 Software interface 20 How to connect PLC Arduino to PC 23 How to connect PLC to power supply 24 ESP32 ETHERNET WIFI BLUETOOTH PLC Pinout 25 7 1 I Os Table 25 7 2 0 Zone connection 26 7 3 Analog Digital Zone connection I Os 28 7 4 Relay Zone connection I Os 29 7 5 Interrupt e...

Страница 11: ...2 1 Pin Out 36 12 1 1 Analog Digital Devices Analog I Os 36 12 1 2 Digital I Os 37 12 1 3 Relay Devices Analog I Os 38 12 1 4 Digital I Os 38 12 1 5 Relay 39 Internal I2C and SPI Connections 40 Instructions How to upload a program 40 Instructions for interconnection between Industrial Shields controllers 42 15 1 RS 232 Communication 42 15 2 RS 485 Communication 42 15 3 Ethernet 43 Typical Connecti...

Страница 12: ...Rev 1 13 04 2021 11 General Description ESP32 ETHERNET WIFI BLUETOOTH PLC FAMILY Product 1 1 Zones Table ...

Страница 13: ...Rev 1 13 04 2021 12 1 2 Measures Table ...

Страница 14: ...A B or C the I Os or Relay shield The inputs in the zone A B C are named IX X being X any number suitable in the Shield Outputs are named as QX X 1 4 Zone Distribution This is the possible zones scheme whether the zone is Analog Digital or Relay depends on your device you can consult it on the Zones Table The distribution of the different features that provide the Raspberry PLC Family are describe...

Страница 15: ...ex RS 485 1x SPI external Port 1x RTC 1x uSD Socket Analog Shield 13 Inputs 8 Outputs 13 Digital inputs 6 of which can work as Analog Input 8 Digital Outputs 3 of which can work as Analog Output Relay Shield 6 Inputs 11 Outputs 6 Digital Inputs 4 of which can work as Analog Input 8 Relay Outputs 3 Digital Outputs 3 of which can work as Analog Output ...

Страница 16: ...Rev 1 13 04 2021 15 1 6 Mechanical dimension NOTE This device includes one 2 4GHz antenna and one 5G antenna for the 5G option and both have a length of 5cm ...

Страница 17: ...onnected as a serial in a project Cannot be working in a final application An Dig Input 10bit 0 10Vcc 0 to 10Vac Input Impedance 39K Separated PCB ground Rated Voltage 10Vac 5 to 24Vdc I min 2 to 12 mA Galvanic Isolation 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...

Страница 18: ...ed Output 8bit 24Vcc 5 to 24Vdc 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 longer use Digital signal 24Vdc ...

Страница 19: ...ve ground terminal Shock resistance 80m s2 in the X Y and Z direction 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 See the measure table 2 2 Performance Specification Board ESP32 WROOM 32UE Control method S...

Страница 20: ...t 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...

Страница 21: ...al 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 and performance characteristics of ESP32 ETHERNET WIFI BLUETOOTH PLC are sufficient for the systems machines and equipment and be sure to provide the systems machine...

Страница 22: ...ays 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 Press OK to save the changes ...

Страница 23: ... Tools Board Boards Manager Search for the industrialshields esp32 board and install the last version it must be from the version 1 0 4 minimum Following these steps you will be able to see now the Industrial Shields Boards ...

Страница 24: ...ESP32 PLC Family Furthermore there are some extra libraries that can be found in Industrial Shields github https github com IndustrialShields How to connect PLC Arduino to PC Connect micro USB port from PLC to PC NOTE ESP32 ETHERNET WIFI BLUETOOTH PLC uses micro USB cable Open Arduino IDE interface Select Industrial Shields boards ESP32 PLC Family Select the correct ESP32 PLC Model Select correct ...

Страница 25: ...s regardless of where use of the device is intended The equipment must be powered from an external power source in accordance 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 rail ...

Страница 26: ...Rev 1 13 04 2021 25 ESP32 ETHERNET WIFI BLUETOOTH PLC Pinout 7 1 I Os Table ...

Страница 27: ... VP B A GND 50 SO 51 SI 52 SCK NC 5Vdc GND GND GPIO 22 GPIO 21 TX0 RS232 RX0 RS232 SENS VN SENS VP RS485 RS485 RS485 GPIO 19 GPIO 23 GPIO 18 5V Gnd Gnd Base common unit A Zone PLC Function Vdc GND Power Supply GND Communication Pins Configuration Switch see section 8 for configuring the communications Enabling communications disables some I Os ...

Страница 28: ...Rev 1 13 04 2021 27 ...

Страница 29: ...ital Input GND I0 3 Digital Input GND I0 2 Digital Input GND I0 1 Digital Input GND I0 0 Digital Input X Zone Raspberry PLC Connector Function GND AX 72 AX 62 AX 52 Q Vdc COM QX 72 QX 62 QX 52 QX 4 QX 3 QX 2 QX 1 QX 0 GND Analog Out Analog Out Analog Out External Isolated Out Vdc External Isolated Out GND Digital PWM Out Digital PWM Out Digital PWM Out Digital Out Digital Out Digital Out Digital O...

Страница 30: ...PWM Out Digital PWM Out External Isolated Out GND External Isolated Out Vdc C Zone M Duino Connector Function RX 3 RX 2 RX 1 GND IX 5 IX 4 IX 3 IX 2 IX 1 INT4 IX 1 IX 0 INT4 IX 0 Relay Out Relay Out Relay Out GND Analog Digital Input Analog Digital Input Analog Digital Input Analog Digital Input Interrupt X In GND I0 1 Interrupt X In GND I0 0 Led indicator I Os state Relay Outputs Analog Inputs In...

Страница 31: ...tch Configuration 8 1 0 Zone Communications USB RS232 Changing between USB RS232 If this switch is ON it enables RS232 communication and disables the Programming USB If this switch is OFF it disables RS232 communication and enables the Programming USB Programming USB must be activated to 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 ...

Страница 32: ... 1 Q0 1 A0 1 Q1 1 Q1 1 A1 1 Q2 1 Q2 1 A2 1 Q0 0 Q0 0 A0 0 Q1 0 Q1 0 A1 0 Q2 0 Q2 0 A2 0 For the Analog Shield if a switch is set to ON it can only act as Digital Output If it is set to OFF it can only act as an Analog Output If it is desired to use a Digital Output the pin must be set to ON and the pin that will provide this digital output is represented with QX X being X any number of the tables ...

Страница 33: ...he chart above to voltages higher than 3 3V These terminals provide direct access to the ESP32 board There are some special conditions depending on these 3 3V Now it is going to be shown the considerations to operate with these pins 9 1 I2C I2C communication DOES NOT REQUIRE a pull up resistor for the ESP32 ETHERNET WIFI BLUETOOTH PLC The pull up resistor is already implemented in the PCB 9 2 SPI ...

Страница 34: ...ided by the ESP32 It uses the 4 2 BR EDR version and BLE The BLE is optimized for short burst data transmission it uses the 2 4GHz ISM Band 40 channels w 2MHz spacing the channel usage method of FHSS the GFSK modulation It has a power consumption of 0 01x to 0 5x of reference it depends on specific usage It can be used on different network topologies mesh broadcast and point to point 10 2 RTC ESP3...

Страница 35: ...ary that simplifies the uSD implementation called SD The microSD uage is conditioned by the switch configuration See the Section 8 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 resu...

Страница 36: ...e previous ones such as the 2 4GHz band for example The 5GHz technology has some advantages compared to the 2 5GHz band such as 25 non overlapping channels less interference faster connection speed and it works with the updated IEEE standards 802 11a 802 11n 802 11ac In order to work with it Industrial Shields offers some example codes located at File Examples of the Arduino IDE after downloading ...

Страница 37: ...f this device are connected to the ESP32 through I2C using specific chips see the Section 13 Here we have the equivalence tables using Industrial Shields libraries we do not have to consider these equivalences 12 1 Pin Out 12 1 1 Analog Digital Devices Analog I Os ...

Страница 38: ...Rev 1 13 04 2021 37 12 1 2 Digital I Os ...

Страница 39: ...Rev 1 13 04 2021 38 12 1 3 Relay Devices Analog I Os 12 1 4 Digital I Os ...

Страница 40: ...Rev 1 13 04 2021 39 12 1 5 Relay ...

Страница 41: ...d SPI Connections Instructions How to upload a program With these family devices we must follow a certain protocol to successfully upload a program Connect the microUSB cable to the microUSB port Configure this switch BOOT in ON position ...

Страница 42: ...Rev 1 13 04 2021 41 Upload the code Once the code is uploaded turn OFF the previous switch Pulse the RESET button ...

Страница 43: ...Rev 1 13 04 2021 42 Instructions for interconnection between Industrial Shields controllers 15 1 RS 232 Communication 15 2 RS 485 Communication 15 2 1 1 Half Duplex ...

Страница 44: ...Rev 1 13 04 2021 43 15 3 Ethernet For an Ethernet communication between Industrial Shields equipment a SFTP CAT 6 Ethernet crossover cable must be used ...

Страница 45: ...Rev 1 13 04 2021 44 Typical Connections ...

Страница 46: ...Rev 1 13 04 2021 45 ...

Страница 47: ...Rev 1 13 04 2021 46 ...

Страница 48: ...Rev 1 13 04 2021 47 ...

Страница 49: ...Rev 1 13 04 2021 48 ...

Страница 50: ...ctor from Phoenix contact FK MC 0 5 10 ST 2 5 Connection 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 ...

Страница 51: ...acteristics 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 ...

Страница 52: ...edicated 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 cl...

Страница 53: ...se systems The means employed for grounding or insulating the equipment from ground should be checked to assure its integrity 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 av...

Страница 54: ... damage the screws and or the module with the risk of falling short circuits and malfunctions Before handling a module dispose of the electrostatic charge accumulated by the human body by touching a suitable conductive object 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 equipme...

Страница 55: ...1 First implementation 1 13 04 2021 Changes on the section 11 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 ...

Отзывы: