Mervis reacting Slow

FransSleddens
Posts: 4
Joined: Mon Jan 18, 2016 9:55 am

Mervis reacting Slow

Postby FransSleddens » Mon Jan 18, 2016 9:59 am

Hallo,

I have managed to get my Raspbery with the mervis software running.
I made a small program that reads and input and copy it to a relay output.
But the output is reacting very slow. About half a second to a second.
The mervis is running on a Raspberry Pi B.

any sugestions?

Kind regards,

Frans Sleddens
tomas_hora
Site Admin
Posts: 298
Joined: Wed Oct 29, 2014 9:56 am

Re: Mervis reacting Slow

Postby tomas_hora » Mon Jan 18, 2016 12:40 pm

The time of how often your program is evaluated depends on the complexity of your program and of course on the performance of the HW. I have tested that a simple program like your on RPi 2 B is evaluated every 30ms.

You can do a small speedup by changing the sleep time between every loop - in order to do that you need to switch to your main Profile and then on the PLC change the sleep time parameter (default is 50%).

Return to “Mervis”

Who is online

Users browsing this forum: No registered users and 2 guests