Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 112

Controller module
Table of Contents

Advertisement

CCPU_GetOpSelectMode
This function acquires the operation selection mode of a C Controller module.
Format
short CCPU_GetOpSelectMode(long lModeInfo, long* plSelectMode)
Argument
Argument
Name
lModeInfo
Mode information
plSelectMode
Operation selection mode
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:
plSelectMode
1
2
3
4
• The information which is stored to the operation selection mode (plSelectMode) when 2 is specified to the mode information
(lModeInfo) is as follows:
plSelectMode
1
2
3
4
Return value
Return value
0 (0000H)
Other than 0
Relevant function
• Page 134 CCPU_SetOpSelectMode
3 DETAILS OF FUNCTION
110
3.1 C Controller Module Dedicated Functions
Description
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
Specify the storage destination of the acquired operation mode.
Description
Notifies event to the user program.
Unmounts SD memory card forcibly.
Unmounts USB Mass Storage Class-compliant devices forcibly.
Unmounts SD memory card/USB Mass Storage Class-compliant devices forcibly.
Description
Displays the specified content on the dot matrix LED.
Displays an error code on the dot matrix LED.
Displays the IP address of CH1 on the dot matrix LED.
Displays the IP address of CH2 on the dot matrix LED.
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
IN/OUT
IN
OUT

Advertisement

Table of Contents
loading

Table of Contents