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)
Содержание ACL-7120A
Страница 1: ...NuDAQ ACL 7120A Digital I O Timer Counter Card User s Guide...
Страница 2: ......
Страница 12: ......
Страница 15: ...Installation 9 2 3 ACL 7120A Layout Figure 2 1 7120A Layout SW1 CN1 CN2 CN3 CN4 CN5 JP1 JP2 JP3 Count 0 Count 1...
Страница 20: ...14 Installation JP3 default setting TME IRQ EXT IRQ EVT IRQ TME IRQ Figure 2 4...
Страница 38: ......