Interrupt Sample [interrupt]


How to use

  1. Enter the device name registered by Configuration Tool into Device Name. Click the DioInit button.

  2. The rising edge or the falling edge is selected by the interrupt logic.
    (Depending on the device, only one of the two can be used. For details, please refer to the hardware manual.)

  3. Click the Start Interrupt button to start the interrupt.

  4. When changing the interrupt logic, press the Stop Interrupt button first, then reselect the interrupt logic,
    and finally press the Start Interrupt button again to resume accepting interrupts.

  5. Click the DioExit button to stop using the device.

  6. Click the Exit button to exit the program.

Note

This sample can be used only for the device with interrupt function.