yrsiddhapura
Hello Everyone Greetings!!!!
 
I am working on mine very first project where i have required to utilize 12 inputs and 6 output and in some case 10 input and 4 output. So as following requirement is it possible to utilize ESP32 WROOM32 Devkit V1 board GPIO(which provides 17 configurable GPIO) using openplc. And what could be reliable way for I2C IO expansion( for 12 input and 6 output)
Reply 0 0
thiagoralves
You can define whichever pins as inputs or outputs on the pin mapping screen, limited just by the hardware. OpenPLC does not provide native support for I2C IO expansion. To achieve that, you will have to write a C++ block on your PLC project with the code to interface your I2C hardware
Reply 1 0
yrsiddhapura
You can define whichever pins as inputs or outputs on the pin mapping screen, limited just by the hardware. OpenPLC does not provide native support for I2C IO expansion. To achieve that, you will have to write a C++ block on your PLC project with the code to interface your I2C hardware
Thank you so much for your quick response is any example because I have never used openplc as programming platform neither esp32 or Arduino I have programmed only industrial PLC and motion controllers
Reply 0 0
thiagoralves
Try searching online for I2C code examples for Arduino IDE. The same code is compatible with OpenPLC
Reply 1 0
yrsiddhapura
How to Configuring Internal PULLUP or PULLDOWN resistors with openplc editor v4.1 where I can find hal drivers files (as mentioned in some earlier post which I beleive is older version) for esp32.
 
And how to decide which type pin mode to be used pullup or pulldown. And it is compulsory to mentioned in driver if giving external pullup down resistor to circuit.
Reply 0 0
thiagoralves
Hello,
The OpenPLC forum has a new home: Autonomy Edge https://edge.autonomylogic.com. We migrated every member, profiles, topics, categories and attachments. Please redo your post on the new forum so we can continue our conversation.
Note: If you already have an Autonomy Edge account, you can simply login with your credentials to have access to your forum profile and posts. If you don't have an Autonomy Edge account, we ask you to set a fresh password on first sign-in using the same e-mail you used on this forum.
To set a fresh password, access the link https://edge.autonomylogic.com/forgot-password and insert the e-mail address used on this forum. You will receive an e-mail on your inbox with a link to choose a new password. Once you reset your password you will be able to login on edge.autonomylogic.com using your new credentials.
Reply 0 0
Reply