4. Functions
AD16-64(LPCI)LA
55
Event
The event function notifies the application when something occurs on the device.
The following events can be used as required.
-
Compare count match event
This event is triggered when a compare match occurs on the counter.
-
Count overrun event
This event is triggered when a counter overrun occurs.
-
Counter operation error
This event is triggered when a counter operation error causes the counter to stop.
2. Starting/Stopping Operation
Starting and stopping the counter are performed using software commands.
Once the counter has started, it can be stopped at any time by a software command.
3. Monitoring the Status and Acquiring Data
Software commands can be used to monitor the device operating status and read counter data. Status
monitoring and data acquisition can both be performed while the counter is running.
Status
The current state of the device can be checked by obtaining the device status.
The following types of device status are available:
-
Counter operating
The device operating status is ON from the time the operation start command is executed until
operation stops due to a stop command or error.
-
Compare count match
The compare count match status turns ON when a count match occurs after the counter is started.
The status is turned OFF by the status reset command.
-
Overrun
The overrun status turns ON if another count match occurs when the compare count match status is
already ON. The status is turned OFF by the status reset command.
Even if the overrun status turns ON, this does not stop the counter.
-
Counter operation error
Execution of driver processing may not be able to keep up if multiple count match events occur
within a short time period.
In this case, the counter operation error status turns ON and counter operation stops.
Data acquisition
The current count value can be read using a software command.
Summary of Contents for AD16-64(LPCI)LA
Page 7: ...vi AD16 64 LPCI LA ...
Page 15: ...1 Before Using the Product 8 AD16 64 LPCI LA ...
Page 33: ...2 Setup 26 AD16 64 LPCI LA ...
Page 47: ...3 External Connection 40 AD16 64 LPCI LA ...
Page 82: ......