Author Topic: ModRSsim2 and AdvancedHMI  (Read 1911 times)

Jaguar

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
ModRSsim2 and AdvancedHMI
« 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

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: ModRSsim2 and AdvancedHMI
« Reply #1 on: June 28, 2021, 10:48:27 PM »
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.
 

Jaguar

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: ModRSsim2 and AdvancedHMI
« Reply #2 on: June 29, 2021, 10:22:04 AM »
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!

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: ModRSsim2 and AdvancedHMI
« Reply #3 on: June 29, 2021, 02:55:34 PM »
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.

Jaguar

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Re: ModRSsim2 and AdvancedHMI
« Reply #4 on: June 29, 2021, 05:06:03 PM »
Thanks Godra! Got it. Added a label per link.

Regards,
Jit