Download Print this page

Mitsubishi Electric MELIPC MI5000 Series User Manual page 157

Hide thumbs Also See for MELIPC MI5000 Series:

Advertisement

Inter OS event notification operation
This section shows the operations of inter OS event notification.
■When a user application of the VxWorks part is waiting for an inter OS event notification from
the Windows part
OS(A)
OS(B)
(1)
(1) User application
The C Controller module dedicated function (CCPU_ReceiveInterOSEvent) is executed by a user program of OS (B).
A user program of OS (A) waits for an inter OS event notification.
The C Controller module dedicated function (CCPU_SendInterOSEvent) is executed by the user program of OS (A).
An inter OS event is reported to the user program of OS (B).
The user program of OS (B) receives the inter OS event notification, and the waiting status is cleared.
After the waiting status is cleared, the user program is restarted.
Precautions
The following section shows the considerations when executing the C Controller module dedicated function
(CCPU_ReceiveInterOSEvent).
■When an inter OS event has been reported at function execution
If a inter OS event has already been reported when the C Controller module dedicated function
(CCPU_ReceiveInterOSEvent) is executed, the user program executes and completes the C Controller module dedicated
function (CCPU_ReceiveInterOSEvent) at the same time, and then carries out processing from the C Controller module
dedicated function (CCPU_ReceiveInterOSEvent) and later. Furthermore, when multiple inter OS events have been reported
to the same inter OS event number when the C Controller module dedicated function (CCPU_ReceiveInterOSEvent) is
executed, they are processed as a single inter OS event report by the user program.
■When multiple user applications are waiting for an inter OS notification
If multiple user programs specify the same enter OS event number when the C Controller module dedicated function
(CCPU_ReceiveInterOSEvent) is executed, the user program that executed the C Controller module dedicated function
(CCPU_ReceiveInterOSEvent) earlier waits for the enter OS event notification, and then restarts.
■If an inter OS event has been reported when the Windows part is starting
A notification is discarded when an inter OS event was reported before the Windows part is running (the WIN RDY LED is on)
after the following events: this product was started, the power supply of this product was turned OFF to ON, the product was
reset, or a Windows part forced restart was run. Run after the operation status of the Windows part is running.
■When a forced restart of the Windows part was run
When a Windows part forced-restart is run, all inter OS events reported to the Windows part are discarded. If necessary,
report the inter OS events to the Windows part again.
Ó
Ò
(1)
Ô
15.3 Inter OS Event Notification Function
15 OS LINKING FUNCTIONS
15
155

Advertisement

loading

This manual is also suitable for:

Melipc mi5122-vw