Chapter 3 Details Of Function; C Controller Module Dedicated Functions; Ccpu_Changecciefbcycprm - Mitsubishi Electric MELSEC iQ-R C Series Programming Manual

Controller module
Table of Contents

Advertisement

3
DETAILS OF FUNCTION
This chapter explains the details of C Controller module dedicated functions, MELSEC data link functions, and the motion
module dedicated classes.
3.1

C Controller Module Dedicated Functions

This section explains the details of the C Controller module dedicated function.

CCPU_ChangeCCIEFBCycPrm

This function changes operation parameter of cyclic transmission of the CC-Link IE Field Network Basic function.
Format
short CCPU_ChangeCCIEFBCycPrm (unsigned short usGroupNo, unsigned short usLinkScanTime, unsigned short
usTimeout, unsigned short usTimeoutRetryCnt)
Description
• This function changes the operation parameter of cyclic transmission for the specified group.
• If a value out of the range is specified to the link scan time (usLinkScanTime) and the number of detections of disconnected
slave stations (usTimeoutRetryCnt), an error which indicates that the value is out of the range will be returned.
• Before the execution of the CCPU_ChangeCCIEFBCycPrm function, set the parameters of CC-Link IE Field Network Basic
with CW Configurator. Otherwise, an error response will be returned.
• The timeout time (usTimeout) of the specified slave station operates in tick units.
• The parameters set with the CCPU_ChangeCCIEFBCycPrm function are applied in the next link scan. The
CCPU_ChangeCCIEFBCycPrm function waits for the completion of the operation parameter application.
Argument
Argument
Name
usGroupNo
Group No.
usLinkScanTime
Link scan time
usTimeout
Slave station timeout time
usTimeoutRetryCnt
Number of detections of
disconnected slave stations
Return value
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
Relevant function
• Page 129 CCPU_RestoreDefaultCCIEFBCycPrm
Description
Specify a group number to change the operation parameter of link scan. (0 to 4)
(When '0' is specified, the same value is set to all groups.)
Specify the link scan time of a cyclic transmission in milliseconds. (0 to 10000 ms)
Specify a timeout time (ms) for detecting the disconnection of slave stations. (10 to 65535
ms)
Specify the number of timeouts for detecting the disconnection of slave stations. (3 to 10)
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
3
IN/OUT
IN
IN
IN
IN
69

Advertisement

Table of Contents
loading

Table of Contents