1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

FX3U User Manual | FX3SFX3GFX3GCFX3UFX3UC Series Programmable Controllers

966 39 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Cấu trúc

  • Front Cover

  • Manual number

  • Table of Contents

  • Related manuals

  • Generic Names and Abbreviations Used in Manuals

  • 1. Introduction

    • 1.1 Programming Language in PLCs

      • 1.1.1 Types of programming languages

      • 1.1.2 Applicability of programming languages in programming software

      • 1.1.3 Compatibility among programs

  • 2. Overview (Sequence Program)

    • 2.1 Introduction of Convenient Functions

      • 2.1.1 Convenient functions for input processing

      • 2.1.2 Convenient functions for output processing

      • 2.1.3 Functions for supporting sequence control

    • 2.2 Introduction of Applied Instructions

      • 2.2.1 Major applied instructions

    • 2.3 Analog/Positioning Special Control

    • 2.4 Link and Communication

    • 2.5 Introduction of Devices Constructing PLC

      • 2.5.1 Relationship among devices

      • 2.5.2 Device list

    • 2.6 Program Memory and Devices

      • 2.6.1 Memory structure

      • 2.6.2 Memory operations and latched (battery or EEPROM backed) devices (power ON/OFF and RUN/STOP)

      • 2.6.3 Types of backup methods against power failure

      • 2.6.4 Change between general devices and latched (battery backed) devices

      • 2.6.5 How to initialize devices (battery backed)

    • 2.7 Types and Setting of Parameters

      • 2.7.1 Parameter list

      • 2.7.2 Parameter initial values and available tools for changing parameter values

      • 2.7.3 Memory capacity setting range

      • 2.7.4 Compatible optional memory model

      • 2.7.5 Keyword (entry code)

      • 2.7.6 Special unit initial value setting

      • 2.7.7 Positioning instruction setting

      • 2.7.8 Built-in CC-Link/LT Setup (dedicated to FX3UC-32MT-LT-2)

      • 2.7.9 Parameter settings

  • 3. Instruction List

    • 3.1 Basic Instructions

    • 3.2 Step Ladder Instructions

    • 3.3 Applied Instructions ... in Ascending Order of FNC Number

  • 4. Devices in Detail

    • 4.1 Device Number List

    • 4.2 I/O Relays [X, Y]

      • 4.2.1 Numbers of I/O relays

      • 4.2.2 Functions and roles

      • 4.2.3 Operation timing of I/O relays

    • 4.3 Auxiliary Relay [M]

      • 4.3.1 Numbers of auxiliary relays

      • 4.3.2 Functions and operation examples

    • 4.4 State Relay [S]

      • 4.4.1 Numbers of state relays

      • 4.4.2 Functions and operation examples

    • 4.5 Timer [T]

      • 4.5.1 Numbers of timers

      • 4.5.2 Functions and operation examples

      • 4.5.3 Set value specification method

      • 4.5.4 Cautions on routines

      • 4.5.5 Details on timer operation and timer accuracy

      • 4.5.6 Program examples [off-delay timer and flicker timer]

      • 4.5.7 Handling timers as numeric devices

    • 4.6 Counter [C]

      • 4.6.1 Numbers of counters

      • 4.6.2 Features of counters

      • 4.6.3 Related devices (to specify counting direction) [32-bit counter]

      • 4.6.4 Functions and operation examples

      • 4.6.5 Set value specification method

      • 4.6.6 Response speed of counters

      • 4.6.7 Handling counters as numeric devices

    • 4.7 High-Speed Counter [C] (FX3S/FX3G/FX3GC PLCs)

      • 4.7.1 Types and device numbers of high-speed counters

      • 4.7.2 Input assignment for high-speed counters

      • 4.7.3 Handling of high-speed counters

      • 4.7.4 Current value update timing and comparison of current value

      • 4.7.5 Related devices

      • 4.7.6 Assignment of counter input terminal and switching of function

      • 4.7.7 Response frequency of high-speed counters

      • 4.7.8 Cautions on use

    • 4.8 High-Speed Counter [C] (FX3U/FX3UC PLC)

      • 4.8.1 Types and device numbers of high-speed counters

      • 4.8.2 Input assignment for high-speed counters

      • 4.8.3 Handling of high-speed counters

      • 4.8.4 Current value update timing and comparison of current value

      • 4.8.5 Related devices

      • 4.8.6 Changing the logic of external reset input signal

      • 4.8.7 Assignment of counter input terminal and switching of function

      • 4.8.8 How to use 2-phase 2-count input counters C251 to C255 with 4 edge counting

      • 4.8.9 Conditions for hardware counters to be handled as software counters

      • 4.8.10 Response frequency of high-speed counters

      • 4.8.11 Cautions on use

    • 4.9 Data Register and File Register [D]

      • 4.9.1 Numbers of data registers and file registers

      • 4.9.2 Structures of data registers and file registers

      • 4.9.3 Functions and operation examples of data registers

      • 4.9.4 Functions and operation examples of file registers

      • 4.9.5 Cautions on using file registers

    • 4.10 Extension Register [R] and Extension File Register [ER]

      • 4.10.1 Numbers of extension registers and extension file registers

      • 4.10.2 Data storage destination and access method

      • 4.10.3 Structures of extension registers and extension file registers

      • 4.10.4 Initialization of extension registers and extension file registers

      • 4.10.5 Functions and operation examples of extension registers

      • 4.10.6 Functions and operation examples of extension file registers

      • 4.10.7 Cautions on using extension file registers

      • 4.10.8 Registration of data in extension registers and extension file registers

    • 4.11 Index Register [V and Z]

      • 4.11.1 Numbers of index registers

      • 4.11.2 Functions and structures

      • 4.11.3 Indexing of devices

    • 4.12 Pointer [P and I]

      • 4.12.1 Numbers of pointers

      • 4.12.2 Functions and operation examples of pointers for branch

      • 4.12.3 Functions and operation examples of pointers for interrupt

  • 5. How to Specify Devices and Constants to Instructions

    • 5.1 Numeric Values Handled in PLC (Octal, Decimal, Hexadecimal and Real Numbers)

      • 5.1.1 Types of numeric values

      • 5.1.2 Conversion of numeric values

      • 5.1.3 Handling of numeric values in floating point operations

    • 5.2 Specification of Constants K, H and E (Decimal, Hexadecimal and Real Number)

      • 5.2.1 Constant K (decimal number)

      • 5.2.2 Constant H (hexadecimal number)

      • 5.2.3 Constant E (real number)

    • 5.3 Character Strings

      • 5.3.1 Character string constant ("ABC")

      • 5.3.2 Character string data

    • 5.4 Specification of Digits for Bit Devices (Kn[ ]***)

    • 5.5 Bit Specification of a Word Device (D[ ].b)

    • 5.6 Direct Specification of Buffer Memory (U[ ]\G[ ])

    • 5.7 Indexing

      • 5.7.1 Indexing in basic instructions

      • 5.7.2 Indexing in applied instructions

      • 5.7.3 Indexing example for instruction with limited number of use.

  • 6. What to Understand before Programming

    • 6.1 How to Read Explanation of Instructions

    • 6.2 Cautions on Creation of Fundamental Programs

      • 6.2.1 Programming procedure and execution order

      • 6.2.2 Double output (double coil) operation and countermeasures

      • 6.2.3 Circuits which cannot be programmed and countermeasures

    • 6.3 I/O Processing and Response Delay

    • 6.4 Mutual Relationship Among Program Flow Control Instructions

    • 6.5 General Rules for Applied Instructions

      • 6.5.1 Expression and operation type of applied instructions

      • 6.5.2 Handling of general flags

      • 6.5.3 Handling of operation error flag

      • 6.5.4 Handling functions of extension flag

      • 6.5.5 Limitation in the number of instructions and limitation in simultaneous instruction instances

    • 6.6 Symbolic information storage and block password

      • 6.6.1 Storage of symbolic information

      • 6.6.2 Block password

  • 7. Basic Instruction

    • 7.1 LD, LDI

    • 7.2 OUT

    • 7.3 AND, ANI

    • 7.4 OR, ORI

    • 7.5 LDP, LDF, ANDP, ANDF, ORP, ORF

    • 7.6 ORB

    • 7.7 ANB

    • 7.8 MPS, MRD, MPP

    • 7.9 MC, MCR

    • 7.10 INV

    • 7.11 MEP, MEF

    • 7.12 PLS, PLF

    • 7.13 SET, RST

    • 7.14 NOP

    • 7.15 END

    • 7.16 Number of Instruction Steps and Specified Devices

  • 8. Program Flow – FNC 00 to FNC 09

    • 8.1 FNC 00 – CJ / Conditional Jump

      • 8.1.1 CJ instruction and operations of contact and coil

      • 8.1.2 Relationship between master control instruction and jump instruction

    • 8.2 FNC 01 – CALL / Call Subroutine

      • 8.2.1 Cautions on subroutines and interrupt routines

    • 8.3 FNC 02 – SRET / Subroutine Return

    • 8.4 FNC 03 – IRET / Interrupt Return

    • 8.5 FNC 04 – EI / Enable Interrupt

    • 8.6 FNC 05 – DI / Disable Interrupt

    • 8.7 FNC 06 – FEND / Main Routine Program End

    • 8.8 FNC 07 – WDT / Watchdog Timer Refresh

    • 8.9 FNC 08 – FOR / Start a FOR/NEXT Loop

    • 8.10 FNC 09 – NEXT / End a FOR/NEXT Loop

  • 9. Move and Compare – FNC 10 to FNC 19

    • 9.1 FNC 10 – CMP / Compare

    • 9.2 FNC 11 – ZCP / Zone Compare

    • 9.3 FNC 12 – MOV / Move

    • 9.4 FNC 13 – SMOV / Shift Move

    • 9.5 FNC 14 – CML / Complement

    • 9.6 FNC 15 – BMOV / Block Move

      • 9.6.1 Function of transfer between file registers and data registers

    • 9.7 FNC 16 – FMOV / Fill Move

    • 9.8 FNC 17 – XCH / Exchange

    • 9.9 FNC 18 – BCD / Conversion to Binary Coded Decimal

    • 9.10 FNC 19 – BIN / Conversion to Binary

  • 10. Arithmetic and Logical Operation (+, -, ×, ÷) – FNC 20 to FNC 29

    • 10.1 FNC 20 – ADD / Addition

    • 10.2 FNC 21 – SUB / Subtraction

    • 10.3 FNC 22 – MUL / Multiplication

    • 10.4 FNC 23 – DIV / Division

    • 10.5 FNC 24 – INC / Increment

    • 10.6 FNC 25 – DEC / Decrement

    • 10.7 FNC 26 – WAND / Logical Word AND

    • 10.8 FNC 27 – WOR / Logical Word OR

    • 10.9 FNC 28 – WXOR / Logical Exclusive OR

    • 10.10 FNC 29 – NEG / Negation

  • 11. Rotation and Shift Operation – FNC 30 to FNC 39

    • 11.1 FNC 30 – ROR / Rotation Right

    • 11.2 FNC 31 – ROL / Rotation Left

    • 11.3 FNC 32 – RCR / Rotation Right with Carry

    • 11.4 FNC 33 – RCL / Rotation Left with Carry

    • 11.5 FNC 34 – SFTR / Bit Shift Right

    • 11.6 FNC 35 – SFTL / Bit Shift Left

      • 11.6.1 Replacement of SFT instruction in F1 and F2 Series

    • 11.7 FNC 36 – WSFR / Word Shift Right

    • 11.8 FNC 37 – WSFL / Word Shift Left

    • 11.9 FNC 38 – SFWR / Shift Write [FIFO/FILO Control]

    • 11.10 FNC 39 – SFRD / Shift Read [FIFO Control]

  • 12. Data Operation – FNC 40 to FNC 49

    • 12.1 FNC 40 – ZRST / Zone Reset

    • 12.2 FNC 41 – DECO / Decode

    • 12.3 FNC 42 – ENCO / Encode

    • 12.4 FNC 43 – SUM / Sum of Active Bits

    • 12.5 FNC 44 – BON / Check Specified Bit Status

    • 12.6 FNC 45 – MEAN / Mean

    • 12.7 FNC 46 – ANS / Timed Annunciator Set

    • 12.8 FNC 47 – ANR / Annunciator Reset

    • 12.9 FNC 48 – SQR / Square Root

    • 12.10 FNC 49 – FLT / Conversion to Floating Point

  • 13. High-Speed Processing – FNC 50 to FNC 59

    • 13.1 FNC 50 – REF / Refresh

      • 13.1.1 What should be understood before using the REF instruction

    • 13.2 FNC 51 – REFF / Refresh and Filter Adjust

      • 13.2.1 What should be understood before using REFF instruction

    • 13.3 FNC 52 – MTR / Input Matrix

      • 13.3.1 Operation and cautions for the MTR instruction

    • 13.4 FNC 53 – HSCS / High-Speed Counter Set

      • 13.4.1 Common cautions on using instructions for high-speed counter

    • 13.5 FNC 54 – HSCR / High-Speed Counter Reset

    • 13.6 FNC 55 – HSZ / High-Speed Counter Zone Compare

      • 13.6.1 Program in which comparison result is set to ON when power is turned ON [ZCP (FNC 11) instruction]

      • 13.6.2 Table high-speed comparison mode (M8130)

      • 13.6.3 Frequency control mode (HSZ and PLSY instructions) (M8132)

    • 13.7 FNC 56 – SPD / Speed Detection

    • 13.8 FNC 57 – PLSY / Pulse Y Output

    • 13.9 FNC 58 – PWM / Pulse Width Modulation

    • 13.10 FNC 59 – PLSR / Acceleration/Deceleration Setup

  • 14. Handy Instruction – FNC 60 to FNC 69

    • 14.1 FNC 60 – IST / Initial State

      • 14.1.1 IST instruction equivalent circuit

      • 14.1.2 Example of IST instruction introduction (example of workpiece transfer mechanism)

    • 14.2 FNC 61 – SER / Search a Data Stack

    • 14.3 FNC 62 – ABSD / Absolute Drum Sequencer

    • 14.4 FNC 63 – INCD / Incremental Drum Sequencer

    • 14.5 FNC 64 – TTMR / Teaching Timer

    • 14.6 FNC 65 – STMR / Special Timer

    • 14.7 FNC 66 – ALT / Alternate State

    • 14.8 FNC 67 – RAMP / Ramp Variable Value

    • 14.9 FNC 68 – ROTC / Rotary Table Control

    • 14.10 FNC 69 – SORT / SORT Tabulated Data

  • 15. External FX I/O Device – FNC 70 to FNC 79

    • 15.1 FNC 70 – TKY / Ten Key Input

    • 15.2 FNC 71 – HKY / Hexadecimal Input

    • 15.3 FNC 72 – DSW / Digital Switch (Thumbwheel Input)

    • 15.4 FNC 73 – SEGD / Seven Segment Decoder

    • 15.5 FNC 74 – SEGL / Seven Segment With Latch

      • 15.5.1 How to select a seven-segment display unit

      • 15.5.2 How to select parameter "n" based on seven-segment display specifications

    • 15.6 FNC 75 – ARWS / Arrow Switch

    • 15.7 FNC 76 – ASC / ASCII Code Data Input

    • 15.8 FNC 77 – PR / Print (ASCII Code)

    • 15.9 FNC 78 – FROM / Read From A Special Function Block

      • 15.9.1 Common items between FROM instruction and TO instruction (details)

    • 15.10 FNC 79 – TO / Write To A Special Function Block

  • 16. External FX Device – FNC 80 to FNC 89

    • 16.1 FNC 80 – RS / Serial Communication

    • 16.2 FNC 81 – PRUN / Parallel Run (Octal Mode)

    • 16.3 FNC 82 – ASCI / Hexadecimal to ASCII Conversion

    • 16.4 FNC 83 – HEX / ASCII to Hexadecimal Conversion

    • 16.5 FNC 84 – CCD / Check Code

    • 16.6 FNC 85 - VRRD / Volume Read

    • 16.7 FNC 86 - VRSC / Volume Scale

    • 16.8 FNC 87 – RS2 / Serial Communication 2

    • 16.9 FNC 88 – PID / PID Control Loop

  • 17. Data Transfer 2 – FNC100 to FNC109

    • 17.1 FNC102 – ZPUSH/Batch Store of Index Register

    • 17.2 FNC103 – ZPOP/Batch POP of Index Register

  • 18. Floating Point – FNC110 to FNC139

    • 18.1 FNC110 – ECMP / Floating Point Compare

    • 18.2 FNC111 – EZCP / Floating Point Zone Compare

    • 18.3 FNC112 – EMOV / Floating Point Move

    • 18.4 FNC116 – ESTR / Floating Point to Character String Conversion

    • 18.5 FNC117 – EVAL / Character String to Floating Point Conversion

    • 18.6 FNC118 – EBCD / Floating Point to Scientific Notation Conversion

    • 18.7 FNC119 – EBIN / Scientific Notation to Floating Point Conversion

    • 18.8 FNC120 – EADD / Floating Point Addition

    • 18.9 FNC121 – ESUB / Floating Point Subtraction

    • 18.10 FNC122 – EMUL / Floating Point Multiplication

    • 18.11 FNC123 – EDIV / Floating Point Division

    • 18.12 FNC124 – EXP / Floating Point Exponent

    • 18.13 FNC125 – LOGE / Floating Point Natural Logarithm

    • 18.14 FNC126 – LOG10 / Floating Point Common Logarithm

    • 18.15 FNC127 – ESQR / Floating Point Square Root

    • 18.16 FNC128 – ENEG / Floating Point Negation

    • 18.17 FNC129 – INT / Floating Point to Integer Conversion

    • 18.18 FNC130 – SIN / Floating Point Sine

    • 18.19 FNC131 – COS / Floating Point Cosine

    • 18.20 FNC132 – TAN / Floating Point Tangent

    • 18.21 FNC133 – ASIN / Floating Point Arc Sine

    • 18.22 FNC134 – ACOS / Floating Point Arc Cosine

    • 18.23 FNC135 – ATAN / Floating Point Arc Tangent

    • 18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion

    • 18.25 FNC137 – DEG / Floating Point Radians to Degrees Conversion

  • 19. Data Operation 2 – FNC140 to FNC149

    • 19.1 FNC140 – WSUM / Sum of Word Data

    • 19.2 FNC141 – WTOB / WORD to BYTE

    • 19.3 FNC142 – BTOW / BYTE to WORD

    • 19.4 FNC143 – UNI / 4-bit Linking of Word Data

    • 19.5 FNC144 – DIS / 4-bit Grouping of Word Data

    • 19.6 FNC147 – SWAP / Byte Swap

    • 19.7 FNC149 – SORT2 / Sort Tabulated Data 2

  • 20. Positioning Control – FNC150 to FNC159

    • 20.1 FNC150 – DSZR / Dog Search Zero Return

    • 20.2 FNC151 – DVIT / Interrupt Positioning

    • 20.3 FNC152 – TBL / Batch Data Positioning Mode

    • 20.4 FNC155 – ABS / Absolute Current Value Read

    • 20.5 FNC156 – ZRN / Zero Return

    • 20.6 FNC157 – PLSV / Variable Speed Pulse Output

    • 20.7 FNC158 – DRVI / Drive to Increment

    • 20.8 FNC159 – DRVA / Drive to Absolute

  • 21. Real Time Clock Control – FNC160 to FNC169

    • 21.1 FNC160 – TCMP / RTC Data Compare

    • 21.2 FNC161 – TZCP / RTC Data Zone Compare

    • 21.3 FNC162 – TADD / RTC Data Addition

    • 21.4 FNC163 – TSUB / RTC Data Subtraction

    • 21.5 FNC164 – HTOS / Hour to Second Conversion

    • 21.6 FNC165 – STOH / Second to Hour Conversion

    • 21.7 FNC166 – TRD / Read RTC data

    • 21.8 FNC167 – TWR / Set RTC data

    • 21.9 FNC169 – HOUR / Hour Meter

  • 22. External Device – FNC170 to FNC179

    • 22.1 FNC170 – GRY / Decimal to Gray Code Conversion

    • 22.2 FNC171 – GBIN / Gray Code to Decimal Conversion

    • 22.3 FNC176 – RD3A / Read form Dedicated Analog Block

    • 22.4 FNC177 – WR3A / Write to Dedicated Analog Block

  • 23. Introduction of Alternate Instructions – FNC180

    • 23.1 Instruction correspondence table

  • 24. Others – FNC181 to FNC189

    • 24.1 FNC182 – COMRD / Read Device Comment Data

    • 24.2 FNC184 – RND / Random Number Generation

    • 24.3 FNC186 – DUTY / Timing Pulse Generation

    • 24.4 FNC188 – CRC / Cyclic Redundancy Check

    • 24.5 FNC189 – HCMOV / High-Speed Counter Move

  • 25. Block Data Operation – FNC190 to FNC199

    • 25.1 FNC192 – BK+ / Block Data Addition

    • 25.2 NFC193 – BK– / Block Data Subtraction

    • 25.3 FNC194~199 – BKCMP=, >, <, < >, <=, >= / Block Data Compare

  • 26. Character String Control – FNC200 to FNC209

    • 26.1 FNC200 – STR / BIN to Character String Conversion

    • 26.2 FNC201 – VAL / Character String to BIN Conversion

    • 26.3 FNC202 – $+ / Link Character Strings

    • 26.4 FNC203 – LEN / Character String Length Detection

    • 26.5 FNC204 – RIGHT / Extracting Character String Data from the Right

    • 26.6 FNC205 – LEFT / Extracting Character String Data from the Left

    • 26.7 FNC206 – MIDR / Random Selection of Character Strings

    • 26.8 FNC207 – MIDW / Random Replacement of Character Strings

    • 26.9 FNC208 – INSTR / Character string search

    • 26.10 FNC209 – $MOV / Character String Transfer

  • 27. Data Operation 3 – FNC210 to FNC219

    • 27.1 FNC210 – FDEL / Deleting Data from Tables

    • 27.2 FNC211 – FINS / Inserting Data to Tables

    • 27.3 FNC212 – POP / Shift Last Data Read [FILO Control]

    • 27.4 FNC213 – SFR / Bit Shift Right with Carry

    • 27.5 FNC214 – SFL / Bit Shift Left with Carry

  • 28. Data Comparison – FNC220 to FNC249

    • 28.1 FNC224~230 – LD =, >, <, <>, <=, >= / Data Comparison

    • 28.2 FNC232~238 – AND=, >, <, < >, <=, >= / Data Comparison

    • 28.3 FNC240~246 – OR=, >, <, < >, <=, >= / Data Comparison

  • 29. Data Table Operation – FNC250 to FNC269

    • 29.1 FNC256 – LIMIT / Limit Control

    • 29.2 FNC257 – BAND / Dead Band Control

    • 29.3 FNC258 – ZONE / Zone Control

    • 29.4 FNC259 – SCL / Scaling (Coordinate by Point Data)

    • 29.5 FNC260 – DABIN / Decimal ASCII to BIN Conversion

    • 29.6 FNC261 – BINDA / BIN to Decimal ASCII Conversion

    • 29.7 FNC269 – SCL2 / Scaling 2 (Coordinate by X/Y Data)

  • 30. External Device Communication – FNC270 to FNC276

    • 30.1 FNC270 – IVCK / Inverter Status Check

    • 30.2 FNC271 – IVDR / Inverter Drive

    • 30.3 FNC272 – IVRD / Inverter Parameter Read

    • 30.4 FNC273 – IVWR / Inverter Parameter Write

    • 30.5 FNC274 – IVBWR / Inverter Parameter Block Write

    • 30.6 FNC275 – IVMC / Inverter Multi Command

    • 30.7 FNC276 - MODBUS Read/Write Instruction

      • 30.7.1 Command Code and Command Parameters

  • 31. Data Transfer 3 – FNC277 to FNC279

    • 31.1 FNC278 – RBFM / Divided BFM Read

      • 31.1.1 Common items between RBFM (FNC278) instruction and WBFM (FNC279) instruction

    • 31.2 FNC279 – WBFM / Divided BFM Write

  • 32. High-Speed Processing 2 – FNC280 to FNC289

    • 32.1 FNC280 – HSCT / High-Speed Counter Compare With Data Table

  • 33. Extension File Register Control – FNC290 to FNC299

    • 33.1 FNC290 – LOADR / Load From ER

    • 33.2 FNC291 – SAVER / Save to ER

    • 33.3 FNC292 – INITR / Initialize R and ER

    • 33.4 FNC293 – LOGR / Logging R and ER

    • 33.5 FNC294 – RWER / Rewrite to ER

    • 33.6 FNC295 – INITER / Initialize ER

  • 34. FX3U-CF-ADP Applied Instructions – FNC300 to FNC305

    • 34.1 FNC300 – FLCRT / File create·check

      • 34.1.1 Detailed explanation of setting data

    • 34.2 FNC301 – FLDEL / File delete·CF card format

      • 34.2.1 Detailed explanation of setting data

    • 34.3 FNC302 – FLWR / Data write

      • 34.3.1 Detailed explanation of setting data

    • 34.4 FNC303 – FLRD / Data read

      • 34.4.1 Detailed explanation of setting data

    • 34.5 FNC304 – FLCMD / FX3U-CF-ADP command

      • 34.5.1 Detailed explanation of setting data

    • 34.6 FNC305 – FLSTRD / FX3U-CF-ADP status read

      • 34.6.1 Detailed explanation of setting data

  • 35. SFC Program and Step Ladder

    • 35.1 SFC Program

      • 35.1.1 Outline

      • 35.1.2 Explanation of function and operation

      • 35.1.3 SFC program creating procedure

      • 35.1.4 Handling and role of initial state relay

      • 35.1.5 Latched (battery backed) type state relays

      • 35.1.6 Role of the RET instruction

      • 35.1.7 Preliminary knowledge for creating SFC program

      • 35.1.8 SFC flow formats

      • 35.1.9 Program of branch/recombination state relays

      • 35.1.10 Rule for creating branch circuit

      • 35.1.11 Program examples

    • 35.2 Step Ladder

      • 35.2.1 Outline

      • 35.2.2 Explanation of function and operation

      • 35.2.3 Expression of step ladder

      • 35.2.4 Creation of step ladder program (SFC program -> STL program)

      • 35.2.5 Preliminary knowledge for creating step ladder programs

      • 35.2.6 Program with state relays in branches and recombination

      • 35.2.7 Program examples

  • 36. Interrupt Function and Pulse Catch Function

    • 36.1 Outline

    • 36.2 Common Items

      • 36.2.1 How to disable interrupt function

      • 36.2.2 Related items

      • 36.2.3 Cautions on use (common)

    • 36.3 Input Interrupt (Interrupt Triggered by External Signal) [Without Delay Function]

      • 36.3.1 Input interrupt (interrupt triggered by external signal) [without delay function]

      • 36.3.2 Examples of practical programs (programs to measure short pulse width)

    • 36.4 Input interrupt (Interrupt by External Signal) [With Delay Function]

    • 36.5 Timer Interrupt (Interrupt in Constant Cycle)

      • 36.5.1 Timer interrupt (interrupt in constant cycle)

      • 36.5.2 Examples of practical program (timer interrupt programs using applied instruction)

    • 36.6 Counter Interrupt - Interrupt Triggered by Counting Up of High-Speed Counter

    • 36.7 Pulse Catch Function [M8170 to M8177]

    • 36.8 Pulse width/Pulse period measurement function [M8075 to M8079, D8074 to D8097]

  • 37. Operation of Special Devices (M8000 -, D8000 -)

    • 37.1 Special Device List (M8000 -, D8000 -)

      • 37.1.1 Special Auxiliary Relay (M8000 to M8511)

      • 37.1.2 Special Data Register (D8000 to D8511)

    • 37.2 Supplement of Special Devices (M8000 - and D8000 -)

      • 37.2.1 RUN monitor and initial pulse [M8000 to M8003]

      • 37.2.2 Watchdog timer [D8000]

      • 37.2.3 Battery voltage low detection [M8005 and M8006]

      • 37.2.4 Power failure detection time [D8008, M8008 and M8007]

      • 37.2.5 Scan time (monitor) [D8010 to D8012]

      • 37.2.6 Internal clock [M8011 to M8014]

      • 37.2.7 Real time clock [M8015 to M8019 and D8013 to D8019]

      • 37.2.8 How to set real time clock

      • 37.2.9 Input filter adjustment [D8020]

      • 37.2.10 Battery [BATT (BAT)] LED and [ALM] LED OFF command [M8030]

      • 37.2.11 Built-in analog volume [D8030 and D8031]

      • 37.2.12 Clear command [M8031 and M8032]

      • 37.2.13 Memory hold stop [M8033] (output hold in STOP mode)

      • 37.2.14 All outputs disable [M8034]

      • 37.2.15 Individual operation for RUN/STOP input [M8035 to M8037]

      • 37.2.16 Constant scan mode [M8039 and D8039]

      • 37.2.17 State control in program with STL instruction/SFC chart [M8040]

      • 37.2.18 Analog expansion boards [M8260 to M8279 and D8260 to D8279]

      • 37.2.19 Analog special adapters [M8260 to M8299 and D8260 to D8299]

  • 38. Error Check Method and Error Code List

    • 38.1 States and Colors of LEDs PLC Operation Status

      • 38.1.1 POWER (POW) LED [lit, flickering or unlit]

      • 38.1.2 RUN LED [lit or unlit]

      • 38.1.3 BATT (BAT) LED [lit or unlit] [FX3U/FX3UC]

      • 38.1.4 ALM LED [lit or unlit] [FX3G/FX3GC]

      • 38.1.5 ERROR (ERR) LED [lit, flickering or unlit]

      • 38.1.6 L RUN LED [FX3UC-32MT-LT(-2)]

      • 38.1.7 L ERR LED [FX3UC-32MT-LT(-2)]

    • 38.2 Error Code Check Method and Indication

      • 38.2.1 Error code check method by display module

      • 38.2.2 Error code check method by GX Works2

      • 38.2.3 Error indication

    • 38.3 Supplementary Explanation of Devices for Error Detection

      • 38.3.1 Error detection (M8060 to/D8060 to)

      • 38.3.2 Operations of special devices for error detection

      • 38.3.3 Error detection timing

    • 38.4 Error Code List and Action

  • Appendix A: Programming Tool Applicability and Version Upgrade History

    • Appendix A-1 Programming Tool Applicability

      • Appendix A-1-1 Programming tool applicability

      • Appendix A-1-2 Cautions on writing during RUN

      • Appendix A-1-3 Precautions on Use of (Built-in USB) Programming Port

      • Appendix A-1-4 Cautions on using transparent function by way of USB in GOT1000 Series

      • Appendix A-1-5 Cautions on using transparent (2-port) function of GOT-F900 Series

    • Appendix A-2 Peripheral product applicability (except programming tools)

      • Appendix A-2-1 Peripheral product applicability

    • Appendix A-3 Version Upgrade History

      • Appendix A-3-1 Manufacturer's serial number check method

      • Appendix A-3-2 Version check

      • Appendix A-3-3 Version upgrade history [FX3S]

      • Appendix A-3-4 Version upgrade history [FX3G]

      • Appendix A-3-5 Version upgrade history [FX3GC]

      • Appendix A-3-6 Version upgrade history [FX3U]

      • Appendix A-3-7 Version upgrade history [FX3UC]

  • Appendix B: Instruction Execution Time

    • Appendix B-1 Basic Instruction Execution Time

    • Appendix B-2 Step Ladder Instruction Execution Time

    • Appendix B-3 Label (P/I) Execution Time

    • Appendix B-4 Applied Instruction Execution Time

    • Appendix B-5 Execution Time of Pulse Generation Instruction P in Each Applied Instruction

    • Appendix B-6 Execution Time on Combination of Applicable Devices and Indexing

      • Appendix B-6-1 Basic instruction (LD/LDI/AND/ANI/OR/ORI) execution time

      • Appendix B-6-2 Applied instruction execution time

  • Appendix C: Applied Instruction List [by Instruction Type/in Alphabetic Order]

    • Appendix C-1 Applied instructions [by instruction type]

    • Appendix C-2 Applied instructions [in alphabetical order]

  • Appendix D: Discontinued models

  • Warranty

  • Revised History

  • Back Cover

