26
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
2 Overview (Sequence Program)
2.2 Introduction of Applied Instructions
4. Registration of "entry code" for protecting programs
The entry code can be registered to prevent erroneous wiring to and plagiarism of created sequence
programs.
With regard to online operations from GX Developer (Ver.8.23Z 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.
2.2
Introduction of Applied Instructions
1. Excellent fundamental performance
FX
3U
/FX
3UC
PLCs are equipped with not only fundamental applied instructions for data transfer, data
comparison, arithmetic operations, logical operations, data rotation and data shift but also with 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. FX PLCs have the specifications offering fundamental functions, high
speed processing and good operability.
2. Advanced control available easily
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 provided in FX
3U
/FX
3UC
PLCs.
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.
3. Arithmetic and logical operations
• Addition (ADD/FNC 20)
• Subtraction (SUB/FNC 21)