In this example, DSW(210) is used to read an 8-digit number from a digital switch and outputs the resulting value constantly to D0 to D3. The digital switch is connected through CIO 3 and CIO 104.
Since 8 digits of data are being read, C1 (D32000 in this case) is set to 0001 hex. D32001 is used as the system word.
![](http://m.rob-thebuilder.com/attachment/Mon_1103/18_138955_7a7c8b9b73e8c75.bmp)