EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 30

Mitsubishi Electric MELSEC iQ-R Series
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
28
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
Description
The CITL_EntryTimerEvent function sets the cycle and synchronization type for the timer event registration.
When '0' is specified to the cycle of the registered event (plEvent), the timer event is deregistered (the occurrence is
cleared). Deregistration will clear the events that have occurred before that.
Up to 16 timer events can be set. The cycle (1 to 60,000[ms]) and synchronization type (batch synchronization or individual
synchronization) can be specified for each event. For the synchronization type, refer to the description of the
CITL_WaitTimerEvent function.
Specify the timer event number without duplication. Otherwise, an error will be returned.
To change the cycle of a timer event number that the cycle is already set, clear it (specify '0' to the cycle), and then register
the cycle (specify the cycle) again. Otherwise, an error will be returned.
The timer event registered by this function waits for the event with the CITL_WaitTimerEvent function.
All the timer events are cleared at the initial status.
Return value
Relevant function
Page 63 CITL_WaitTimerEvent
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

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals