• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Read/Write Serial port through Evok API

    Official EVOK API
    2
    3
    570
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rtatibouet last edited by

      Hello,
      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 ?

      Thanks,

      Martin Kudláček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček administrators @rtatibouet last edited by Martin Kudláček

        Hello @rtatibouet,
        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.

        Best regards,
        Martin

        1 Reply Last reply Reply Quote 0
        • R
          rtatibouet last edited by

          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.

          Cheers,
          Ronan

          1 Reply Last reply Reply Quote 0
          • First post
            Last post