• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Extension S11 direct togle switch function not working.

    UniPi Extension Modules (Axon & Neuron)
    2
    4
    85
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      ZigZak last edited by

      Hi.
      Today i was tring to set togle switch function on the extension using Node-Red but it's not working (maybe i don't understand how should be working).
      I was thinking togle function work in the way so if input chenge it will change the corresponding relay output as well, simillar to direct switch but with relay override using modbus.
      I try to force coil on register 1036 as the docs.
      Then read the register and the first bit was true.
      Then i force coil on register 1003, cycle the power, check register 1036 and confirm true.
      After the steps i still didn't found any diffrent funcion on DI 6 then normal.
      I don't know what i'm doig wrong or maybe i don't understand the togle function?
      Thanks for any help.

      1 Reply Last reply Reply Quote 0
      • A
        AVsetula administrators last edited by AVsetula

        Hi @ZigZak,

        The Direct switch function is described in more detail in this article: Relay outputs - Special functions

        To turn on the DirectSwitch function on DI1.6+RO1.6, it is necessary:

        • enable direct switch by writing log.1 to coil 1012
        • set the desired function by writing log.0/1 to 1024 and 1036 (toggle has priority)
        • save the Extension configuration by writing log.1 to coil 1003
        • disconnect/connect the power supply of the device, or reset the MCU by writing log.1 to coil 1002

        It is similar for other I/O. (Note: log.0/1 I mean logical states 0/1, i.e. FALSE/TRUE)

        Best regards,
        Antonin, Unipi

        Z 1 Reply Last reply Reply Quote 0
        • Z
          ZigZak @AVsetula last edited by

          @AVsetula
          Thank You.
          Did You try to do this or you just assume it must be working?
          Regards.

          1 Reply Last reply Reply Quote 0
          • Z
            ZigZak last edited by

            Hi.
            Below link to complete tutorial how to connect the S11 extension using node-red
            https://youtu.be/HJJRrV9tV7U

            1 Reply Last reply Reply Quote 0
            • First post
              Last post