EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 55

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...
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
53
3
CITL_StartWDT
This function sets and starts the user WDT of a C intelligent function module.
Format
short CITL_StartWDT(short sType, short sInterval)
Argument
Description
The user WDT is the timer for detecting a hardware failure or program error.
This function sets an interval of the WDT to sInterval10 ms and starts the user WDT.
When the WDT is not reset periodically within the set time (by execution of the CITL_ResetWDT function), the user WDT
error will occur. When the user WDT error occurs, the C intelligent function module will be in the moderate error status. (The
RUN LED turns ON, and the ERR LED starts flashing.)
When CITL_StartWDT function is executed while the WDT is running, an error will be returned.
Return value
Relevant function
Page 29 CITL_EntryWDTInt
Page 46 CITL_ResetWDT
Page 55 CITL_StopWDT
Argument Name Description IN/OUT
sType WDT type Specify the WDT type.
(When 'Reserved' is specified, an error is returned.)
0: User WDT
Others: Reserved
IN
sInterval WDT interval Specify the interval of WDT in 10 ms units.
(Available range is between 10 to 1000 (100 to 10000 [ms])).
IN
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