Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 138

Controller module
Table of Contents

Advertisement

CCPU_ShutdownRom
This function shuts down the program memory and data memory of a C Controller module.
Format
short CCPU_ShutdownRom (void)
Argument
None
Description
• This function shuts down the program memory and data memory of a C Controller module. The BUS RUN LED starts
flashing at high speed after the shutdown. (The shutdown status can be checked with the CCPU_GetCpuStatus function.)
• This function is used to shut down the program memory and data memory before turning the power of a C Controller
module OFF. File operations (creating, deleting, and overwriting a file) on the program memory and data memory are
disabled after the shutdown. However, reference to the program memory and data memory is possible. For details on the
program memory and data memory, refer to the following:
(MELSEC iQ-R C Controller Module User's Manual)
• When calling this function, make sure to stop accessing files in the program memory and data memory, and close all files.
Otherwise, data corruption or a file system error may occur.
• Always turn the power of the system OFF or reset the CPU module after checking that a shutdown is completed. If
operation is continued, an error occurs when accessing files in the program memory and the data memory.
• Shutdown processing is performed in the order from the program memory to the data memory. If the program memory fails
to be shut down, the data memory will not be shut down.
• When the program memory and data memory are in the shutdown completed status, this function ends normally without
processing.
Return value
Return value
0 (0000H)
Other than 0
Relevant functions
• Page 119 CCPU_MountMemoryCard
• Page 145 CCPU_UnmountMemoryCard
3 DETAILS OF FUNCTION
136
3.1 C Controller Module Dedicated Functions
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST

Advertisement

Table of Contents
loading

Table of Contents