Nội dung

1. Introduction 23 1.1 Programming Language in PLCs ........................................................................................................... 23 1.1.1 Types of programming languages........................................................................................................... 23 1.1.2 Applicability of programming languages in programming software......................................................... 24 1.1.3 Compatibility among programs ............................................................................................................... 24 2. Overview (Sequence Program) 25 2.1 Introduction of Convenient Functions..................................................................................................... 25 2.1.1 Convenient functions for input processing .............................................................................................. 25 2.1.2 Convenient functions for output processing............................................................................................ 26 2.1.3 Functions for supporting sequence control ............................................................................................. 26 2.2 Introduction of Applied Instructions ........................................................................................................ 27 2.2.1 Major applied instructions ....................................................................................................................... 28 2.3 AnalogPositioning Special Control........................................................................................................ 29 2.4 Link and Communication........................................................................................................................ 30 2.5 Introduction of Devices Constructing PLC ............................................................................................. 31 2.5.1 Relationship among devices ................................................................................................................... 31 2.5.2 Device list................................................................................................................................................ 32 2.6 Program Memory and Devices............................................................................................................... 34 2.6.1 Memory structure .................................................................................................................................... 34 2.6.2 Memory operations and latched (battery or EEPROM backed) devices (power ONOFF and RUNSTOP) ........................................................................................................... 37 2.6.3 Types of backup methods against power failure..................................................................................... 43 2.6.4 Change between general devices and latched (battery backed) devices............................................... 44 2.6.5 How to initialize devices (battery backed)............................................................................................... 44 2.7 Types and Setting of Parameters........................................................................................................... 45 2.7.1 Parameter list.......................................................................................................................................... 45 2.7.2 Parameter initial values and available tools for changing parameter values .......................................... 46 2.7.3 Memory capacity setting range ............................................................................................................... 49 2.7.4 Compatible optional memory model........................................................................................................ 50 2.7.5 Keyword (entry code).............................................................................................................................. 51 2.7.6 Special unit initial value setting ............................................................................................................... 59 2.7.7 Positioning instruction setting.................................................................................................................. 59 2.7.8 Builtin CCLinkLT Setup (dedicated to FX3UC32MTLT2).................................................................. 59 2.7.9 Parameter settings.................................................................................................................................. 59 3. Instruction List 71 3.1 Basic Instructions ................................................................................................................................... 71 3.2 Step Ladder Instructions ........................................................................................................................ 73 3.3 Applied Instructions ... in Ascending Order of FNC Number.................................................................. 73 4. Devices in Detail 84 4.1 Device Number List................................................................................................................................ 84 4.2 IO Relays X, Y..................................................................................................................................... 90 4.2.1 Numbers of IO relays ............................................................................................................................. 90 4.2.2 Functions and roles................................................................................................................................. 91 4.2.3 Operation timing of IO relays ................................................................................................................. 92 4.3 Auxiliary Relay M ................................................................................................................................. 93 4.3.1 Numbers of auxiliary relays..................................................................................................................... 93 4.3.2 Functions and operation examples ......................................................................................................... 93

