AdvancedHMI Software
General Category => Support Questions => Topic started by: Jaguar on June 28, 2021, 06:07:50 PM
-
I want to learn about Modbus and how it works with AdvancedHMI. As I went through some threads here, I downloaded ModRSsim2.
On ModRSsim2, I selected prot. as MODBUS TCP/IP; Selected Analog Inputs (300000);Fmt. as decimal
For AdvancedHMI, on mainform, added ModbusTCPCom1; IP address was my Computer IP address; Added a digital panel meter on the main form, under ComComponent selected ModbusTCPCom1, PLCAddressValue 300001.
Clicked the Start menu. The main form is displayed with the digital panel meter, without any values.
I think what I did was too simplistic. But I tried to understand how it would work. Would appreciate any help
-
In AHMI, you should try setting the IP to "127.0.0.1" and also read this topic:
https://www.advancedhmi.com/forum/index.php?topic=2479.0
The other topic for you which has another simulator:
https://www.advancedhmi.com/forum/index.php?topic=2567.0
The last post in it also has a picture of ModRSSim2.
-
Hi Godra,
Thank you very much! As I added local host IP address, you suggested,I was able to see the ModRSsim value on the digital panel meter.
Regarding two links you posted, the first link seems to be different. However, I clicked the second link. Lots of information are there. Let me go through them. I may not be able to understand, as my knowledge is rudimentary. But will give it a try.
Thanks once again for your help!
-
Since you are experimenting, the first link only suggests that you should always have a BasicLabel control on the form.
That way you can see any errors related to communication with simulator.
-
Thanks Godra! Got it. Added a label per link.
Regards,
Jit