News:

  • June 30, 2026, 04:16:48 AM

Login with username, password and session length

Author Topic: Modbus RTU with 5 Click's  (Read 28891 times)

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3833
    • Host Engineering
Re: Modbus RTU with 5 Click's
« Reply #15 on: February 24, 2015, 01:32:14 PM »
10 ms and it's working like a charm
And since you are using Stage, you can turn on Status in your Project Browser view and monitor your Program Code-Block status (expand out to Stage level) and watch it "round robin" across your 10 stages.

If it ever "hangs", you can easily see where it is hanging in Project Browser Status (try it, just disconnect or turn off one of your CLICKs and see what it looks like in Designer Project Browser).

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
Re: Modbus RTU with 5 Click's
« Reply #16 on: February 24, 2015, 02:24:20 PM »
10 ms and it's working like a charm
And since you are using Stage, you can turn on Status in your Project Browser view and monitor your Program Code-Block status (expand out to Stage level) and watch it "round robin" across your 10 stages.

If it ever "hangs", you can easily see where it is hanging in Project Browser Status (try it, just disconnect or turn off one of your CLICKs and see what it looks like in Designer Project Browser).

I was doing that but never hung up on the same stage. Now it's scanning so fast it looks like it skipping stages ;D

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Modbus RTU with 5 Click's
« Reply #17 on: February 24, 2015, 03:14:16 PM »
Since it's working now, I'll mention that it isn't even necessary to interlock the instructions with stage...or anything else. Stick them all in $Main and turn them on. They internally interlock and naturally round robin in the order they are in logic.

I didn't mention it before because I wanted you to prove that it wasn't Stage that was the issue. ;)
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

DLTimmons

  • Hero Member
  • *****
  • Posts: 232
Re: Modbus RTU with 5 Click's
« Reply #18 on: February 24, 2015, 06:40:21 PM »
Since it's working now, I'll mention that it isn't even necessary to interlock the instructions with stage...or anything else. Stick them all in $Main and turn them on. They internally interlock and naturally round robin in the order they are in logic.

I didn't mention it before because I wanted you to prove that it wasn't Stage that was the issue. ;)

It's working why mess with it  ;D

I like it in the stages any way, keeps main a little cleaner.