Author Topic: Simulation driver  (Read 3979 times)

Travspad

  • Newbie
  • *
  • Posts: 7
    • View Profile
Simulation driver
« on: November 20, 2013, 12:51:13 AM »
Hi guys

Another newbie question but can somebody please explain the use, intention of the simulation driver.

Cheers,
Trav

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5320
    • View Profile
    • AdvancedHMI
Re: Simulation driver
« Reply #1 on: November 20, 2013, 06:47:27 AM »
The simulation driver was originally created to build and demonstrate HMI screens without the need for a PLC. If you write to an address in the simulation driver, it remembers that value for displaying back.

For instance, if you use a DigitalPanelMeter with the SimulationDriver, then put MyAddress in both PLCAddressValue and PLCAddressKeypad, you can click on the meter, enter a value and it will then show on the meter.

Travspad

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Simulation driver
« Reply #2 on: November 21, 2013, 04:03:32 AM »
Thanks again Archie.
I was hoping there was a way to run HMI simulation and PLC simulation on the same machine, the PLC is on its way so I will just have to wait.

Cheers,
Travis

servrbc

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Simulation driver
« Reply #3 on: June 03, 2019, 05:16:06 PM »
is there any way of setting initial values to SimulatorCom?

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Simulation driver
« Reply #4 on: June 03, 2019, 06:15:47 PM »
The easiest simulation is probably ever done with the MODRSSim2 simulator (ModbusTCP driver as 1st choice or ModbusRTU driver with the help of com0com program).

Whatever the logic is used for testing can then be easily switched to another driver.

RSEmulate 500 is also a good choice since it allows for a ladder program to run.