102
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
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.
• 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
■
Relevant functions
• Page 88 CCPU_MountMemoryCard
• Page 110 CCPU_UnmountMemoryCard
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......