User guide

midon design
1WSwitch User Guide Version 1.02 Page 17 of 28
The EIN (Enable INput) option enables or disables a regular poll of one DS2408
connected on the 1-Wire bus, the one with the lowest sensorid. Setting EIN off is
generally only required for users of MD2088 LED displays, which uses a DS2408
to drive the LED’s, since the normal poll of a DS2408 will set the high order bits
(4 to 7) of the DS2408 and corrupt the LED display for those bits. Setting EIN Off
is done to permit reading of the input ports (4 to 7) of the 1WIO sensor since
clearing those bits would normally result in false readings. This option has no
affect on the INP command and as a result, user’s with MD2088 displays will
experience corruption of their LED displays if the INP command is used. The
command EIN on will enable regular polling of the 1WIO inputs during a poll
cycle.
Table 2 EIN Settings Recommended
1WIO Used Recommended EIN Setting
MD2083 4 Relay Output Not important
MD2084 4 Input On
MD2088 8 LED Ouput Off
6.7. DS2408 Based Relay and LED Usage
1WSwitch software has the ability to actuate relay modules based on the
DS2408 port expander chip from Dallas/Maxim. One such module is the Midon
Design 1WIO.
The 1WSwitch supports up to 40 1WIO relay modules (MD2083) and the RLY
command input then actuates those relays (numbered from 01 to 80). Relay
numbers 01 to 04 are for the first connected 1WIO module, relay numbers 05 to
08 are for the second, and so on. Note that the leading zero for the relay number
is required.
The LED command works the same way as the RLY command except that there
are 8 LED’s per 1WIO acted on instead of 4 relays per 1WIO. Up to 10 1WIO
LED units are supported for a total of 80 LED’s. Remember to set EIN OFF
when using a 1WIO LED Module.
The RLYA<on|off> command will affect all connected 1WIO relays, and/or all
connected LED modules.
>rly01on
Relay Group #01=On,Off,Off,Off