Ccpu_Changefilesecurity - Mitsubishi Electric MELSEC iQ-R C Series Programming Manual

Controller module
Table of Contents

Advertisement

CCPU_ChangeFileSecurity

This function changes the file access restriction status of a C Controller module.
Format
short CCPU_ChangeFileSecurity(short sMode, char* pcPass);
Argument
Argument
Name
sMode
File access mode
pcPass
Password
Description
• Specify the file access restriction status to the file access mode (sMode).
• To change the file access mode (sMode), use the security password.
Return value
Return value
0 (0000H)
Other than 0
Relevant function
• Page 106 CCPU_GetFileSecurity
3 DETAILS OF FUNCTION
70
3.1 C Controller Module Dedicated Functions
Description
Specify the file access mode.
(When 'Reserved' is specified, this function ends normally without processing.)
• 0: Access restriction clear mode
• 1: Access restriction mode
• Others: Reserved
Specify the security password.
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
IN/OUT
IN
IN

Advertisement

Table of Contents
loading

Table of Contents