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

    JSON from Mervis ?

    Scheduled Pinned Locked Moved Mervis
    4 Posts 3 Posters 1.8k Views 2 Watching
    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.
    • P
      pascal37
      last edited by pascal37

      I need to communicate with a device that as a JSON API.
      What is the simplest solution in Mervis?
      Do you have some example code?
      Many thanks in advance.

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

        Hello @pascal37,
        the Mervis is a sort of a world on its own and it is complicated to make it communicate over anything else then supported protocols. Any other type of communication is usually done via local ModbusTCP master written in Python and pushing data to ModbusTCP slave configured in the Mervis. The Pymodbus library is especially handy for this.

        Best regards,
        Martin

        1 Reply Last reply
        Reply Quote 0
        • P
          pascal37
          last edited by

          Hi @martin-kudláček,
          Thanks for your help.
          Is it possible to run the Pymodbus library + python script on the same Axon PLC?
          Do you have some example code and tutorial how to deploy it?
          Many thanks in advance.

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @pascal37
            last edited by

            Hi @pascal37 ,
            sure you can run the python scrip on the same Axon. We do not have a tutorial for that, but once you enable ssh (via service interface or using the new upcomming Mervis IDE) you will have access to a linux machine as you know.

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post