Major Applied Instructions - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
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)
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
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
4. Rotation and shift operation
• Rotation right (ROR/FNC 30)
28
→ Refer to Chapter 8.
Chapter 32.
Chapter 18.
2 Overview (Sequence Program)
2.2 Introduction of Applied Instructions
• Rotation left (ROL/FNC 31)
• Rotation right with carry (RCR/FNC 32)
• Rotation left with carry (RCL/FNC 33)
• Bit shift right (SFTR/FNC 34)
• Bit shift left (SFTL/FNC 35)
• Word shift right (WSFR/FNC 36)
• Word shift left (WSFL/FNC 37)
5. Data operation
• Zone reset (ZRST/FNC 40)
• Decode (DECO/FNC 41)
• Encode (ENCO/FNC 42)
• Sum of active bits (SUM/FNC 43)
• Mean (MEAN/FNC 45)
• Word to byte (WTOB/FNC141) and byte to
word (BTOW/FNC142)
• 4-bit linking/grouping of word data
(FNC143 and FNC144)
• Limit control (LIMIT/FNC256)
• Dead band control (BAND/FNC257)
• Zone control (ZONE/FNC258)
• Block data operation (FNC192 to FNC199)
• Character string control (FNC200 to FNC209)
→ Refer to Chapter 12, Chapter 19,
Chapter 25, Chapter 26 and Chapter 29.
6. High speed processing
• Refresh (REF/FNC 50)
• Refresh and filter adjust (REFF/FNC 51)
• Speed detection (SPD/FNC 56)
• Pulse Y output (PLSY/FNC 57)
• Pulse ramp (PLSR/FNC 59)
7. Handy instructions and instructions for
external devices
• Initial state (IST/FNC 60)
• Teaching timer (TTMR/FNC 64)
• Alternate state (ALT/FNC 66)
• Ramp variable value (RAMP/FNC 67)
• Rotary table control (ROTC/FNC 68)
• Ten-key input (TKY/FNC 70)
• Digital switch (thumbwheel input)
(DSW/FNC 72)
• Seven-segment decoder (SEGD/FNC 73)
• Seven-segment with latch (SEGL/FNC 74)
→ Refer to Chapter 11.
→ Refer to Chapter 13.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents