Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual page 298

Positioning control - intelligent function module
Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

If an interrupt factor occurs, the value in [Md.65] Interrupt factor detection flag changes as follows.
Monitor item
[Md.65]
Interrupt factor detection
flag
*2 n: 0 (setting 1) to 15 (setting 16)
Resetting interrupt factors
When [Cd.51] Interrupt factor reset request is set to 1: Reset request, the interrupt factor is reset and 0: Interrupt factor not
detected is stored in [Md.65] Interrupt factor detection flag.
Setting item
[Cd.51]
Interrupt factor reset
request
*1 n: 0 (setting 1) to 15 (setting 16)
The following figure shows an example of the interrupt factor reset processing.
CPU module
(scanning program)
CPU module
(interrupt program)
[Cd.51] Interrupt factor reset request
[Md.65] Interrupt factor detection flag
Interrupt factor
1.
In the interrupt program, set [Cd.51] Interrupt factor reset request to 1: Reset request.
2.
When [Cd.51] Interrupt factor reset request is accepted, [Md.65] Interrupt factor detection flag and [Cd.51] Interrupt
factor reset request are cleared to 0.
Control precautions
• Even if the same interrupt factor occurs again while [Md.65] Interrupt factor detection flag is 1: Interrupt factor detected, no
interrupt request is sent to the CPU module.
• While [Cd.50] Interrupt factor mask is 0: Mask, no interrupt request is sent to the CPU module.
• After the power is switched on or the CPU module is reset, no interrupt request is sent to the CPU module because the
interrupt parameter in the positioning module is set to the initial value. Turn off and on [Cd.190] PLC READY signal to
validate the interrupt parameter.
• Starting the "Positioning Test" in GX Works3 validates the interrupt parameter at a start.
• If a parameter error occurs when [Cd.190] PLC READY signal is turned off and on, or the "Positioning Test" in GX Works3
is started, the interrupt parameter is invalidated. No interrupt request is sent to the CPU module.
12 CONTROL SUB FUNCTION
296
12.9 Other Functions
Monitor
Monitor details
value
0, 1
Stores the detecting status of an interrupt factor.
• 0: Interrupt factor not detected
• 1: Interrupt factor detected
Setting
Setting detail
value
0, 1
The interrupt factor is reset.
• 0: No reset request
• 1: Reset request
When the interrupt factor reset request is accepted, 0 is
stored.
Normal control
program
Interrupt
program
1.
0
0
1
An interrupt request is not sent when an interrupt factor
is detected again before an interrupt factor reset.
Normal control
program
Interrupt
program
1
0
2.
0
1
An interrupt request is sent when an interrupt factor
is detected again after an interrupt factor reset.
Buffer memory address
55000+n
Buffer memory address
55128+n
Normal control
program
1
0
0
*2
*1

Advertisement

Table of Contents
loading

Table of Contents