130
3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
CCPU_GetCounterMillis_ISR
This function acquires a 1 ms counter value of a C Controller module.
■
Format
short CCPU_GetCounterMillis_ISR(unsigned long* pulMillis)
■
Argument
■
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.
Do not execute this function in a routine other than an interrupt routine.
■
Return value
■
Relevant function
• Page 129 CCPU_GetCounterMicros_ISR
Argument
Name
Description
IN/OUT
pulMillis
1 ms counter value storage
destination
Specify the storage destination of the 1 ms counter value.
OUT
Return value
Description
0 (0000H)
Normal
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......