TCP connection to Eaton E4 PLC
Afficher commentaires plus anciens
I am using a Easy e4 PLC on a small project and trying to use matlab to monitor an analog signal on channel1 (AI(1))
If I am in a web browser I can type in; xxx.xxx.xxx.xxx/api/get/data? elm=AI(1)
where xxx.xxx.xxx.xxx is the ip address
and I get a return like {"OPERANDS":{"AISINGLE":[{ "INDEX":1,"V":813}]}}
I have tried using Matlab read, write, and line read and write but no luck
Does anyone know how I might code this?
Thank you
Dan
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink PLC Coder dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!