JSON from Mervis ?
-
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. -
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 -
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. -
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.
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