Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
26
FX3G/FX3U/FX3UC 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 read/incorrect write protection 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
FX3G/FX3U/FX3UC 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/FX3U/FX3UC 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.
3. Arithmetic and logical operations
Addition (ADD/FNC 20)
Subtraction (SUB/FNC 21)
Multiplication (MUL/FNC 22)
Division (DIV/FNC 23)
Increment (INC/FNC 24)
Square root (SQR/FNC 48)
Trigonometry (FNC130 to FNC135)
Conversion from/to floating point
(FNC 49, FNC118, FNC119 and FNC129)
Floating point arithmetic operations
(FNC120 to FNC123)
Floating point square root (ESQR/FNC127)
Refer to Chapter 10, Chapter 12 and
Chapter 18.