Function 05, Force single coil

Forum Home Forums Communicating with Devices Modbus Function 05, Force single coil

This topic contains 2 replies, has 2 voices, and was last updated by  CR 2 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4796

    CR
    Participant

    Sirs,
    First of all thanks for this open source SCADA, it’s amazing !
    I’m using an acquisition box and by means of a simulator I’m able to set and reset de first coil using the following commands:

    Set coil:
    02 05 00 00 FF 00 8C 09

    Reset Coil:
    02 05 00 00 00 00 CD F9

    I’ve confuigured the template to read 16 discrete inputs (Func. 02) and Coil status (Func. 01) but I cannot get working the command for Func. 05. Here is how I configured the template in term of a command:

    Command Parameters
    —————–
    Name: Reset
    Coils (0X)
    Function Code:05
    Element address: 0
    Command number: 1

    Addressing:
    Zero-base (ticked)
    Decimal (ticked)

    I’ve tried to execute the command (password: 12345) without any succes. I do not even see the command in the log. Can you please indicate me what I’m doing wrong. Again, thanks a lot for your help and patience.

    CR

    #4797
    Mikhail
    Mikhail
    Moderator

    Hi,

    Check Commands enabled checkbox of a communication line. If it doesn’t help, copy communication line log here in a moment of sending command.

    #4798

    CR
    Participant

    Mikhail,

    Thanks a lot for your support. It worked !

    Best regards.

    CR

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.