
24
•
Registers Format
3.8 Digital I/O register
There are 16 digital input channels and 16 digital output channels are
provided by the ACL-8111. The address Base + 6 and Base + 7 are used for
digital input channels, and the address Base + 13 and Base + 14 are used for
digital output channels.
Address : BASE + 6 & BASE + 7
Attribute:
read only
Data Format:
Bit 7 6 5 4 3 2 1 0
Base + 6 DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
Base + 7 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8
Address: BASE + 13 & BASE + 14
Attribute: write only
Data Format:
Bit 7 6 5 4 3 2 1 0
Base + 13
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
Base + 14
DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8
3.9 D/A Output Register
The D/A converter will convert the D/A output register data to the analog
signal. The register data of the address Base + 4 and Base + 5 are used for
D/A conversion.
Address: BASE + 4 & BASE + 5
Attribute:
write only
Data Format:
Bit 7 6 5 4 3 2 1 0
Base + 4 DA7 DA6 DA5 DA4 DA3 DA2 DA1 DA0
Base + 5 X X X X DA11 DA10 DA9 DA8
DA0 is the LSB and DA11 is the MSB of the 12 bit data.
X: don't care
Comentarios a estos manuales