Programming
•
27
♦
Write operation:
The digital output states are written as 1 single byte to the port at
address BASE+N (N=0,1,2,3). Data is written to all 8 bits as a single
byte.
For example:
In BASIC:
05 BASE=&H2A0
06 VALUE1% = &H3F
07 VALUE2% = &HF3
10 OUT(BASE + 0), VALUE1% ‘ the digital outputs (DO0-DO7) will’
be (00111111)
20 OUT(BASE + 2), VALUE2% ‘ the digital outputs (DO16 - DO23)
will be (11110011)
Summary of Contents for ACL-7120A
Page 1: ...NuDAQ ACL 7120A Digital I O Timer Counter Card User s Guide...
Page 2: ......
Page 12: ......
Page 20: ...14 Installation JP3 default setting TME IRQ EXT IRQ EVT IRQ TME IRQ Figure 2 4...
Page 38: ......