Mitsubishi Electric MELSEC iQ-R Series Manual page 36

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

Advertisement

CITL_GetCounterMicros
This function acquires a 1 s counter value of a C intelligent function module.
■ Format
short CITL_GetCounterMicros(unsigned long* pulMicros)
■ Argument
Argument
pulMicros
■ Description
• This function acquires a 1 s counter value of a C intelligent function module, and stores it 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
Return value
0 (0000H)
Other than 0 (0000H)
■ Relevant function
Page 35 CITL_GetCounterMillis
3 DETAILS OF FUNCTION
34
3.1 C Intelligent Function Module Dedicated Functions
Name
1 s counter value storage
destination
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
Description
Specify the storage destination of the 1 s counter value.
IN/OUT
OUT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents