Using Iso Input 5 As A Latch; General-Purpose I/O; General-Purpose Inputs - National Instruments NI PCI-8254R User Manual

1394a image acquisition device with reconfigurable i/o
Hide thumbs Also See for NI PCI-8254R:
Table of Contents

Advertisement

Note
In Vision Builder AI, ISO Input 5 is always designated as a latch.
Function
Data(5), rising edge latch

General-Purpose I/O

© National Instruments Corporation
example, an upstream NI 8254R device programmed for part classification
might drive the product selection port of a downstream NI 8254R device.
Alternatively, a PLC with information about which part is being inspected
can drive the product selection port of the NI 8254R.

Using ISO Input 5 as a Latch

You can configure the product selection port to use ISO Input 5 as a latch.
A rising edge on ISO Input 5 can latch the data into a data register on the
NI 8254R. Before each inspection, the software checks the status of the
product select inputs and reads the most recent value latched into the
register. If ISO Input 5 is not used as a latch, it can be used as an extra bit
of data.
Table 2-3 lists the product selection ports.
Table 2-3. NI 8254R Product Selection Ports
Data(4)
Data(3)
Data(2)
Data(1)
Data(0)
General-purpose inputs and outputs are available as both TTL and isolated
connections. The software running on the NI 8254R can read the inputs and
drive the outputs high or low at any time.

General-Purpose Inputs

The primary difference between general-purpose inputs and trigger inputs
is that you cannot use general-purpose inputs to initiate a timed pulse
generator. In an application, use the general-purpose inputs to get the status
of the inputs at a given point and not to synchronize the NI 8254R with an
external event.
External Connection
ISO Input 5
ISO Input 4
ISO Input 3
ISO Input 2
ISO Input 1
ISO Input 0
2-9
Chapter 2
Digital I/O
NI PCI-8254R User Manual

Advertisement

Table of Contents
loading

Table of Contents