CITL_GetCounterMillis
This function acquires a 1 ms counter value of a C intelligent function module.
■ Format
short CITL_GetCounterMillis(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.
■ Return value
Return value
Description
0 (0000H)
Normal
Other than 0 (0000H)
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
■ Relevant function
Page 34 CITL_GetCounterMicros
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
35