Mitsubishi Electric MELSEC iQ-R Series Manual page 77

Intelligent function module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

CITL_GetCounterMillis_ISR
This function acquires a 1 ms counter value of a C intelligent function module.
■ Format
short CITL_GetCounterMillis_ISR (unsigned long* pulMillis)
■ Argument
Argument
Name
pulMillis
1 ms counter value storage
destination
■ Description
• This function acquires a 1 ms counter value of a C intelligent function module, and stores it 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 CITL_GetCounterMillis_ISR function in a routine other than the one registered in the interrupt.
■ Return value
Return value
Description
0 (0000H)
Normal
■ Relevant function
Page 74 CITL_GetCounterMicros_ISR
Description
Specify the storage destination of the 1 ms counter value.
3.1 C Intelligent Function Module Dedicated Functions
IN/OUT
OUT
3 DETAILS OF FUNCTION
3
75

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents