2. Setup
CNT32-4MT(LPCI)
23
Step 5 Checking Operations with the Diagnosis
Program
Use the diagnosis program to check that the board and driver software work normally, thereby you can
confirm that they have been set up correctly.
What is the Diagnosis Program?
The diagnosis program diagnoses the states of the board and driver software.
The program has the following diagnosis methods for checking the board as a single unit using its
internal test pulses and the method for checking the board actually connected to an external device.
-
Checking the board as a single unit (without external connection)
-
Checking the board as a single unit (with external connection)
-
Checking the board with an external device
To make sure that the hardware and software have been set up correctly, execute the program for
“Checking the board as a single unit (without external connection)”.
You can use the methods for “Checking the board as a single unit (with external connection) or
“Checking the board with an external device” to simply check the board for wiring or for connection to
an actually connected external device.
The program has the “diagnosis report” feature to report the driver settings, I/O status, interrupt status,
and the presence or absence of the board.
Check method 1: Checking the Board single-handedly
(
without external connection)
The diagnosis program checks whether the board. works normally as a single unit along with the driver
using the on-board test pulse outputs. With the test pulse outputs set to internal, the board. can count
pulse signals without external connection as if the board. were connected to an external device.
Set the board. to the factory defaults before using this method.
What is a test pulse output?
The board has one test pulse output for phase-A and another for phase-B to check whether the counter
inputs work normally. The output pulses are LVTTL-level outputs fixed at 100 kHz.
The board can also internally output test pulses to each counter channel without supplying them to the
outside. In that case, the board outputs two-phase pulses to all channels at the same time.