22
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
3 DETAILS OF FUNCTION
This chapter shows the details of the C intelligent function module dedicated function and the MELSEC iQ-R series data link
function.
3.1 C Intelligent Function Module Dedicated
Functions
This section shows the details of the C intelligent function module dedicated function.
C intelligent function module dedicated functions
CITL_ChangeFileSecurity
This function changes the file access restriction status of a C intelligent function module.
■ Format
short CITL_ChangeFileSecurity(short sMode, char* pcPass)
■ Argument
■ 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
■ Relevant function
Page 37 CITL_GetFileSecurity
Argument Name Description IN/OUT
sMode File access mode 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
IN
pcPass Password Specify the security password. IN
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST