5. I/O Bootup Library
5.1 Overview
The I/O bootup library monitors the connection status of dedicated I/O Box and notifies user of the status.
5.2 Function
This library supports only one function, iobox_chk(). The iobox_chk() function monitors and detects, for a specified period, whether
Fig. 5.1
User Application |
|
| |
|
|
| |
| (1) iobox_chk ( TIME_OUT_SEC ) ; |
|
|
|
| (5) Return |
|
|
| Detection, Timeout | |
|
| Error | |
| IOBOX1.DLL |
|
|
| Karnel | (4) | Timeout |
|
| ||
| (4) Interrupt Signal |
|
|
| I/O PORT: 0 |
|
|
(2) Mounting | (3) I/O Box ON Signal |
I/O Box
Because the interrupt signals are detected by their signal levels, they can be detected even if the order of (1) and (2) is changed. (The connection status can be detected whether this function is called before or after the
35