
Night rider (Customer) asked a question.
How to create a Modbus Driver in Arduino IDE
I am trying to use EA3 S3ML HMI with a P1AM-100 ProOpen CPU and P1-08TRS relay or output module. I would like the HMI to use the CPU to control the outputs, allow the user to input times between on and off cycles and use a counter to keep track of the amount of current cycles. I am a little confused about connecting the HMI and P1AM-100 perform the above listed functions. Any help would be much appreciated.
We have an example project that contains .ino (P1AM-100) and .mgp (cmicro) files that will get you familiar with getting connected.
https://github.com/AutomationDirect/P1AM-Examples/tree/master/P1AM-100_ModbusTCP_Server_HMI
Thank you for your quick response. The issue I am having is how to take, for instance an on and off button and link the PLC to the EA3 SM3L HMI, through the Arduino code?
Hi @Night rider (Customer)
The following post will show you how to connect the EA3 to the P1AM with Modbus TCP.
https://accautomation.ca/productivity-open-p1am-industrial-arduino-modbus-tcp-to-c-more-micro-ea3/
This will include your digital IO and registers.
The entire P1AM series can be found here:
https://accautomation.ca/series/productivity-open-arduino-compatible-industrial-controller/
The entire EA3 Micro C-More series can be found here:
https://accautomation.ca/series/c-more-micro-hmi/
I hope this helps you out.
Regards,
Garry