Author Topic: Increasing the communication speed between EasyPLC and Machines Simulator  (Read 4285 times)

EasyPLC_Master

  • Developer
  • Administrator
  • *****
  • Posts: 849
  • Nirtec
    • The EasyPLC Project
Many of you have asked me how it is possible to increase the communication speed between EasyPLC and Machines Simulator.
Here's the answer:
Locate the file 'easyplc.ini' found in the Data folder of EasyPLC, open it with an editor and search the [MachSim] section, then modify the item Freq, this must be greater than 0 and smaller than 150. By default is 100.

Default:
[MachSim]
Freq=100

Modified:
[MachSim]
Freq=10

Once modified, save the easyplc.ini file. To apply changes EasyPLC must to restart to read the new values (if was loaded).

Now open the settings.ini file located in the Machines Simulator installation folder. Locate the [EasyPLC] section and modify the item Freq.

Default:
[EasyPLC]
Freq=100

Modified:
[EasyPLC]
Freq=10

Now save the settings.ini file and restart Machines Simulator if was loaded.

Then with this example the communication speed is increased, EasyPLC and Machines Simulator will be able to write and read the inputs & outputs and the PLC data stack values faster.
« Last Edit: January 05, 2010, 08:49:54 PM by EasyPLC_Master »