Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - jiqn74

Pages: [1]
1
Support Questions / S7 1200 Modbus
« on: May 23, 2019, 06:06:23 AM »
Good morning all,

I'm working with a S7 1200, connected with modbus to the computer. In the computer I'm using the latest AdvancedHMI (just downloaded), and MS Studio 2019 (comunity).

There are some questions, first and the most headbreaking for me. PLC is working as a server, it can only works with holding registers. I need to do some setups from the final HMI, by changing bits of a register, in order to make it works.
I'd been trying what i found in the forum, about addressing, 40001.X, or B:40001.X, and etc. But nothing works. If I use a button with a register, its value will turn 1, thats ok, but in the moment i try to address a bit of the register, nothing happens, no error, no change.

The second question is, when i try runtime with analog values, through different registers, it works perfectly, but every x seconds, it changes to a message "Address must be 4-11 digits, 0" for some seconds, and next changes back to normal, in a continuous loop.

Thank you in advance.
Regards.

2
Open Discussion / Multiple Auto nodes
« 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

Pages: [1]