Mitsubishi Electric MELSEC iQ-R C Programming Manual page 108

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

Advertisement

CCPU_SysClkRateGet
This function reads the system clock rate specified with the CCPU_SysClkRateSet function from the backup RAM.
■Format
short CCPU_SysClkRateGet(short* psTicks)
■Argument
Argument
Name
psTicks
Clock rate
■Description
This function reads the system clock rate specified with the CCPU_SysClkRateSet function from the backup RAM.
Precautions
The read value may not correspond to the system clock rate in operation.
To check the system clock rate in operation, use the sysClkRateGet function of VxWorks.
■Return value
Return value
0 (0000H)
Other than 0
■Relevant function
• Page 107 CCPU_SysClkRateSet
3 DETAILS OF FUNCTION
106
3.1 C Controller Module Dedicated Functions
Description
Stores the system clock rate in the unit of clock frequency (Hz) per one second.
• 0: Default value (60 Hz)
• 60 to 1000: Specified clock rate value
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 174 ERROR CODE LIST
IN/OUT
OUT

Advertisement

Table of Contents
loading

Table of Contents