C&H Technologies, Inc. <> 445 Round Rock West Drive <> Round Rock, TX 78681 <> www.chtech.com
4.0 OPERATION
The M222 is a
Typically a high level driver is available to aid in control of the module. Refer to the software driver documentation for instructions on using the driver.
4.1 RELAY OPEN/CLOSE
Each relay channel can be separately controlled with the Relay Register (Reg. 0x14). Writing a 1 to a bit will OPEN the relay (i.e., connect the common terminal to the normally closed terminal) and writing a 0 to a bit will CLOSE the relay (i.e., connect the common terminal to the normally open terminal) as shown in Figure 4.
Figure 4. Effects of Opening/Closing Relay
4.2 INTERRUPTS
The M222 can generate an interrupt request 16ms after a relay is opened or closed indicating that the relay has settled. The interrupt must be enabled in the Control Register (Reg. 0x02).
11