3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
71
3
CCPU_GetCounterMicros
This function acquires a 1
μ
s counter value of a C Controller module.
■
Format
short CCPU_GetCounterMicros(unsigned long* pulMicros)
■
Argument
■
Description
• This function acquires a 1
μ
s counter value of C Controller module and stores the value in the 1
μ
s counter value storage
destination (pulMicros).
• The 1
μ
s counter value increases by 1 every 1
μ
s after the power is turned ON.
• The count cycles between 0 and 4294967295.
■
Return value
■
Relevant function
• Page 72 CCPU_GetCounterMillis
Argument
Name
Description
IN/OUT
pulMicros
1
μ
s counter value storage
destination
Specify the storage destination of the 1
μ
s counter value.
OUT
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Summary of Contents for MELSEC iQ-R C
Page 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Page 2: ......
Page 201: ...I 199 MEMO ...
Page 203: ...I 201 MEMO ...
Page 207: ......