I/O Port Bit Assignment
CNT24-4D(PCI)
49
Description of Input Commands
Count Read
(Command CH0:00H, CH1:05H, CH2:0AH, CH3:0FH)
Count values are read by reading readout register contents of a
corresponding channel. Output the command to output port +0
and read input port +1 three times. This allows the lower, middle,
and higher bits of the count value to be read.
When initialized, the contents of the readout register are not
defined.
The following is an example program to read the CH2 count value:
OUT Lead a0, 0AH (select the CH2 count value.)
IN
Lead a1, (lower)
IN
Lead a1, (middle)
IN
Lead a1, (higher)
In this case, you need to set the CH2 count-value latch to "1" in
advance.
Status Data
(Command CH0:01H, CH1:06H, CH2:0BH, CH3:10H)
Output the command to output port +0 and read input port +1.
This allows you to monitor each signal input, counting direction,
count matching and abnormal input statuses.
AI ……………...This bit is set to "1" to indicate an abnormal pulse
input if a simultaneous change of phases A and B
is detected during 2-phase input or a simultaneous
change of UP and DOWN pulses is detected
during up/down input.
1 : Detect abnormal input.
0 : Do not detect abnormal input.
Z ………………..Indicates phase Z input status.
Содержание CNT24-4D(PCI)
Страница 1: ...CNT24 4D PCI 24Bit Differencial Up Down Counter Board for PCI User s Guide ...
Страница 29: ...Board Setup CNT24 4D PCI 20 ...
Страница 63: ...I O Port Bit Assignment CNT24 4D PCI 54 ...
Страница 66: ...Board Specifications CNT24 4D PCI 57 External Dimensions 176 4 107 0 mm ...
Страница 67: ...Board Specifications CNT24 4D PCI 58 ...
Страница 69: ...A 46 458 LZT0761 021018 001129 ...