100
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_SetOpSelectMode
This function sets the operation selection mode of C Controller module.
■
Format
short CCPU_SetOpSelectMode(long lModeInfo, long lSelectMode)
■
Argument
The specification method of the mode information (lModeInfo) and operation selection mode (lSelectMode) is as follows:
■
Description
• This function sets the operation selection mode of C Controller module to the status specified to the operation selection
mode (lSelectMode).
• The operation selection mode setting will be valid after this function is executed.
• If the operation selection mode is changed with both of this function and the switch operation, the mode set the last will be
valid.
• An error occurs if this function is executed while the MODE/SELECT switch is being operated to select an operation.
■
Return value
■
Relevant function
• Page 80 CCPU_GetOpSelectMode
Argument
Name
Description
IN/OUT
lModeInfo
Mode information
Specify the mode information.
IN
lSelectMode
Operation selection mode
Specify the operation selection mode.
IN
lModeInfo
lSelectMode
Description
1
1
Notifies event to the user program when holding the MODE/SELECT switch in the SELECT position.
2
Unmounts SD memory card forcibly when holding the MODE/SELECT switch in the SELECT position.
3
Unmounts USB Mass Storage Class-compliant devices forcibly when holding the MODE/SELECT switch in the SELECT
position.
4
Unmounts SD memory card/USB Mass Storage Class-compliant devices forcibly when holding the MODE/SELECT switch
in the SELECT position.
Others
Reserved
2
1
Displays the specified content on the dot matrix LED.
2
Displays an error code on the dot matrix LED.
3
Displays the IP address of CH1 on the dot matrix LED.
4
Displays the IP address of CH2 on the dot matrix LED.
Others
Reserved
Others
Reserved
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: ......