1.2
C Controller Module Dedicated Functions
C Controller dedicated functions of the dedicated function libraries are used to control C Controller module.
These functions can be used for reading status of C Controller module or accessing resources such as LED control and clock.
Program processing
The following shows the user program processing using the C Controller module dedicated function.
1.
Start a task.
2.
Read the status of C Controller module and access the resources such as LED control and clock by using the C
Controller module dedicated function.
3.
Complete the task.
Considerations
Considerations for user WDT (user watchdog timer)
User WDT error occurrence
If a user WDT cannot be reset due to a user program runaway, a user WDT error will occur.
In this case, take the following corrective actions.
• Increase the user WDT period set with the CCPU_StartWDT function.
• Lower the number of tasks with high CPU utilization or make them deactivated.
• Review the user program.
Reset the C Controller module once the corrective actions have been taken.
In the user program, a user WDT can be used to monitor the hardware and status of user program, and
processing timeout for accessing and controlling each module.
User WDT setting range
The user WDT period can be set within the range of 100 ms to 10,000 ms.
Output when a user WDT error occurs
When a user WDT error occurs, the output turns OFF.
1 COMMON ITEMS
1.2 C Controller Module Dedicated Functions
1
11