FX3S/FX3G/FX3GC/FX3U/FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic & Applied Instruction Edition FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programmable Controllers Programming Manual - Basic & Applied Instruction Edition Manual No JY997D16601 Revision Q Date 7/2016 Foreword This manual contains text, diagrams and explanations which will guide the reader through the safe and correct installation, use, and operation of the FX3S/FX3G/FX3GC/FX3U/FX3UC Series programmable controller It should be read and understood before attempting to install or use the unit Store this manual in a safe place so that you can take it out and read it whenever necessary Always forward it to the end user This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual © 2005 MITSUBISHI ELECTRIC CORPORATION FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition Outline Precautions • This manual provides information for the use of the FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programmable Controllers The manual has been written to be used by trained and competent personnel The definition of such a person or persons is as follows; 1) Any engineer who is responsible for the planning, design and construction of automatic equipment using the product associated with this manual should be of a competent nature, trained and qualified to the local and national standards required to fulfill that role These engineers should be fully aware of all aspects of safety with regards to automated equipment 2) Any commissioning or service engineer must be of a competent nature, trained and qualified to the local and national standards required to fulfill that job These engineers should also be trained in the use and maintenance of the completed product This includes being completely familiar with all associated documentation for the said product All maintenance should be carried out in accordance with established safety practices 3) All operators of the completed equipment should be trained to use that product in a safe and coordinated manner in compliance to established safety practices The operators should also be familiar with documentation which is connected with the actual operation of the completed equipment Note: The term 'completed equipment' refers to a third party constructed device which contains or uses the product associated with this manual • This product has been manufactured as a general-purpose part for general industries, and has not been designed or manufactured to be incorporated in a device or system used in purposes related to human life • Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine or passenger movement vehicles, consult with Mitsubishi Electric • This product has been manufactured under strict quality control However when installing the product where major accidents or losses could occur if the product fails, install appropriate backup or failsafe functions in the system • When combining this product with other products, please confirm the standard and the code, or regulations with which the user should follow Moreover, please confirm the compatibility of this product to the system, machine, and apparatus with which a user is using • If in doubt at any stage during the installation of the product, always consult a professional electrical engineer who is qualified and trained to the local and national standards If in doubt about the operation or use, please consult your local Mitsubishi Electric representative • Since the examples indicated by this manual, technical bulletin, catalog, etc are used as a reference, please use it after confirming the function and safety of the equipment and system Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples • This manual content, specification etc may be changed without a notice for improvement • The information in this manual has been carefully checked and is believed to be accurate; however, you have noticed a doubtful point, a doubtful error, etc., please contact your local Mitsubishi Electric representative Registration ã Microsoftđ, Windowsđ and Excelđ are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries • CompactFlash is a trademark of SanDisk Corporation in the United States and other countries • Ethernet is a trademark of Xerox Corporation • Anywire and ANYWIREASLINK is a trademark of Anywire Corporation ã MODBUSđ is a registered trademark of Schneider Electric SA • The company name and the product name to be described in this manual are the registered trademarks or trademarks of each company FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition Table of Contents Table of Contents Related manuals 14 Generic Names and Abbreviations Used in Manuals 21 Introduction 23 1.1 Programming Language in PLCs 23 1.1.1 Types of programming languages 23 1.1.2 Applicability of programming languages in programming software 24 1.1.3 Compatibility among programs 24 Overview (Sequence Program) 25 2.1 Introduction of Convenient Functions 25 2.1.1 Convenient functions for input processing 25 2.1.2 Convenient functions for output processing 26 2.1.3 Functions for supporting sequence control 26 2.2 Introduction of Applied Instructions 27 2.2.1 Major applied instructions 28 2.3 Analog/Positioning Special Control 29 2.4 Link and Communication 30 2.5 Introduction of Devices Constructing PLC 31 2.5.1 Relationship among devices 31 2.5.2 Device list 32 2.6 Program Memory and Devices 34 2.6.1 Memory structure 34 2.6.2 Memory operations and latched (battery or EEPROM backed) devices (power ON/OFF and RUN/STOP) 37 2.6.3 Types of backup methods against power failure 43 2.6.4 Change between general devices and latched (battery backed) devices 44 2.6.5 How to initialize devices (battery backed) 44 2.7 Types and Setting of Parameters 45 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 Parameter list 45 Parameter initial values and available tools for changing parameter values 46 Memory capacity setting range 49 Compatible optional memory model 50 Keyword (entry code) 51 Special unit initial value setting 59 Positioning instruction setting 59 Built-in CC-Link/LT Setup (dedicated to FX3UC-32MT-LT-2) 59 Parameter settings 59 Instruction List 71 3.1 Basic Instructions 71 3.2 Step Ladder Instructions 73 3.3 Applied Instructions in Ascending Order of FNC Number 73 Devices in Detail 84 4.1 Device Number List 84 4.2 I/O Relays [X, Y] 90 4.2.1 Numbers of I/O relays 90 4.2.2 Functions and roles 91 4.2.3 Operation timing of I/O relays 92 4.3 Auxiliary Relay [M] 93 4.3.1 Numbers of auxiliary relays 93 4.3.2 Functions and operation examples 93 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition Table of Contents 4.4 State Relay [S] 95 4.4.1 Numbers of state relays 95 4.4.2 Functions and operation examples 96 4.5 Timer [T] 98 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 4.5.6 4.5.7 Numbers of timers 98 Functions and operation examples 98 Set value specification method 100 Cautions on routines 100 Details on timer operation and timer accuracy 100 Program examples [off-delay timer and flicker timer] 101 Handling timers as numeric devices 102 4.6 Counter [C] 103 4.6.1 4.6.2 4.6.3 4.6.4 4.6.5 4.6.6 4.6.7 Numbers of counters 103 Features of counters 103 Related devices (to specify counting direction) [32-bit counter] 104 Functions and operation examples 104 Set value specification method 105 Response speed of counters 106 Handling counters as numeric devices 106 4.7 High-Speed Counter [C] (FX3S/FX3G/FX3GC PLCs) 108 4.7.1 Types and device numbers of high-speed counters 108 4.7.2 Input assignment for high-speed counters 110 4.7.3 Handling of high-speed counters 111 4.7.4 Current value update timing and comparison of current value 111 4.7.5 Related devices 111 4.7.6 Assignment of counter input terminal and switching of function 112 4.7.7 Response frequency of high-speed counters 113 4.7.8 Cautions on use 115 4.8 High-Speed Counter [C] (FX3U/FX3UC PLC) 117 4.8.1 Types and device numbers of high-speed counters 117 4.8.2 Input assignment for high-speed counters 119 4.8.3 Handling of high-speed counters 120 4.8.4 Current value update timing and comparison of current value 122 4.8.5 Related devices 123 4.8.6 Changing the logic of external reset input signal 124 4.8.7 Assignment of counter input terminal and switching of function 124 4.8.8 How to use 2-phase 2-count input counters C251 to C255 with edge counting 125 4.8.9 Conditions for hardware counters to be handled as software counters 126 4.8.10 Response frequency of high-speed counters 127 4.8.11 Cautions on use 129 4.9 Data Register and File Register [D] 131 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 Numbers of data registers and file registers 131 Structures of data registers and file registers 132 Functions and operation examples of data registers 133 Functions and operation examples of file registers 135 Cautions on using file registers 138 4.10 Extension Register [R] and Extension File Register [ER] 139 4.10.1 4.10.2 4.10.3 4.10.4 4.10.5 4.10.6 4.10.7 4.10.8 Numbers of extension registers and extension file registers 139 Data storage destination and access method 139 Structures of extension registers and extension file registers 140 Initialization of extension registers and extension file registers 140 Functions and operation examples of extension registers 141 Functions and operation examples of extension file registers 142 Cautions on using extension file registers 144 Registration of data in extension registers and extension file registers 145 4.11 Index Register [V and Z] 149 4.11.1 Numbers of index registers 149 4.11.2 Functions and structures 149 4.11.3 Indexing of devices 149 4.12 Pointer [P and I] 150 4.12.1 Numbers of pointers 150 4.12.2 Functions and operation examples of pointers for branch 150 4.12.3 Functions and operation examples of pointers for interrupt 151 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition How to Specify Devices and Constants to Instructions Table of Contents 154 5.1 Numeric Values Handled in PLC (Octal, Decimal, Hexadecimal and Real Numbers) 154 5.1.1 Types of numeric values 154 5.1.2 Conversion of numeric values 155 5.1.3 Handling of numeric values in floating point operations 156 5.2 Specification of Constants K, H and E (Decimal, Hexadecimal and Real Number) 158 5.2.1 Constant K (decimal number) 158 5.2.2 Constant H (hexadecimal number) 158 5.2.3 Constant E (real number) 158 5.3 Character Strings 159 5.3.1 Character string constant ("ABC") 159 5.3.2 Character string data 159 5.4 5.5 5.6 5.7 Specification of Digits for Bit Devices (Kn[ ]***) 160 Bit Specification of a Word Device (D[ ].b) 161 Direct Specification of Buffer Memory (U[ ]\G[ ]) 161 Indexing 162 5.7.1 Indexing in basic instructions 162 5.7.2 Indexing in applied instructions 163 5.7.3 Indexing example for instruction with limited number of use 165 What to Understand before Programming 166 6.1 How to Read Explanation of Instructions 166 6.2 Cautions on Creation of Fundamental Programs 169 6.2.1 Programming procedure and execution order 169 6.2.2 Double output (double coil) operation and countermeasures 170 6.2.3 Circuits which cannot be programmed and countermeasures 171 6.3 I/O Processing and Response Delay 171 6.4 Mutual Relationship Among Program Flow Control Instructions 172 6.5 General Rules for Applied Instructions 174 6.5.1 6.5.2 6.5.3 6.5.4 6.5.5 Expression and operation type of applied instructions 174 Handling of general flags 176 Handling of operation error flag 178 Handling functions of extension flag 178 Limitation in the number of instructions and limitation in simultaneous instruction instances 179 6.6 Symbolic information storage and block password 180 6.6.1 Storage of symbolic information 180 6.6.2 Block password 180 Basic Instruction 181 7.1 LD, LDI 183 7.2 OUT 185 7.3 AND, ANI 188 7.4 OR, ORI 191 7.5 LDP, LDF, ANDP, ANDF, ORP, ORF 194 7.6 ORB 200 7.7 ANB 201 7.8 MPS, MRD, MPP 202 7.9 MC, MCR 205 7.10 INV 208 7.11 MEP, MEF 209 7.12 PLS, PLF 211 7.13 SET, RST 214 7.14 NOP 217 7.15 END 218 7.16 Number of Instruction Steps and Specified Devices 219 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition Program Flow – FNC 00 to FNC 09 Table of Contents 220 8.1 FNC 00 – CJ / Conditional Jump 221 8.1.1 CJ instruction and operations of contact and coil 225 8.1.2 Relationship between master control instruction and jump instruction 227 8.2 FNC 01 – CALL / Call Subroutine 228 8.2.1 Cautions on subroutines and interrupt routines 230 8.3 FNC 02 – SRET / Subroutine Return 232 8.4 FNC 03 – IRET / Interrupt Return 233 8.5 FNC 04 – EI / Enable Interrupt 235 8.6 FNC 05 – DI / Disable Interrupt 236 8.7 FNC 06 – FEND / Main Routine Program End 237 8.8 FNC 07 – WDT / Watchdog Timer Refresh 239 8.9 FNC 08 – FOR / Start a FOR/NEXT Loop 241 8.10 FNC 09 – NEXT / End a FOR/NEXT Loop 242 Move and Compare – FNC 10 to FNC 19 9.1 9.2 9.3 9.4 9.5 9.6 244 FNC 10 – CMP / Compare 245 FNC 11 – ZCP / Zone Compare 247 FNC 12 – MOV / Move 249 FNC 13 – SMOV / Shift Move 252 FNC 14 – CML / Complement 254 FNC 15 – BMOV / Block Move 256 9.6.1 Function of transfer between file registers and data registers 258 9.7 FNC 16 – FMOV / Fill Move 260 9.8 FNC 17 – XCH / Exchange 262 9.9 FNC 18 – BCD / Conversion to Binary Coded Decimal 264 9.10 FNC 19 – BIN / Conversion to Binary 267 10 Arithmetic and Logical Operation (+, , ì, ữ) FNC 20 to FNC 29 270 10.1 FNC 20 – ADD / Addition 271 10.2 FNC 21 – SUB / Subtraction 273 10.3 FNC 22 – MUL / Multiplication 275 10.4 FNC 23 – DIV / Division 278 10.5 FNC 24 – INC / Increment 281 10.6 FNC 25 – DEC / Decrement 283 10.7 FNC 26 – WAND / Logical Word AND 284 10.8 FNC 27 – WOR / Logical Word OR 286 10.9 FNC 28 – WXOR / Logical Exclusive OR 288 10.10 FNC 29 – NEG / Negation 290 11 Rotation and Shift Operation – FNC 30 to FNC 39 11.1 11.2 11.3 11.4 11.5 11.6 292 FNC 30 – ROR / Rotation Right 293 FNC 31 – ROL / Rotation Left 295 FNC 32 – RCR / Rotation Right with Carry 297 FNC 33 – RCL / Rotation Left with Carry 299 FNC 34 – SFTR / Bit Shift Right 301 FNC 35 – SFTL / Bit Shift Left 303 11.6.1 Replacement of SFT instruction in F1 and F2 Series 305 11.7 FNC 36 – WSFR / Word Shift Right 306 11.8 FNC 37 – WSFL / Word Shift Left 308 11.9 FNC 38 – SFWR / Shift Write [FIFO/FILO Control] 310 11.10 FNC 39 – SFRD / Shift Read [FIFO Control] 313 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition 12 Data Operation – FNC 40 to FNC 49 Table of Contents 315 12.1 FNC 40 – ZRST / Zone Reset 316 12.2 FNC 41 – DECO / Decode 320 12.3 FNC 42 – ENCO / Encode 323 12.4 FNC 43 – SUM / Sum of Active Bits 325 12.5 FNC 44 – BON / Check Specified Bit Status 328 12.6 FNC 45 – MEAN / Mean 330 12.7 FNC 46 – ANS / Timed Annunciator Set 332 12.8 FNC 47 – ANR / Annunciator Reset 334 12.9 FNC 48 – SQR / Square Root 335 12.10 FNC 49 – FLT / Conversion to Floating Point 336 13 High-Speed Processing – FNC 50 to FNC 59 338 13.1 FNC 50 – REF / Refresh 339 13.1.1 What should be understood before using the REF instruction 342 13.2 FNC 51 – REFF / Refresh and Filter Adjust 343 13.2.1 What should be understood before using REFF instruction 345 13.3 FNC 52 – MTR / Input Matrix 346 13.3.1 Operation and cautions for the MTR instruction 349 13.4 FNC 53 – HSCS / High-Speed Counter Set 350 13.4.1 Common cautions on using instructions for high-speed counter 353 13.5 FNC 54 – HSCR / High-Speed Counter Reset 356 13.6 FNC 55 – HSZ / High-Speed Counter Zone Compare 359 13.6.1 Program in which comparison result is set to ON when power is turned ON [ZCP (FNC 11) instruction] 363 13.6.2 Table high-speed comparison mode (M8130) 365 13.6.3 Frequency control mode (HSZ and PLSY instructions) (M8132) 368 13.7 FNC 56 – SPD / Speed Detection 371 13.8 FNC 57 – PLSY / Pulse Y Output 375 13.9 FNC 58 – PWM / Pulse Width Modulation 380 13.10 FNC 59 – PLSR / Acceleration/Deceleration Setup 383 14 Handy Instruction – FNC 60 to FNC 69 388 14.1 FNC 60 – IST / Initial State 389 14.1.1 IST instruction equivalent circuit 391 14.1.2 Example of IST instruction introduction (example of workpiece transfer mechanism) 392 14.2 FNC 61 – SER / Search a Data Stack 399 14.3 FNC 62 – ABSD / Absolute Drum Sequencer 402 14.4 FNC 63 – INCD / Incremental Drum Sequencer 405 14.5 FNC 64 – TTMR / Teaching Timer 407 14.6 FNC 65 – STMR / Special Timer 409 14.7 FNC 66 – ALT / Alternate State 411 14.8 FNC 67 – RAMP / Ramp Variable Value 413 14.9 FNC 68 – ROTC / Rotary Table Control 415 14.10 FNC 69 – SORT / SORT Tabulated Data 418 15 External FX I/O Device – FNC 70 to FNC 79 15.1 15.2 15.3 15.4 15.5 421 FNC 70 – TKY / Ten Key Input 422 FNC 71 – HKY / Hexadecimal Input 425 FNC 72 – DSW / Digital Switch (Thumbwheel Input) 429 FNC 73 – SEGD / Seven Segment Decoder 432 FNC 74 – SEGL / Seven Segment With Latch 434 15.5.1 How to select a seven-segment display unit 437 15.5.2 How to select parameter "n" based on seven-segment display specifications 437 15.6 FNC 75 – ARWS / Arrow Switch 439 15.7 FNC 76 – ASC / ASCII Code Data Input 443 15.8 FNC 77 – PR / Print (ASCII Code) 445 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Programming Manual - Basic & Applied Instruction Edition Table of Contents 15.9 FNC 78 – FROM / Read From A Special Function Block 448 15.9.1 Common items between FROM instruction and TO instruction (details) 451 15.10 FNC 79 – TO / Write To A Special Function Block 453 16 External FX Device – FNC 80 to FNC 89 16.1 16.2 16.3 16.4 16.5 16.6 16.7 16.8 16.9 455 FNC 80 – RS / Serial Communication 456 FNC 81 – PRUN / Parallel Run (Octal Mode) 458 FNC 82 – ASCI / Hexadecimal to ASCII Conversion 460 FNC 83 – HEX / ASCII to Hexadecimal Conversion 463 FNC 84 – CCD / Check Code 466 FNC 85 - VRRD / Volume Read 469 FNC 86 - VRSC / Volume Scale 471 FNC 87 – RS2 / Serial Communication 473 FNC 88 – PID / PID Control Loop 476 17 Data Transfer – FNC100 to FNC109 480 17.1 FNC102 – ZPUSH/Batch Store of Index Register 481 17.2 FNC103 – ZPOP/Batch POP of Index Register 484 18 Floating Point – FNC110 to FNC139 485 18.1 FNC110 – ECMP / Floating Point Compare 487 18.2 FNC111 – EZCP / Floating Point Zone Compare 488 18.3 FNC112 – EMOV / Floating Point Move 490 18.4 FNC116 – ESTR / Floating Point to Character String Conversion 491 18.5 FNC117 – EVAL / Character String to Floating Point Conversion 497 18.6 FNC118 – EBCD / Floating Point to Scientific Notation Conversion 502 18.7 FNC119 – EBIN / Scientific Notation to Floating Point Conversion 503 18.8 FNC120 – EADD / Floating Point Addition 505 18.9 FNC121 – ESUB / Floating Point Subtraction 506 18.10 FNC122 – EMUL / Floating Point Multiplication 507 18.11 FNC123 – EDIV / Floating Point Division 508 18.12 FNC124 – EXP / Floating Point Exponent 509 18.13 FNC125 – LOGE / Floating Point Natural Logarithm 511 18.14 FNC126 – LOG10 / Floating Point Common Logarithm 513 18.15 FNC127 – ESQR / Floating Point Square Root 515 18.16 FNC128 – ENEG / Floating Point Negation 516 18.17 FNC129 – INT / Floating Point to Integer Conversion 517 18.18 FNC130 – SIN / Floating Point Sine 519 18.19 FNC131 – COS / Floating Point Cosine 520 18.20 FNC132 – TAN / Floating Point Tangent 521 18.21 FNC133 – ASIN / Floating Point Arc Sine 522 18.22 FNC134 – ACOS / Floating Point Arc Cosine 524 18.23 FNC135 – ATAN / Floating Point Arc Tangent 526 18.24 FNC136 – RAD / Floating Point Degrees to Radians Conversion 528 18.25 FNC137 – DEG / Floating Point Radians to Degrees Conversion 530 19 Data Operation – FNC140 to FNC149 19.1 19.2 19.3 19.4 19.5 19.6 19.7 531 FNC140 – WSUM / Sum of Word Data 532 FNC141 – WTOB / WORD to BYTE 534 FNC142 – BTOW / BYTE to WORD 536 FNC143 – UNI / 4-bit Linking of Word Data 538 FNC144 – DIS / 4-bit Grouping of Word Data 540 FNC147 – SWAP / Byte Swap 542 FNC149 – SORT2 / Sort Tabulated Data 543 FX3S/FX3G/FX3GC/FX3U/FX3UC Series C Applied Instruction List [by Instruction Type/in Alphabetic Order] Programming Manual - Basic & Applied Instruction Edition C-1 Applied instructions [by instruction type] Appendix C: Applied Instruction List [by Instruction Type/in Alphabetic Order] Appendix C-1 Applied instructions [by instruction type] Applied instructions are classified into the following nineteen types: Data transfer instructions 11 Program flow control instructions Data conversion instructions 12 I/O refresh instructions Comparison instructions 13 Real time clock control instructions Arithmetic operation instructions 14 Pulse output/positioning control instructions Logical operation instructions 15 Serial communication instructions Special function instructions 16 Special unit/block control instructions Rotation instructions 17 Extension register/extension instructions Shift instructions 18 FX3U-CF-ADP instructions Data operation instructions 19 Other handy instructions 10 Character string operation instructions Data move instructions Mnemonic FNC No Function FNC 12 Move 249 SMOV FNC 13 Shift Move 252 CML FNC 14 Complement 254 BMOV FNC 15 Block Move 256 FMOV FNC 16 Fill Move 260 PRUN FNC 81 Parallel Run (Octal Mode) 458 XCH FNC 17 Exchange 262 SWAP FNC147 Byte Swap 542 EMOV FNC112 Floating Point Move 490 HCMOV FNC189 High-Speed Counter Move 596 Data conversion instructions Function Ref Page Mnemonic FNC No LD= FNC224 LD> FNC225 LD< FNC226 LD FNC228 LD= FNC230 AND= FNC232 AND> FNC233 AND< FNC234 AND FNC236 AND= FNC238 EBIN FNC119 Scientific Notation to Floating Point Conversion 503 OR= FNC240 RAD FNC136 Floating Point Degrees to Radians Conversion 528 OR> FNC241 FNC137 Floating Point Radians to Degrees Conversion 530 OR< FNC242 GRY GBIN DEG 950 FNC No register control Comparison instructions Ref Page MOV Mnemonic file 264 Function Load Compare S1 = S2 Load Compare S1 > S2 Load Compare S1 < S2 Load Compare S1 ≠ S2 Load Compare S1 ≤ S2 Load Compare S1 ≥ S2 AND Compare S1 = S2 AND Compare S1 > S2 AND Compare S1 < S2 AND Compare S1 ≠ S2 AND Compare S1 ≤ S2 AND Compare S1 ≥ S2 OR Compare S1 = S2 OR Compare S1 > S2 OR Compare S1 < S2 Ref Page 654 654 654 654 654 654 656 656 656 656 656 656 658 658 658 FX3S/FX3G/FX3GC/FX3U/FX3UC Series C Applied Instruction List [by Instruction Type/in Alphabetic Order] Programming Manual - Basic & Applied Instruction Edition C-1 Applied instructions [by instruction type] C Mnemonic FNC No OR FNC244 FNC245 OR Compare S1 ≠ S2 OR Compare S1 ≤ S2 OR Compare Ref Page 658 658 Special function instructions FNC No SQR FNC 48 Square Root ESQR FNC127 Floating Point Square Root 515 EXP FNC124 Floating Point Exponent 509 LOGE FNC125 Floating Point Natural Logarithm 511 LOG10 FNC126 Floating Point Common Logarithm 513 Floating Point Sine 519 335 OR>= FNC246 CMP FNC 10 Compare 245 ZCP FNC 11 Zone Compare 247 SIN FNC130 ECMP FNC110 Floating Point Compare 487 COS FNC131 Floating Point Cosine 520 EZCP FNC111 Floating Point Zone Compare 488 TAN FNC132 Floating Point Tangent 521 ASIN FNC133 Floating Point Arc Sine 522 HSCS FNC 53 High-Speed Counter Set 350 ACOS FNC134 Floating Point Arc Cosine 524 HSCR FNC 54 High-Speed Counter Reset 356 ATAN FNC135 Floating Point Arc Tangent 526 HSZ FNC 55 High-Speed Counter Zone Compare 359 FNC184 Random Number Generation 589 HSCT FNC280 High-Speed Counter Compare With Data Table 709 BKCMP= FNC194 BKCMP> FNC195 BKCMP< FNC196 BKCMP FNC197 BKCMP= FNC199 S1 ≥ S2 Block Data Compare S1 S2 = Block Data Compare S1 S2 > Block Data Compare S1 S2 < Block Data Compare S1 ≠ S2 Block Data Compare S1 ≤ S2 Block Data Compare S1 ≥ S2 658 Function Ref Page Mnemonic FNC No Function Rotation instructions Mnemonic FNC No ROR FNC 30 Rotation Right 293 607 ROL FNC 31 Rotation Left 295 RCR FNC 32 Rotation Right with Carry 297 RCL FNC 33 Rotation Left with Carry 299 607 607 Function Ref Page 607 Shift instructions Mnemonic FNC No SFTR FNC 34 Function 607 607 Arithmetic operation instructions Mnemonic RND Ref Page ADD FNC 20 Addition 271 SUB FNC 21 Subtraction 273 MUL FNC 22 Multiplication 275 Ref Page Bit Shift Right 301 SFTL FNC 35 Bit Shift Left 303 SFR FNC213 Bit Shift Right with Carry 648 SFL FNC214 Bit Shift Left with Carry 650 WSFR FNC 36 Word Shift Right 306 WSFL FNC 37 Word Shift Left 308 SFWR FNC 38 Shift Write [FIFO/FILO Control] 310 SFRD FNC 39 Shift Read [FIFO Control] 313 FNC212 Shift Last Data Read [FILO Control] 645 DIV FNC 23 Division 278 EADD FNC120 Floating Point Addition 505 ESUB FNC121 Floating Point Subtraction 506 EMUL FNC122 Floating Point Multiplication 507 Mnemonic EDIV FNC123 Floating Point Division 508 ZRST FNC 40 Zone Reset 316 FNC 41 Decode 320 POP Data operation instructions FNC No Function Ref Page BK+ FNC192 Block Data Addition 601 DECO BK- FNC193 Block Data Subtraction 604 ENCO FNC 42 Encode 323 FNC 45 Mean 330 532 INC FNC 24 Increment 281 MEAN DEC FNC 25 Decrement 283 WSUM FNC140 Sum of Word Data SUM FNC 43 Sum of Active Bits 325 BON FNC 44 Check Specified Bit Status 328 NEG FNC 29 Negation 290 ENEG FNC128 Floating Point Negation 516 Logical operation instructions Function Ref Page Mnemonic FNC No WAND FNC 26 Logical Word AND 284 WTOB FNC141 WORD to BYTE 534 WOR FNC 27 Logical Word OR 286 BTOW FNC142 BYTE to WORD 536 WXOR FNC 28 Logical Exclusive OR 288 UNI FNC143 4-bit Linking of Word Data 538 FNC144 4-bit Grouping of Word Data 540 DIS 951 D Discontinued models OR FNC233 AND= FNC238 AND Compare S1 < S2 AND Compare S1 ≠ S2 AND Compare S1 = S2 AND Compare S1 > S2 AND Compare S1 ≤ S2 AND Compare S1 ≥ S2 656 COMRD D 656 656 656 DABIN DEC FNC 25 Decrement 283 DECO FNC 41 Decode 320 DEG FNC137 Floating Point Radians to Degrees Conversion 530 DI FNC 05 Disable Interrupt 236 DIS FNC144 4-bit Grouping of Word Data 540 DIV FNC 23 Division 278 DRVA FNC159 Drive to Absolute 560 DRVI FNC158 Drive to Increment 558 Digital Switch (Thumbwheel Input) 429 548 656 656 ANR FNC 47 Annunciator Reset 334 ANS FNC 46 Timed Annunciator Set 332 ARWS FNC 75 Arrow Switch 439 DSW FNC 72 ASC FNC 76 ASCII Code Data Input 443 DSZR FNC150 DOG Search Zero Return FNC 82 Hexadecimal to ASCII Conversion 460 DUTY FNC186 Timing Pulse Generation 590 DVIT FNC151 Interrupt Positioning 550 EADD FNC120 Floating Point Addition 505 ASCI ASIN FNC133 Floating Point Arc Sine 522 ATAN FNC135 Floating Point Arc Tangent 526 BAND FNC257 Dead Band Control 664 EBCD FNC118 Floating Point to Scientific Notation Conversion 502 BCD FNC 18 Conversion to Binary Coded Decimal 264 EBIN FNC119 Scientific Notation to Floating Point Conversion 503 BIN FNC 19 Conversion to Binary 267 ECMP FNC110 Floating Point Compare 487 BINDA FNC261 BIN to Decimal ASCII Conversion 677 EDIV FNC123 Floating Point Division 508 BK- FNC193 Block Data Subtraction 604 EI FNC 04 Enable Interrupt 235 BK+ FNC192 Block Data Addition 601 EMOV FNC112 Floating Point Move 490 EMUL FNC122 FNC196 Floating Point Multiplication 507 BKCMP< ENCO FNC 42 Encode 323 ENEG FNC128 Floating Point Negation 516 ESQR FNC127 Floating Point Square Root 515 ESTR FNC116 Floating Point to Character String Conversion 491 ESUB FNC121 Floating Point Subtraction 506 EVAL FNC117 Character String to Floating Point Conversion 497 EXP FNC124 Floating Point Exponent 509 FNC111 Floating Point Zone Compare 488 B BKCMP BKCMP>= 954 Mnemonic FNC195 FNC199 Block Data Compare S1 < S2 Block Data Compare S1 ≤ S2 Block Data Compare S1 ≠ S2 Block Data Compare S1 = S2 Block Data Compare S1 > S2 Block Data Compare S1 ≥ S2 E 607 607 607 607 607 EZCP 607 FX3S/FX3G/FX3GC/FX3U/FX3UC Series C Applied Instruction List [by Instruction Type/in Alphabetic Order] Programming Manual - Basic & Applied Instruction Edition C-2 Applied instructions [in alphabetical order] C FNC No Function Ref Page F Deleting Data from Tables 641 FEND FNC 06 Main Routine Program End 237 FINS FNC211 Inserting Data to Tables 643 FLCMD FNC304 FX3U-CF-ADP command 751 FLCRT FNC300 File create / check 742 FLDEL FNC301 File delete / CF card format 744 FLRD FNC303 Data read 749 FLSTRD FNC305 FX3U-CF-ADP status read 753 FLT FNC 49 Conversion to Floating Point 336 FLWR FNC302 Data write 746 FMOV FNC 16 Fill Move 260 FOR FNC 08 Start a FOR/NEXT Loop 241 FROM FNC 78 Read From a Special Function Block 448 G HEX Gray Code to Decimal Conversion 582 FNC170 Decimal to Gray Code Conversion 581 FNC189 High-Speed Counter Move FNC 83 FNC171 LD FNC228 LD= FNC224 LD> FNC225 LD= FNC230 LEFT FNC205 Extracting Character String Data from the Left 628 LEN FNC203 Character String Length Detection 624 S1 < S2 Load Compare S1 ≠ S2 Load Compare S1 = S2 Load Compare S1 > S2 Load Compare S1 ≤ S2 Load Compare S1 ≥ S2 654 654 654 654 654 654 FNC256 Limit Control 661 LOADR FNC290 Load From ER 715 LOG10 FNC126 Floating Point Common Logarithm 513 596 LOGE FNC125 Floating Point Natural Logarithm 511 ASCII to Hexadecimal Conversion 463 LOGR FNC293 Logging R and ER 729 FNC 45 Mean 330 MIDR FNC206 Random Selection of Character Strings 630 MIDW FNC207 Random Replacement of Character Strings 633 MOV FNC 12 Move 249 MTR FNC 52 Input Matrix 346 MUL FNC 22 Multiplication 275 NEG FNC 29 Negation 290 NEXT FNC 09 End a FOR/NEXT Loop 242 FNC 71 Hexadecimal Input 425 HOUR FNC169 Hour Meter 578 HSCR FNC 54 High-Speed Counter Reset 356 HSCS FNC 53 High-Speed Counter Set 350 HSCT FNC280 High-Speed Counter Compare With Data Table 709 HSZ FNC 55 High-Speed Counter Zone Compare 359 FNC164 Hour to Second Conversion 571 INC FNC 24 Increment 281 INCD FNC 63 Incremental Drum Sequencer 405 INITER FNC295 Initialize ER 738 INITR FNC292 Initialize R and ER 726 INSTR FNC208 Character string search 636 INT FNC129 Floating Point to Integer Conversion 517 IRET FNC 03 Interrupt Return 233 IST FNC 60 Initial State 389 FNC274 Inverter Parameter Block Write 693 I IVBWR Load Compare FNC226 LIMIT HKY HTOS Ref Page LD< H HCMOV Function IVCK FNC270 Inverter Status Check 685 IVDR FNC271 Inverter Drive 687 IVMC FNC275 Inverter Multi Command 695 IVRD FNC272 Inverter Parameter Read 689 IVWR FNC273 Inverter Parameter Write 691 M MEAN N O OR< FNC242 OR FNC244 OR= FNC240 OR> FNC241 OR= FNC246 OR Compare S1 < S2 OR Compare S1 ≠ S2 OR Compare S1 = S2 OR Compare S1 > S2 OR Compare S1 ≤ S2 OR Compare S1 ≥ S2 658 658 658 658 658 658 955 D Discontinued models FNC210 GRY FNC No L FDEL GBIN Mnemonic Applicable Instruction List Mnemonic FX3S/FX3G/FX3GC/FX3U/FX3UC Series C Applied Instruction List [by Instruction Type/in Alphabetic Order] Programming Manual - Basic & Applied Instruction Edition Mnemonic FNC No Function C-2 Applied instructions [in alphabetical order] Ref Page P FNC No STMR FNC 65 Special Timer 409 STOH FNC165 Second to Hour Conversion 573 STR FNC200 BIN to Character String Conversion 612 SUB FNC 21 Subtraction 273 PID FNC 88 PID Control Loop 476 PLSR FNC 59 Acceleration/Deceleration Setup 383 PLSV FNC157 Variable Speed Pulse Output 556 PLSY FNC 57 Pulse Y Output 375 POP FNC212 Shift Last Data Read [FILO Control] 645 PR FNC 77 Print (ASCII Code) 445 TADD FNC162 RTC Data Addition 567 PRUN FNC 81 Parallel Run (Octal Mode) 458 TAN FNC132 Floating Point Tangent 521 PWM FNC 58 Pulse Width Modulation 380 TBL FNC152 Batch Data Positioning Mode 552 RAD FNC136 Floating Point Degrees to Radians Conversion 528 TCMP FNC160 RTC Data Compare 563 TKY FNC 70 Ten Key Input 422 RAMP FNC 67 Ramp Variable Value 413 RBFM FNC278 Divided BFM Read 702 TO FNC 79 Write To a Special Function Block 453 R SUM FNC 43 Sum of Active Bits 325 SWAP FNC147 Byte Swap 542 T RCL FNC 33 Rotation Left with Carry 299 TRD FNC166 Read RTC data 575 RCR FNC 32 Rotation Right with Carry 297 TSUB FNC163 RTC Data Subtraction 569 RD3A FNC176 Read form Dedicated Analog Block 583 TTMR FNC 64 Teaching Timer 407 TWR FNC167 Set RTC data 576 REF FNC 50 Refresh 339 TZCP FNC161 RTC Data Zone Compare 565 REFF FNC 51 Refresh and Filter Adjust 343 U RIGHT FNC204 Extracting Character String Data From the Right 626 UNI FNC143 4-bit Linking of Word Data 538 VAL FNC201 Character String to BIN Conversion 617 VRRD FNC 85 Volume Read 469 VRSC FNC 86 Volume Scale 471 WAND FNC 26 Logical Word AND 284 WBFM FNC279 Divided BFM Write 706 WDT FNC 07 Watchdog Timer Refresh 239 WOR FNC 27 Logical Word OR 286 WR3A FNC177 Write to Dedicated Analog Block 584 308 V RND FNC184 Random Number Generation 589 ROL FNC 31 Rotation Left 295 ROR FNC 30 Rotation Right 293 ROTC FNC 68 Rotary Table Control 415 RS FNC 80 Serial Communication 456 RS2 FNC 87 Serial Communication 473 RWER FNC294 Rewrite to ER 733 SAVER FNC291 Save to ER 718 SCL FNC259 Scaling (Coordinate by Point Data) 670 FNC 37 Word Shift Left FNC269 Scaling (Coordinate by X/Y Data) WSFL SCL2 680 WSFR FNC 36 Word Shift Right 306 FNC140 Sum of Word Data 532 S 956 Function Ref Page Mnemonic W SEGD FNC 73 Seven Segment Decoder 432 WSUM SEGL FNC 74 Seven Segment With Latch 434 WTOB FNC141 WORD to BYTE 534 FNC 28 Logical Exclusive OR 288 FNC 17 Exchange 262 SER FNC 61 Search a Data Stack 399 WXOR SFL FNC214 Bit Shift Left with Carry 650 X SFR FNC213 Bit Shift Right with Carry 648 XCH SFRD FNC 39 Shift Read [FIFO Control] 313 Z SFTL FNC 35 Bit Shift Left 303 ZCP FNC 11 Zone Compare 247 SFTR FNC 34 Bit Shift Right 301 ZONE FNC258 Zone Control 667 484 SFWR FNC 38 Shift Write [FIFO/FILO Control] 310 ZPOP FNC103 Batch POP of Index Register SIN FNC130 Floating Point Sine 519 ZPUSH FNC102 481 SMOV FNC 13 Shift Move 252 Batch Store of Index Register SORT FNC 69 Sort Tabulated Data 418 ZRN FNC156 Zero Return 554 SORT2 FNC149 Sort Tabulated Data 543 ZRST FNC 40 Zone Reset 316 SPD FNC 56 Speed Detection 371 SQR FNC 48 Square Root 335 SRET FNC 02 Subroutine Return 232 FX3S/FX3G/FX3GC/FX3U/FX3UC Series D Discontinued models Programming Manual - Basic & Applied Instruction Edition C Applicable Instruction List Appendix D: Discontinued models Discontinued model Production stop date Repair acceptance period FX1S December 31, 2015 Until December 31, 2022 FX1N December 31, 2015 Until December 31, 2022 FX1NC December 31, 2015 Until December 31, 2022 FX3U-232ADP September 30, 2013 Until September 30, 2020 FX3U-485ADP September 30, 2013 Until September 30, 2020 FX-PCS/WIN(-E) March 31, 2013 FX-20P(-E) December 31, 2012 Until December 31, 2019 - FX-10DU(-E) December 31, 2012 Until December 31, 2019 FX2N September 30, 2012 Until September 30, 2019 FX2NC September 30, 2012 Until September 30, 2019 FX-10P(-E) June 30, 2008 Until June 30, 2015 FX-20DU June 30, 2008 Until June 30, 2015 FX-232AW September 30, 2004 Until September 30, 2011 FX-232AWC June 30, 2004 Until June 30, 2011 FX-25DU-E September 30, 2002 Until September 30, 2009 957 D Discontinued models The table below shows discontinued models of MELSEC-F Series PLCs and programming tools described in this manual FX3S/FX3G/FX3GC/FX3U/FX3UC Series D Discontinued models Programming Manual - Basic & Applied Instruction Edition MEMO 958 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Warranty Programming Manual - Basic & Applied Instruction Edition Warranty Please confirm the following product warranty details before using this product Gratis Warranty Term and Gratis Warranty Range If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service Company However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at the customer's discretion Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing on-site that involves replacement of the failed module [Gratis Warranty Term] The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and the longest gratis warranty term after manufacturing shall be eighteen (18) months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs [Gratis Warranty Range] (1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc., which follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels on the product (2) Even within the gratis warranty term, repairs shall be charged for in the following cases Failure occurring from inappropriate storage or handling, carelessness or negligence by the user Failure caused by the user's hardware or software design Failure caused by unapproved modifications, etc., to the product by the user When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary by industry standards, had been provided Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the instruction manual had been correctly serviced or replaced Relay failure or output contact failure caused by usage beyond the specified Life of contact (cycles) Failure caused by external irresistible forces such as fires or abnormal voltages, and failure caused by force majeure such as earthquakes, lightning, wind and water damage Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user Onerous repair term after discontinuation of production (1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc (2) Product supply (including repair parts) is not available after production is discontinued Overseas service Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center Note that the repair conditions at each FA Center may differ Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to: (1) Damages caused by any cause found not to be the responsibility of Mitsubishi (2) Loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products (3) Special damages and secondary damages whether foreseeable or not, compensation for accidents, and compensation for damages to products other than Mitsubishi products (4) Replacement by the user, maintenance of on-site equipment, start-up test run and other tasks Changes in product specifications The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice Product application (1) In using the Mitsubishi MELSEC programmable logic controller, the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device, and that backup and fail-safe functions are systematically provided outside of the device for any problem or fault (2) The Mitsubishi programmable logic controller has been designed and manufactured for applications in general industries, etc Thus, applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies, and applications in which a special quality assurance system is required, such as for Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition, applications in which human life or property that could be greatly affected, such as in aircraft, medical applications, incineration and fuel devices, manned transportation, equipment for recreation and amusement, and safety devices, shall also be excluded from the programmable logic controller range of applications However, in certain cases, some applications may be possible, providing the user consults their local Mitsubishi representative outlining the special requirements of the project, and providing that all parties concerned agree to the special circumstances, solely at the users discretion 959 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Revised History Programming Manual - Basic & Applied Instruction Edition Revised History Date Created Revision Description 7/2005 A First Edition 2/2006 B FX3U and FX3UC series version 2.30 compatible • Two instructions are added - MEP, MEF [Section 3.1, Chapter 7, Appendix A-1-2, Appendix 8-1] • Functions of instructions are added - MUL (FNC 22) [Section 6.5.2, Section 10.3, Section 36.1.1] - DIV (FNC 23) [Section 6.5.2, Section 10.4, Section 36.1.1] - RS2 (FNC 87) [Section 36.1.1] • Example of index modification for instructions having limitation on number of executions [Section 5.7.3] • Other - Configuration Revision A 7.11 PLS, PLF Revision B 7.11 MEP, MEF 7.12 SET, RST 7.12 PLS, PLF 7.13 NOP 7.13 SET, RST 7.14 END 7.14 NOP 7.15 Number of Instruction Steps and Specified Devices 7.15 END - 7.16 Number of Instruction Steps and Specified Devices Appendix A-2 Version Upgrade History Appendix A-2 Peripheral Products applicability (except programming tools) Appendix A-2-1 Version check method Appendix A-2-1 Applicable products and versions Appendix A-2-2 How to look at manufacturer's serial number Appendix A-2-2 Incompatible peripheral products - Appendix A-3 Version Upgrade History - Appendix A-3-1 Version check method - Appendix A-3-2 How to look at manufacturer's serial number - Appendix A-3-3 Version Upgrade history [FX3U] - Appendix A-3-4 Version Upgrade history [FX3UC] - FX3U transistor output compatibility (change the [illegible] from FX3UC to FX3U)[Section 13.3, Item 13.3.1, Section 13.8, Section 13.9, Section 13.10, Section 15.2, Section 15.3, Section 15.5] 3/2007 960 C • The FX3U-4AD, FX3U-4DA and FX3U-20SSC-H are added in the related manual introduction section • Note on battery voltage drop is added [Subsection 2.6.2] • The expression of battery maintenance is modified [Subsection 2.6.3] • The contents of latched type device initialization methods are modified and added [Subsection 2.6.5] • Caution on using header and terminator in RS2 instruction is added [Section 16.6] • Note on setting the clock data from the FX-10DU-E/20DU-E/25DU-E is added [Section 21.8 and Subsection 36.2.7] FX3S/FX3G/FX3GC/FX3U/FX3UC Series Revised History Programming Manual - Basic & Applied Instruction Edition Date Created Revision Description 3/2007 C • Caution on storing sign data of character string is added [Section 26.2] • The sentence describing rough guide to the watchdog timer set value is modified [Sections 33.3 and 33.6] • Note on using state relays (S) in contact instructions is added [Subsections 34.1.2 and 34.2.2] • Note on state relays (S) in interrupt programs is added [Subsections 34.1.7, 34.2.5 and 35.2.3] • Errors are corrected 11/2007 D • • • • 11/2008 E • FX3G Series PLC was added • FX3UC-32MT-LT-2 PLC was added • Note is added for the allowable number of times of writing to the memory [Section 4.9, 4.10, 9.6 and Chapter 33] • 15 instructions are added: FLT(FNC49), VRRD(FNC85), VRSC(FNC86), ECMP(FNC110), EMOV(FNC112), EADD(FNC120), ESUB(FNC121), EMUL(FNC122), EDIV(FNC123), ESQR(FNC127), INT(FNC129), IVCK(FNC270), IVDR(FNC271), IVRD(FNC272), IVWR(FNC273) • Supports connection of FX3G-8AV-BD, FX3G-2AD-BD, and FX3G-1DA-BD [Section 16.6, 16.7 and Chapter 36] • Supports connection of display module (FX3G-5DM) [Chapter 2, Chapter 36 and Chapter 37] • Supports the floating point operation function [Chapter 12 and Chapter 18] • Supports the inverter communication function [Chapter 30] • Supports the pulse width/pulse period measurement function [Section 35.8] • Instruction Execution Time was added (FX3G) 6/2009 F • instructions are added: FLCRT(FNC300), FLDEL(FNC301), FLWR(FNC302), FLRD(FNC303), FLCMD(FNC304), FLSTRD(FNC305) [Chapter 34] • Supports connection of FX3U-CF-ADP [Chapter 34, Section 37.1 and Appendix B-4,C] • Supports connection of FX3U-3A-ADP [Section 37.2] • FX-30P was added [Chapter and Appendix A-1-1] • Explanation corrections for manufacturer’s serial number • Errors are corrected 11/2009 G • The baud rate "38400 bps" is supported in the RS and RS2 instructions, inverter communication and computer link • Customer keyword / permanent PLC lock is supported • Errors are corrected 8/2010 H • FX3U and FX3UC series version 2.70 compatible - instructions are added VRRD(FNC85), VRSC(FNC86), IVMC(FNC275)[Section 16.6, 16.7 and Section 30.6] • Supports connection of the FX3U-8AV-BD [Section 16.6 and Section 16.7] • Note is added for FX3U Series PLC AC input type and triac output type • GX Works2 is added • Explanation corrections for manufacturer's serial number and lot number [Appendix A-3-1] • Errors are corrected FX3UC(D, DSS) Series PLC was added FX3U-232ADP-MB, FX3U-485ADP-MB was added Timing chart was added [Subsections 4.7.11, 35.3.2] Errors are corrected 961 FX3S/FX3G/FX3GC/FX3U/FX3UC Series Revised History Programming Manual - Basic & Applied Instruction Edition 962 Date Created Revision Description 7/2011 J • Supported in FX3G Series version 1.40 - instruction added IVMC (FNC275) [Section 30.6] • Supported in FX3U and FX3UC Series version 3.00 - Supports storage of symbolic information - Support of the setting "Read-protect the execution program" for block passwords - Special block error condition (D8166) is added - Supports connection of FX3U-FLROM-1M • Errors are corrected 2/2012 K • FX3GC Series PLC was added • Supported in FX3U and FX3UC Series version 3.10 - Special parameter error (M8489 and D8489) is added - The error code for parameter error is added - The error code for special block error is added • Errors are corrected 5/2012 L • Supported in FX3G and FX3GC Series version 2.00 • Errors are corrected 5/2013 M • FX3S Series PLC was added • Supported in FX3G and FX3GC Series version 2.10 - The IP address change function for the FX3U-ENET-ADP is added [Appendix A] • instruction added ADPRW (FNC276) [Section 30.7] • Supports connection of FX3U-ENET-ADP [Section 37.1] • Description of the programming tool is changed accompanied by change of the programming tool from GX Developer to GX Works2 • Discontinued models are added [Appendix D] • Errors are corrected 9/2013 N • • • • • • 4/2015 P • A part of the cover design is changed 7/2016 Q • Supported in FX3G and FX3GC Series version 2.30 - Forcible stop at extension bus error occurrence (M8484) is added • Supported in FX3U and FX3UC Series version 3.20 - Forcible stop at extension bus error occurrence (M8484) is added • Supports the FREQROL-F800/A800 Series inverters [Section 30.1, Section 30.2, Section 30.3, Section 30.4, Section 30.5, Section 30.6 and Appendix A-3] • Extension bus error is added [Section 38.4] • Version upgrade history is added [Appendix A-3] • Discontinued models are added [Appendix D] • The contents of warranty are changed • Errors are corrected Supported in FX3S Series version 1.10 Supported in FX3G Series version 2.20 FX3S-30M /E -2AD PLC was added Supports connection of FX3G-4EX-BD, FX3G-2EYT-BD and FX3G-485-BD-RJ Discontinued models are added [Appendix D] Errors are corrected FX3S/FX3G/FX3GC/FX3U/FX3UC SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic & Applied Instruction Edition HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN MODEL FX-P3-E MODEL CODE 09R517 JY997D16601Q (MEE) Effective July 2016 Specifications are subject to change without notice ... FX3S/FX3G/FX3GC /FX3U/ FX3UC Series User? ??s Manual - Positioning Edition ENET-ADP Manual FX3U- ENET-ADP User? ??s Manual CF-ADP Manual FX3U- CF-ADP User? ??s Manual FX-30P Manual FX-30P Operation Manual 22 FX3S/FX3G/FX3GC /FX3U/ FX3UC... FX3GC Series User? ??s Manual - Hardware Edition FX3U Hardware Edition FX3U Series User? ??s Manual - Hardware Edition FX3UC Hardware Edition FX3UC Series User? ??s Manual - Hardware Edition Programming Manual. .. FX3S/FX3G/FX3GC /FX3U/ FX3UC Series Manuals for positioning control Common Additional Manual 18 FX3S/FX3G/FX3GC /FX3U/ FX3UC Series User? ??s Manual - Positioning Edition 09R620 FX3S/FX3G/FX3GC /FX3U/ FX3UC Series

Ngày đăng: 30/07/2020, 16:38

TỪ KHÓA LIÊN QUAN