![Mitsubishi Electric FX3G SERIES Programming Manual Download Page 29](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902029.webp)
27
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
2 Overview (Sequence Program)
2.2 Introduction of Applied Instructions
1
Introdu
ction
2
Ov
ervi
ew
3
Instruction
Li
st
4
D
evices
in Det
ail
5
Specifi
ed the
De
vice
&
C
onst
ant
6
Bef
ore
Pr
og
ra
mmi
ng
7
Bas
ic
Instruction
8
FN
C00-FN
C0
9
Program Fl
ow
9
FNC
10-FN
C19
Mov
e & Com
pare
10
FNC
20-FNC
29
Arith. & Lo
gi
c
Operati
on
4. Registration of "entry code" for protecting programs
The entry code can be registered to prevent erroneous read/incorrect write protection of created sequence programs.
With regard to online operations from GX Developer (Ver. 8.24A or later) and handy programming panels, the program
protection level can be set by the entry code specification method. In this case, such specification that "changes of a
program are disabled, but monitoring and changes of present values are enabled" is available.
→
Refer to the manual of the used programming tool.
5. Addition of "comments" for a sequence program
By setting parameters, the device comment area (where Katakana, Kanji and alphanumeric characters are available)
can be secured in the program memory.
→
Refer to the manual of the used programming tool.
6. Writing programs in the RUN mode
Programs can be changed while the PLC is operating (RUN mode).
By this function, programs can be adjusted and changed efficiently without stopping the machine.
→
Refer to the manual of the used programming tool.
7. Symbolic information storage
The FX
3U
/FX
3UC
PLC Ver. 3.00 or later can store symbolic information (data indicating the program configuration such
as structure and labels).
By using this function, you can read the symbolic information from the PLC, and edit labels, function blocks, etc.
GX Works2 Ver. 1.62Q or later is required to store symbolic information.
→
Refer to the GX Works2 Version 1 Operating Manual (Common) for the details on symbolic information.
2.2
Introduction of Applied Instructions
1. Excellent fundamental performance
FX
3G
/FX
3U
/FX
3UC
PLCs are equipped with not only fundamental applied functions for data transfer, data comparison,
arithmetic operations, logical operations, data rotation, and data shift but also high-speed processing instructions for
I/O refresh, interrupt, comparison dedicated to high-speed counters, and high-speed pulse output as well as initial
state instructions by which standard operations for machine control are made into packages in the SFC control. In this
way, FX
3G
/FX
3U
/FX
3UC
PLCs have the specifications offering fundamental functions, high-speed processing, and
good operability.
2. Advanced control easily available
In addition, FX PLCs offer many handy instructions by which complicated sequence control is made into packages to
mitigate the load for creating sequence programs and save the number of I/O points.
FX PLCs also offer floating point arithmetic operations and PID operations to cope with more advanced control.
2.2.1
Major applied instructions
This subsection introduces representative ones among many applied instructions.
1. Program flow
• Conditional jump (CJ/FNC 00)
• Call subroutine (CALL/FNC 01)
• Enable interrupt (EI/FNC 04)
• Disable interrupt (DI/FNC 05)
• Start a FOR/NEXT loop (FOR/FNC 08)
→
Refer to Chapter 8.
2. Move and compare
• Compare (CMP/FNC 10)
• Data comparison (FNC224 to FNC246)
• Floating point compare
(ECMP/FNC110 and EZCP/FNC111)
• Zone compare (ZCP/FNC 11)
• High-speed counter compare (FNC 53 to FNC 55)
• High-speed counter compare with data table
(HSCT/FNC280)
• Move (MOV/FNC 12)
• Floating point move (EMOV/FNC112)
• High-speed counter move (HCMOV/FNC189)
• Conversion to binary-coded decimal
(BCD/FNC 18)
• Conversion to binary (BIN/FNC 19)
• Decimal to gray code conversion (FNC170) and
gray code to decimal conversion (FNC171)
→
Refer to Chapter 9, Chapter 13, Chapter 18,
Chapter 22, Chapter 24, Chapter 28 and
Chapter 32.