Interrupt Function To A Cpu Module - Mitsubishi Electric MELSEC iQ-R C User Manual

Melsec iq-r series, intelligent function module, application
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

Interrupt function to a CPU module

When the interrupt condition set to an input signal (X) is satisfied, a C intelligent function module issues an interrupt request
for a CPU module. An interrupt program of the CPU module can be activated by the interrupt request.
Function list
The following table shows the functions used for interrupting a CPU module.
Function name
CITL_X_Out_Bit
CITL_X_Out_Word
CITL_X_Out_Word_ISR
Interrupt procedure
Interrupt requests to the CPU module are executed by interrupt conditions set in the unit parameter.
3. Interrupt program starts
I0
1.
Set interrupt conditions in the C intelligent function module using an engineering tool. (Page 49 Interrupt Setting)
2.
When an interrupt condition is set at the time of C intelligent function module dedicated function execution
(CITL_X_Out_Bit/CITL_X_Out_Word), an interrupt request for the CPU module is executed.
3.
Interrupt program of the CPU module is started by the interrupt request.
When "Leading Edge/Trailing Edge" is set in the "Interrupt Condition Setting", the first interrupt factor which
occurs during an interrupt program execution is recorded and the second or later ones are ignored. When
'trailing edge → leading edge' occurs during an interrupt program execution by leading edge, the second or
later interrupt programs are not executed. Therefore, ensure a sufficient interval between input ON and OFF.
(Same for 'trailing edge → leading edge → trailing edge)
1 FUNCTION
18
1.1 Program Related Function
Description
To write to an input signal (X) in bit (1-point) units.
To write to an input signal (X) in word (16-point) units.
1. Setting interrupt conditions
CITL_X_Out_Bit/CITL_X_Out_Word function
Interrupt request
2. Execute the
Module Parameter
Interrupt conditions
X10: ON = I0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rd55up06-v

Table of Contents