3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
27
3
CITL_EntryTimerEvent
This function registers a timer event.
■ Format
short CITL_EntryTimerEvent (long* plEvent)
■ Argument
The specification method of the registered event (plEvent) is as follows:
When setting the timer event cycle, only the following specification method is applicable.
• For 1 to 1000: Specify multiples of 5 (5 ms units)
• For 1000 to 60,000: Specify multiples of 1000 (1 s units)
Argument Name Description IN/OUT
plEvent Registered event Specify a timer event to be registered. IN
Specification
position
Description
plEvent[0] Number of timer event settings (1 to 16)
plEvent[1] First timer event number (1 to 16) First timer event setting
plEvent[2] Cycle of the first timer event (Clear: 0, Cycle: 1 to 60,000 [ms])
plEvent[3] Synchronization type of the first timer event (Batch synchronization: 0, Individual
synchronization: 1)
plEvent[4] Second timer event number (1 to 16) Second timer event setting
plEvent[5] Cycle of the second timer event (Clear: 0, Cycle: 1 to 60,000 [ms])
plEvent[6] Synchronization type of the second timer event (Batch synchronization: 0, Individual
synchronization: 1)
plEvent[7] Third timer event number (1 to 16) Third timer event setting
plEvent[8] Cycle of the third timer event (Clear: 0, Cycle: 1 to 60,000 [ms])
plEvent[9] Synchronization type of the third timer event (Batch synchronization: 0, Individual
synchronization: 1)
plEvent[46] 16th timer event number (1 to 16) 16th timer event setting
plEvent[47] Cycle of the 16th timer event (Clear: 0, Cycle: 1 to 60,000 [ms])
plEvent[48] Synchronization type of the 16th timer event (Batch synchronization: 0, Individual
synchronization: 1)