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
Argument
sMode
pcPass
■ 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 (0000H)
■ Relevant function
Page 37 CITL_GetFileSecurity
3 DETAILS OF FUNCTION
22
3.1 C Intelligent Function Module Dedicated Functions
Name
File access mode
Password
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
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.
IN/OUT
IN
IN