Read/Write Serial port through Evok API
I am currently using an Axon S215 with the Evok API enabled.
What I'd like to do is communicate with the Evok WebSocket API, from a remote client. The goal is to have no software to install on the box.
For the moment I have relays and digital inputs working well.
But I can't find a way to interact with the RS485 port, other than the setup (baud rate, etc...) request.
Is it possible to read/write with the RS485 port using default Evok API ?
Martin Kudláček last edited by Martin Kudláček
no, this isn't possible. I would also suggest not to use Evok remotely, as there is no authentication and encryption at all, so anybody with network access can communicate with the PLC.
You can modify the configuration of nginx to set SSL and at least a basic HTTP authentication.
Ok, I'll do it on the board then.
I'll take my chances communicating directly with the modbus tcp server instead of using Evok's layer.