| Line 4: |
Line 4: |
| | {{Infobox module | | {{Infobox module |
| | | name = DW-IO.C | | | name = DW-IO.C |
| − | | image = DW-IOC.png | + | | image = DW-IO.png |
| | | outCount = | | | outCount = |
| | | dimmOut = | | | dimmOut = |
| Line 88: |
Line 88: |
| | | | |
| | <!--T:14--> | | <!--T:14--> |
| − | <div class="caution">CAUTION! Output channels should only be connected using amplifier which uses 5V PWM signal from DW-IO output as input</div>
| |
| | [[File:IOC_CONN_WS.png|300px]] | | [[File:IOC_CONN_WS.png|300px]] |
| | | | |
| Line 99: |
Line 98: |
| | | blvoltage = 3V | | | blvoltage = 3V |
| | | power = 11.5 … 27.5 V DC from CAN | | | power = 11.5 … 27.5 V DC from CAN |
| − | | maxcur24v = ??? mA | + | | maxcur24v = 30 mA |
| | | buttonreclen = 30m | | | buttonreclen = 30m |
| | | bustype = CAN (4-wire) | | | bustype = CAN (4-wire) |
| Line 150: |
Line 149: |
| | *'b' - button | | *'b' - button |
| | *'s' - switch | | *'s' - switch |
| − | *'k' - contact inverse | + | *'k' - contact |
| − | *'h' - contact | + | *'h' - contact inverse |
| | *'l' - leak | | *'l' - leak |
| | *'n' - Neptun | | *'n' - Neptun |
| | *'v' - motion inverse | | *'v' - motion inverse |
| − | *'v' - motion | + | *'m' - motion |
| | *'r' - thermo-resistor | | *'r' - thermo-resistor |
| | *'t' - DALLAS | | *'t' - DALLAS |
| Line 161: |
Line 160: |
| | *'-' - none | | *'-' - none |
| | Example: io='4---1-T-3-----' | | Example: io='4---1-T-3-----' |
| | + | |- |
| | + | |hw||string||98||-||hw="...", where |
| | + | *pwm_invert – PWM inverting [1, 0]; |
| | + | *lbn_bright – brightness of led buttons, range (0 - 255); |
| | + | *f – by default PWM frequency is 1000, range (1 - 5000). |
| | + | Example: |
| | + | <syntaxhighlight lang="xml" line> |
| | + | hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000" |
| | + | </syntaxhighlight> |
| | |} | | |} |
| | <syntaxhighlight lang="xml" line> | | <syntaxhighlight lang="xml" line> |
| Line 169: |
Line 177: |
| | <item addr="317:12" cfgid="195" name="Temperature" type="temperature-sensor"/> | | <item addr="317:12" cfgid="195" name="Temperature" type="temperature-sensor"/> |
| | <item addr="317:97" cfgid="195" name="Temperature" system="yes" type="temperature-sensor"/> | | <item addr="317:97" cfgid="195" name="Temperature" system="yes" type="temperature-sensor"/> |
| − | <item addr="317:98" cfgid="195" hw="io='4---zdd----t--'" logic-ver="19" name="Temperature" sn="1529500271" system="yes" type="temperature-sensor"/> | + | <item addr="317:98" cfgid="195" hw="io='4---zdd----t--' pwm_invert=1 lbn_bright=255 f=1000" logic-ver="19" name="Temperature" sn="1529500271" system="yes" type="temperature-sensor"/> |
| | <item addr="317:100" cfgid="195" name="RS232" type="com-port"/> | | <item addr="317:100" cfgid="195" name="RS232" type="com-port"/> |
| | </syntaxhighlight> | | </syntaxhighlight> |
| | </translate> | | </translate> |