Mitsubishi Electric MELSEC iQ-R C Programming Manual page 102

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

CCPU_SetOpSelectMode
This function sets the operation selection mode of C Controller module.
■Format
short CCPU_SetOpSelectMode(long lModeInfo, long lSelectMode)
■Argument
Argument
Name
lModeInfo
Mode information
lSelectMode
Operation selection mode
The specification method of the mode information (lModeInfo) and operation selection mode (lSelectMode) is as follows:
lModeInfo
lSelectMode
1
1
2
3
4
Others
2
1
2
3
4
Others
Others
■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
Return value
0 (0000H)
Other than 0
■Relevant function
• Page 80 CCPU_GetOpSelectMode
3 DETAILS OF FUNCTION
100
3.1 C Controller Module Dedicated Functions
Description
Specify the mode information.
Specify the operation selection mode.
Description
Notifies event to the user program when holding the MODE/SELECT switch in the SELECT position.
Unmounts SD memory card forcibly when holding the MODE/SELECT switch in the SELECT position.
Unmounts USB Mass Storage Class-compliant devices forcibly when holding the MODE/SELECT switch in the SELECT
position.
Unmounts SD memory card/USB Mass Storage Class-compliant devices forcibly when holding the MODE/SELECT switch
in the SELECT position.
Reserved
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.
Reserved
Reserved
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 174 ERROR CODE LIST
IN/OUT
IN
IN

Advertisement

Table of Contents
loading

Table of Contents