6. P16R16-DIO Programming
This chapter provides the I/O map of P16R16-DIO registers. Example programs
and programming information are also included.
6.1 I/O Address Map
The P16R16DIO boards occupy four consecutive addresses in the computer’s
I/O space. The base address is selected by DIP switch, The I/O map are shown
in Table 3-1.
P16R16DIO Base Address at 300 Hex
Address
Write
Read
Base + 0
Relay Output (CH 0 ~ CH 7)
Read Back The Output Status
Base + 1
Relay Output (CH 8 ~ CH15)
Read Back The Output Status
Base + 2
No Function
Digital Input (CH0~CH7)
Base + 3
No Function
Digital Input (CH8~CH18)
Table 3-1. P16R16DIO I/O Address Map.
P8R8-DIO/P16R16-DIO User Manual (Ver.1.7, Oct. 2011, IMH-009-17)
28