Controlling Device Polling

Forum Home Forums Communicating with Devices Controlling Device Polling

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18319
    ramiouba
    Participant

    Hi, I’m working on a project that uses a single serial line with multiple devices. In the line option I’m using the ModBus RTU as the protocol to communicate with the devices. what I need is to control the polling for every device separately on the serial line using Start / Stop buttons on a scheme page.

    I can’t use “CommCmdCode” methods because they control the whole line (not the devices separately) and they stop / start the communication with all the devices together on the line.

    Thanks.

    • This topic was modified 19 hours ago by ramiouba.
    • This topic was modified 18 hours, 56 minutes ago by ramiouba.
    #18323
    Mikhail
    Moderator

    Hi,
    It should be possible.
    In the Communicator settings, set the Poll only on command checkbox for each device on the communication line.
    Then make sure that you can initiate a single device request by a command. Right-click the device in the project explorer and click the Poll Device menu item.
    If the above works, we will figure out how to automate sending polling commands by some flags.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.