Precautions For Interrupt Service Routine (Isr) - Mitsubishi Electric MELSEC Q Series User Manual

Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

19.4.2

Precautions for interrupt service routine (ISR)

Be familiar with specifications of VxWorks, the C Controller module OS, before creating routines executed in an
interrupt service routine (ISR).
The following shows the functions executable from an interrupt service routine (ISR) in the C Controller module.
Executing any function other than those listed below from the interrupt service routine (ISR) or setting an inappropriate
value for the function argument, the operating system may run away.
Function library
C Controller module dedicated
function
Bus interface functions
When executing the function other than above provided by C Controller module at the same timing as the
interruption, create a user program which contains a notification processing and execute with task.
When a problem occurs in an interrupt service routine (ISR), the operating system may reboot forcibly.
• Perform the troubleshooting according to the error description when a runaway operating system occurs, or a
system error/stop (such as user watchdog timer error) occurs from rebooting the C Controller module.
Page 400, Section 23.3 Checking the Error Details
Functions executable from
the interrupt service routine
CCPU_Get7segLED_ISR
CCPU_GetCounterMillis_ISR
CCPU_GetCounterMicros_ISR
CCPU_GetDotMatrixLED_ISR
CCPU_ReadSRAM_ISR
CCPU_Set7segLED_ISR
CCPU_SetDotMatrixLED_ISR
CCPU_SetLEDStatus_ISR
CCPU_WriteSRAM_ISR
QBF_DisableCpuInt_ISR
QBF_DisableMultiCPUSyncInt_ISR
QBF_DisableUnitInt_ISR
QBF_EnableCpuInt_ISR
QBF_EnableMultiCPUSyncInt_ISR
QBF_EnableUnitInt_ISR
QBF_FromBuf_ISR
QBF_ReadDevice_ISR
QBF_ResetDevice_ISR
QBF_SetDevice_ISR
QBF_ToBuf_ISR
QBF_WriteDevice_ISR
QBF_X_In_Word_ISR
QBF_Y_In_Word_ISR
QBF_Y_Out_Word_ISR
CHAPTER 19 PROGRAMMING
: Available, : Not available
CPU module
Q24DHC
Q12DC-V
-V
-VG
341
19

Advertisement

Table of Contents
loading

Table of Contents