Extension S11 direct togle switch function not working.
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.
AVsetula administrators last edited by AVsetula
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)
Did You try to do this or you just assume it must be working?
Below link to complete tutorial how to connect the S11 extension using node-red