6
« on: September 22, 2018, 10:19:44 AM »
Good afternoon all,
I would like to ask you about a setup that i dont find how to do it. There is a central PC, where i was planning to use AHMI, this software needs to be able to work with one, two or up to 16 nodes (maybe more, waiting for customer info). These nodes are all equal, the same system, with the same inputs outputs, but with different name, depending on the possition.
What I would like to do, is to make AHMI to work with them if connected. Something like adding a new node, give a name (description where is going to be used) and start working with it. If required more, they will be given different names. The main purpose for AHMI should be to get the data from them, and show it in data grids with some smal animations (leds, pumps, switches..) and send them the name they will use, and the receipt about the works to be done.
To give an example, is like a garden where you can put many valves to send water. All valves have the same logic, but in any moment, the owner want to be able to change one for another, add more, or take out.
I thought to work with RaspberryPi and CodesSys, to program the nodes. Next I'll attach the required hardware and terminals. With Codesys, I can use, modbusTCP or OPC (among others).
Although i want to set a DHCP server, so whenever an allowed mac enters, it gets an automatic IP, I dont find how to do it, as in Modbus I need to set a certain IP in Master or Slave (maybe I can do it through a codesys visu frontend), but in the AHMI it seems that i can only connect to one IP.
With the OPC is even more difficult, as it depends on changes of the server, and so on.
What do you think? Maybe, I see things more difficult than they are.
Thank you in advance,
Best Regards.
jiqn