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.


Messages - jiqn74

Pages: [1]
1
Support Questions / Re: S7 1200 Modbus
« on: May 23, 2019, 10:15:27 AM »
I think modbus poll use write value directly. I has the option to use fc 22, but it doesnt work.

Next, with the other option you say, I used PLCAddressClick to put 40001, and ValueToWrite in 1 and 16 (two different buttons). Whichever i try, there is only change in bit 0. Register is 1 or 0 in both cases. Did I do something wrong?.

2
Support Questions / Re: S7 1200 Modbus
« on: May 23, 2019, 09:14:04 AM »
The functions available in this PLC are, 1,2,3,4,5,6,11,15 and 16.

With Modbus_Poll software, it is possible to work on the independent bits.

Do you know any other way to communicate with this PLC, using AdvancedHMI?.


Kind Regards,

3
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.

4
Open Discussion / Re: Multiple Auto nodes
« on: October 02, 2018, 03:44:32 AM »
Thank you Godra,

I'm working on a PC to get data from different raspberry pi. About raspberry pi, it is easy to change IP while online through a python gui i'm working in. At any time, the user may want to add more or maybe, to take out of the network these nodes. All of them are equal, but for the name and mac, but they do have the same messages (in and outs).

I was thinking now to already leave AHMI with up to 20 pre configured nodes, and just set the node IP when enabled. But to leave it that way, may use a lot of windows resorces. Let's see.

5
Open Discussion / Re: Multiple Auto nodes
« on: September 30, 2018, 09:24:52 AM »
Hi all,

Just to make it easier. Is there a way to add dynamically modbus tcp slaves to AHMI?, the other side it's almost solved.

Thanks in advance.

6
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]