sandip1181
We have installed the OpenPLC runtime on our Linux device (Debian Linux 11).
The Linux device is connected to our external I/O card via RS-485. The external I/O card has 16 digital inputs and 16 digital outputs.
We created a simple program in the OpenPLC Editor:
when a digital input is received on the external I/O card, the corresponding digital output should be turned ON.

We compiled and loaded this program into the OpenPLC runtime on our Linux device.
However, we are facing an issue:

  • When we provide 24 V to a digital input, the OpenPLC monitoring page (http://199.199.51.176:8080) shows that the DI is ON, and the corresponding DO is also shown as ON.
  • But on the physical I/O card, the digital output is not turning ON – if we measure the DO pin, we don’t see any output value.
  • We have already double-checked that the I/O card’s digital outputs are working, so the hardware is not the problem.
We suspect that we might have made a mistake in the DO configuration in the OpenPLC Editor.
Could you please help us understand what the problem might be?
 
Reply 0 0
thiagoralves
From the logs, the runtime is not being able to write coil state to your output device. Either your card does not support the function code OpenPLC uses (write multiple coils) or your slave configuration is wrong.
Reply 0 0
Reply