MOXA ioLogik E1214 - API

Hello!

I don't know if this is the right place to ask, but here goes.

I have a MOXA ioLogik E1214 with 6 relays that I want to control via API.

The idea is to create a very simple PHP web page where I can "flip" the switch for each relay. This part I can easily take care of, but I need some information about the API, and I'm finding it very hard to locate comprehensive documentation on the API.

Are there anyone here that can point me in the right direction, or, even better, share some examples on how to use the API?

Thanks!

This is very easy to do in Ignition, and this is an Ignition forum - are you wanting to do this in Ignition as you are asking about PHP?

In Ignition, use the ModbusTCP device driver. The registers are contained in the manual, easily accessible with a google search.

Unfortunately, I'm not using Ignition. I only have the MOXA device, and that's basically it. Perhaps I'm in the wrong forum.

Well you've posted in general discussion, so from that respect, your post is fine. You may get some users on this forum that are knowledgable enough in PHP to help, but I'm not one.

The moxa supports ModbusTCP and also EthernetIP. You will need a driver connection for one of those.

Alternatively, it is possible to trigger the relays on a moxa from its own webpage. Perhaps you can use that to your advantage.

Been about 15 years since I've played with PHP, but a bit of Googling found this library:

Or, you can always try Ignition. :wink:

1 Like

Also found their RESTful API. dacs. Is this what you're having trouble with?

1 Like

Thank you all very much for your replies. The last PDF was very helpful, and I think I'm on the right path now :slight_smile:

2 Likes