Chapter 3 Details Of Functions; C Controller Module Dedicated Functions; Ccpu_Changecciefbcycprm - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

3
DETAILS OF FUNCTIONS
This chapter shows the details on the functions used for MELIPC MI5000 series.
3.1

C Controller Module Dedicated Functions

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

CCPU_ChangeCCIEFBCycPrm

Changes the operation parameter of the cyclic transmission of CC-Link IE Field Network Basic.
Format
short CCPU_ChangeCCIEFBCycPrm(unsigned short usGroupNo, unsigned short usLinkScanTime, unsigned short
usTimeout, unsigned short usTimeoutRetryCnt)
Argument
Argument
usGroupNo
usLinkScanTime
usTimeout
usTimeoutRetryCnt
Description
• This function changes the operation parameter of cyclic transmission for the specified group.
• If a value out of the range is specified for the link scan time (usLinkScanTime), the slave station timeout time (usTimeout),
or the number of detections of disconnected slave stations (usTimeoutRetryCnt), an error which indicates that the value is
out of the range is returned.
• Before running this function, set the CC-Link IE Field Network Basic parameters with MI Configurator. If parameters are not
configured, an error is returned.
• Operation with the specified settings begins from the next link scan after the execution of this function.
• This function exits normally after the reflection of operation parameters is completed.
• If the MELIPC is reset, the operation parameters return to the prescribed values (parameter setting values).
• The timeout time (usTimeout) of the specified slave station operates in tick units.
3 DETAILS OF FUNCTIONS
24
3.1 C Controller Module Dedicated Functions
Name
Group No.
Link scan time
Slave station timeout time
Number of detections of
disconnected slave stations
Description
Specifies a target 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.)
Specifies the link scan time of a cyclic transmission in milliseconds. (0 to
10000)
(When "0" was specified, the link scan time setting becomes invalid. The
next link scan is started soon after a link scan is completed. )
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)
IN/OUT
IN
IN
IN
IN

Advertisement

Table of Contents
loading

Table of Contents