48
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
3
DETAILS OF FUNCTION
This chapter explains the details of the C Controller module dedicated function and the MELSEC data link function.
3.1
C Controller Module Dedicated Functions
This section explains the details of the C Controller module dedicated function.
C Controller module dedicated functions
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)
■
Argument
■
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 (usTimeout), 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.
■
Return value
■
Relevant function
•
Page 95 CCPU_RestoreDefaultCCIEFBCycPrm
Argument
Name
Description
IN/OUT
usGroupNo
Group No.
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.)
IN
usLinkScanTime
Link scan time
Specify the link scan time of a cyclic transmission in milliseconds. (0 to 10000 ms)
IN
usTimeout
Slave station timeout time
Specify a timeout time (ms) for detecting the disconnection of slave stations. (10 to 65535
ms)
IN
usTimeoutRetryCnt
Number of detections of
disconnected slave stations
Specify the number of timeouts for detecting the disconnection of slave stations. (3 to 10)
IN
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......