andreas.kuning
Hi!
 
I've been struggling for a long time with non-functioning outputs on esp32, tried several different boards, and then accidently enabled ModBusRTU) and it begun working) Pls check it up.
 
Thank u.
Reply 0 0
thiagoralves
That's interesting. I've been seeing reports from people having issues with ESP32 boards, but pretty much all of my boards here work. I'm trying to buy new boards to see if I can reproduce this problem to fix this. What is the error you're facing when Modbus RTU is disabled? If you hook up your board to a serial monitor does it say anything?
Reply 0 0
andreas.kuning
How do i check errors on working board? The boards seems to be working, beacause serial tx led is blinking. Idn about inputs, because i'm new in openplc.
Reply 0 0
thiagoralves
From the reports I got it seems that if you just connect the board to a serial monitor (like the Arduino serial monitor for example) at 115200 baud rate, if it is not working it will be showing a crash report from the ESP32 bootloader firmware. I can't reproduce this here so I don't know much about it. You said that if Modbus RTU is disabled the outputs don't work. It might be that your board is crashing and that's why the outputs don't work. Try connecting it to a serial monitor and let me know please if it shows any info when Modbus RTU is disabled.
Reply 0 0
andreas.kuning
Here it is
ELF file SHA256: b10451b6b7b3dc69

Rebooting...
ets Jul 29 2019 12:21:46

rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:4832
load:0x40078000,len:16460
load:0x40080400,len:4
load:0x40080404,len:3504
entry 0x400805cc
Guru Meditation Error: Core  1 panic'ed (StoreProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400d2c76  PS      : 0x00060e30  A0      : 0x800d2b4e  A1      : 0x3ffb2210  
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x3ffbdb76  A5      : 0x00000000  
A6      : 0x3ffbdb9c  A7      : 0x00000000  A8      : 0x800d2c6c  A9      : 0x3ffb21f0  
A10     : 0x00000000  A11     : 0x00000011  A12     : 0x0000001b  A13     : 0x000000ff  
A14     : 0x000000ff  A15     : 0x3ffc3880  SAR     : 0x00000011  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000000  LBEG    : 0x4008440d  LEND    : 0x40084415  LCOUNT  : 0x00000027  


Backtrace: 0x400d2c73:0x3ffb2210 0x400d2b4b:0x3ffb2230 0x400d2b67:0x3ffb2250 0x400d6468:0x3ffb2270 0x4008dcd6:0x3ffb2290
 
Reply 0 0
andreas.kuning
btw, how do i switch this forum to light theme? or my eyes will blow up soon)
Reply 0 0
thiagoralves
Thanks for the report, that's very useful! On the forum theme, unfortunately there is no light theme. I don't control the forum, it is done by a 3rd party company and they created the theme around OpenPLC colors. I don't think there is a user custom theme that can be added, but I will check with them.
Reply 0 0
andreas.kuning
thank you for your software, i really surprised by the fast reply and attitude) I hope i will use it in my project.

Reply 0 0
thiagoralves
Thanks! Keep us posted please on your experience with it ❤
Reply 0 0
Reply