Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 60

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

Advertisement

CCPU_Reset
Resets a MELIPC.
Format
short CCPU_Reset(void)
Argument
None
Precautions
When this function is executed, no value is returned because a MELIPC is restarted from an operating system. (All programs
are forcibly terminated.)
Description
• Resets a MELIPC.
• Use this function only to reset and restart, such as when an error has occurred.
• Do not execute this function while a file is being written to the user drive. Data corruption or a file system error may occur.
• If a file is being written to the user drive, always close the file before executing this function. Alternatively, run the
CCPU_ShutdownRom function and shut down the user drive.
• Resets the entire MELIPC, including the Windows part. If this function is executed while file writing is occurring on the
Windows part, data corruption or a file system error may occur on the Windows part.
• This function can be executed only when all the following conditions are satisfied. If a condition is not satisfied, the error
code in parentheses () is returned.
"Enable" is set to "Remote Reset" (Unset: 16523)
The operation status of the MELIPC is STOP (RUN status: 16400)
Return value
Return value
0(0000H)
16400(4010H)
16523(408BH)
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 68 CCPU_ShutdownRom
3 DETAILS OF FUNCTIONS
58
3.1 C Controller Module Dedicated Functions
Description
Normal
RUN state not possible
Remote request cannot be executed

Advertisement

Table of Contents
loading

Table of Contents