EasyManuals Logo

Mitsubishi FX3U Series Programming Manual

Mitsubishi FX3U Series
944 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
Page #149 background imageLoading...
Page #149 background image
147
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.12 Pointer [P and I]
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
Operations
3. Pointers for counter interrupt: 6 points
*1
For details on counter interrupt function, refer to Section 36.6.
The PLC executes an interrupt routine based on the comparison result obtained by the comparison set instruction for
high-speed counter (DHSCS instruction).
Use these pointers for control requiring an interrupt routine based on the counting result from high-speed counters.
*1. This function is supported only in FX3U/FX3UC PLCs.
*2. Cleared when the PLC mode switches from RUN to STOP.
Operations
Pointer No. Interrupt disabling flag Pointer No. Interrupt disabling flag
I010
M8059
*2
I040
M8059
*2
I020 I050
I030 I060
Step
0
I620
Pointer for
interrupt
Interrupt
routine
Interrupt is
enabled
Main program
is finished
Main
program
Interrupt at every 20 ms
Interrupt return
FNC 04
EI
FNC 06
FEND
FNC 03
IRET
END
"FEND" indicates the end of the main
program.
Make sure to describe an interrupt routine
after "FEND".
The PLC executes an interrupt routine at every
20 ms.
The PLC returns to main program by IRET
instruction.
Timer interrupt is enabled after EI instruction.
It is not necessary to program DI (disable
interrupt) instruction when no zone to disable
timer interrupt is needed.
M8000
RUN
monitor
FNC 04
EI
FNC 53
DHSCS
K1000 C255
FNC 03
IRET
END
Step
0
C255
I010
Interrupt pointer
number is
specified
FNC 06
FEND
Interrupt routine
(interrupt program)
I010
Pointer for
interrupt
Counter interrupt is specified
Interrupt return
K2,147,483,647
Enable interrupt after EI instruction, and
describe the main program.
Drive the coil of a high-speed counter, and
specify an interrupt pointer in DHSCS (FNC 53)
instruction.
When the current value of C255 changes from
"999" to "1000" or from "1001" to "1000", the
interrupt routine is executed.
For example of interrupt program, refer to an
input interrupt described above.

Table of Contents

Other manuals for Mitsubishi FX3U Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi FX3U Series and is the answer not in the manual?

Mitsubishi FX3U Series Specifications

General IconGeneral
ModelFX3U Series
Program Memory64k steps
Execution Speed0.065 μs/basic instruction
TypePLC (Programmable Logic Controller)
Power Supply100-240V AC
I/O PointsUp to 384
CommunicationUSB
ExpansionSupported via expansion modules
High-Speed CountersUp to 6 channels
Analog Input/OutputAvailable via expansion modules
Temperature Range0 to 55°C
Programming LanguageLadder Logic, Structured Text
Built-in FunctionsPID control
Humidity5 to 95% (non-condensing)

Related product manuals