80
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_GetOpSelectMode
This function acquires the operation selection mode of a C Controller module.
■
Format
short CCPU_GetOpSelectMode(long lModeInfo, long* plSelectMode)
■
Argument
■
Description
• This function stores the operation selection mode of a C Controller module in the operation selection mode (plSelectMode).
• The information which is stored to the operation selection mode (plSelectMode) when 1 is specified to the mode information
(lModeInfo) is as follows:
• The information which is stored to the operation selection mode (plSelectMode) when 2 is specified to the mode information
(lModeInfo) is as follows:
■
Return value
■
Relevant function
• Page 100 CCPU_SetOpSelectMode
Argument
Name
Description
IN/OUT
lModeInfo
Mode information
Specify the mode information.
• 1: Operation selection mode when the MODE/SELECT switch is held in the SELECT
position
• 2: Display mode of a dot matrix LED
• Others: Reserved
IN
plSelectMode
Operation selection mode
Specify the storage destination of the acquired operation mode.
OUT
plSelectMode
Description
1
Notifies event to the user program.
2
Unmounts SD memory card forcibly.
3
Unmounts USB Mass Storage Class-compliant devices forcibly.
4
Unmounts SD memory card/USB Mass Storage Class-compliant devices forcibly.
plSelectMode
Description
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.
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: ......