Mitsubishi Electric MELSEC iQ-R C Programming Manual page 74

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

Advertisement

CCPU_GetCounterMillis
This function acquires a 1 ms counter value of a C Controller module.
■Format
short CCPU_GetCounterMillis(unsigned long* pulMillis)
■Argument
Argument
Name
pulMillis
1 ms counter value storage
destination
■Description
• This function acquires a 1 ms counter value of C Controller module and stores the value in the 1 ms counter value storage
destination (pulMillis).
• The 1 ms counter value increases by 1 every 1 ms after the power is turned ON.
• The count cycles between 0 and 4294967295.
■Return value
Return value
0 (0000H)
Other than 0
■Relevant function
• Page 71 CCPU_GetCounterMicros
3 DETAILS OF FUNCTION
72
3.1 C Controller Module Dedicated Functions
Description
Specify the storage destination of the 1 ms counter 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