I have been trialing OpenPLC for several weeks now and have discovered what I believe is a error in the software.
I am trying to build a temperature control application that reads several chamber temperatures and turns on/off a Peltier cooler or electric heater to try and maintain the temperature at a specific value.
I am using an Arduino Nano and am directly downloading to this physical device from OpenPLC Editor. I have configured the Nano as a Modbus RTU slave so that I can view variables using RMMS (Radzio).
I have built an OpenPLC application that reads several temperatures on two separate input pins using the DS18B20 and DS18B20_2_OUT blocks and writes these values to Modbus. I can verify from RMMS that this application is working correctly.
I have also built an application that turns on and off digital outputs. This logic makes use of TON and TOF blocks. I have LEDs connected to the digital outputs and can confirm that this logic also works correctly.
However, if I try to combine these two applications together, I have discovered that the logic does not work as expected. It appears that the presence of a DSB1820-type block somehow prevents the TON/TOF logic from functioning correctly.
I verified this by running a DS18B20 read, followed by a simple energizing of a single digital output. This logic worked correctly. But then I tried to modify the application to energize the same digital output through a TON block and I discovered that the digital output never energizes. It is as if the DS18B20-type block prevents the TON from functioning correctly.
Has anyone else experienced this issue, and if so, have you found a work-around?
Thanks, Dave Hugg