Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 70

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_ShutdownRom
Shuts down the user drive of the VxWorks part.
Format
short CCPU_ShutdownRom(void)
Argument
None
Description
• Shuts down the user drive of the MELIPC and sets the VxWorks part to a state in which the power supply can be turned
OFF. (The shutdown status can be checked by the CCPU_GetCpuStatus function. )
• This function is used to shut down the user drive before turning OFF the power supply of the MELIPC. After shutdown, it is
not possible to perform file operations for the user drive (create new files, delete files, or overwrite files). However, the user
drive can be browsed.
• Before executing this function, be sure to stop the access to the user drive and close all files; otherwise, data corruption or
file system errors may occur.
• Always turn OFF the power or reset the MELIPC after checking that shutdown is complete. If operation is continued, an
error occurs when accessing files in the user drive.
• When the user drive has already been shut down, this function ends normally without processing.
• This function shuts down only the user drive of the VxWorks part. The Windows part is not affected. If necessary, set the
Windows part to a state in which the power supply can be turned OFF.
Precautions
When the SHUTDOWN switch is operated or the CPU temperature is very high, this function is automatically executed by the
MELIPC built-in firmware after shutdown of the Windows part is complete.
Return value
Return value
0(0000H)
-292(FEDCH)
For details on error codes, refer to the following section.
Page 116 Function error codes
3 DETAILS OF FUNCTIONS
68
3.1 C Controller Module Dedicated Functions
Description
Normal
User drive shutdown error

Advertisement

Table of Contents
loading

Table of Contents