Mitsubishi Electric FX3G SERIES Programming Manual

Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
SERIES PROGRAMMABLE CONTROLLERS
3G
3U
3UC
PROGRAMMING MANUAL
Basic & Applied Instructions Edition

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric FX3G SERIES

  • Page 1 SERIES PROGRAMMABLE CONTROLLERS PROGRAMMING MANUAL Basic & Applied Instructions Edition...
  • Page 3 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.
  • Page 4 • 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.
  • Page 5: Table Of Contents

    Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents Table of Contents Related manuals ..........................14 Generic Names and Abbreviations Used in Manuals ..............21 1. Introduction 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............
  • Page 6 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 4.4 State Relay [S] ............................91 4.4.1 Numbers of state relays .......................... 91 4.4.2 Functions and operation examples ......................92 4.5 Timer [T]..............................94 4.5.1 Numbers of timers........................... 94 4.5.2 Functions and operation examples ......................
  • Page 7 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 5. How to Specify Devices and Constants to Instructions 5.1 Numeric Values Handled in PLCs (Octal, Decimal, Hexadecimal and Real Numbers) ....... 151 5.1.1 Types of numeric values ........................151 5.1.2 Conversion of numeric values.......................
  • Page 8 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 8. Program Flow – FNC 00 to FNC 09 8.1 FNC 00 – CJ / Conditional Jump......................220 8.1.1 CJ instruction and operations of contact and coil.................. 224 8.1.2 Relationship between master control instruction and jump instruction ..........
  • Page 9 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 12. Data Operation – FNC 40 to FNC 49 12.1 FNC 40 – ZRST / Zone Reset......................317 12.2 FNC 41 – DECO / Decode ......................... 320 12.3 FNC 42 –...
  • Page 10 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 15.9 FNC 78 – FROM / Read From A Special Function Block ..............449 15.9.1 Common items between FROM instruction and TO instruction (details) ..........452 15.10 FNC 79 –...
  • Page 11 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 20. Positioning Control – FNC150 to FNC159 20.1 FNC150 – DSZR / Dog Search Zero Return..................549 20.2 FNC151 – DVIT / Interrupt Positioning....................551 20.3 FNC152 – TBL / Batch Data Positioning Mode.................. 553 20.4 FNC155 –...
  • Page 12 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 26.8 FNC207 – MIDW / Random Replacement of Character Strings ............635 26.9 FNC208 – INSTR / Character string search..................638 26.10 FNC209 – $MOV / Character String Transfer .................. 640 27.
  • Page 13 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 34. FX -CF-ADP Applied Instructions – FNC300 to FNC305 34.1 FNC 300 – FLCRT / File create•check ....................741 34.1.1 Detailed explanation of setting data ....................742 34.2 FNC 301 –...
  • Page 14 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents 37.2 Supplement of Special Devices (M8000 - and D8000 -) ..............856 37.2.1 RUN monitor and initial pulse [M8000 to M8003]................856 37.2.2 Watchdog timer [D8000] ........................857 37.2.3 Battery voltage low detection [M8005 and M8006] ................
  • Page 15 Series Programmable Controllers Programming Manual - Basic & Applied Instructions Edition Table of Contents Appendix B: Instruction Execution Time Appendix B-1 Basic Instruction Execution Time ..................908 Appendix B-2 Step Ladder Instruction Execution Time................914 Appendix B-3 Label (P/I) Execution Time ....................914 Appendix B-4 Applied Instruction Execution Time ..................
  • Page 16: Related Manuals

    Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Related manuals For detailed explanation of programming (basic instructions, applied instructions and step ladder instructions) in FX PLCs, refer to this manual. For hardware information on the PLC main unit, special extension units, etc., refer to each associated manual.
  • Page 17 Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Essential manual Manual required depending on application Manual with additional manual for detailed explanation Manual Model name Manual name Contents number code Manuals for communication control Common Details about simple N : N link, parallel link, Additional FX Series User’s Manual -...
  • Page 18 Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Essential manual Manual required depending on application Manual with additional manual for detailed explanation Manual Model name Manual name Contents number code Handling procedures of the RS-485 communication special adapter.
  • Page 19 Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Essential manual Manual required depending on application Manual with additional manual for detailed explanation Manual Model name Manual name Contents number code Handling procedures of the 4-channel analog input Supplied -4AD-ADP special adapter.
  • Page 20 Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Essential manual Manual required depending on application Manual with additional manual for detailed explanation Manual Model name Manual name Contents number code Analog I/O (mixed) When using each product, refer also to the User’s Manual - Hardware Edition of the PLC main unit to which each product is connected.
  • Page 21 Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Essential manual Manual required depending on application Manual with additional manual for detailed explanation Manual Model name Manual name Contents number code Manuals for FX -20SSC-H positioning Block Handling procedures of the 2-axis positioning Supplied -20SSC-H...
  • Page 22 Series Programmable Controllers Related manuals Programming Manual - Basic & Applied Instruction Edition Essential manual Manual required depending on application Manual with additional manual for detailed explanation Manual Model name Manual name Contents number code Memory cassette Supplied Memory cassette Specifications and operating procedures of the −...
  • Page 23: Generic Names And Abbreviations Used In Manuals

    Series Programmable Controllers Generic Names and Abbreviations Used in Manuals Programming Manual - Basic & Applied Instruction Edition Generic Names and Abbreviations Used in Manuals Abbreviation/generic name Name Programmable controllers Series Generic name of FX Series PLCs PLC or main unit Generic name of FX Series PLC main units Series...
  • Page 24 Series Programmable Controllers Generic Names and Abbreviations Used in Manuals Programming Manual - Basic & Applied Instruction Edition Abbreviation/generic name Name Open field networks CC-Link and CC-Link/LT CC-Link equipment Generic name of CC-Link master station and CC-Link remote stations Generic name of CC-Link master station (having following model name): CC-Link master (station) -16CCL-M CC-Link remote station...
  • Page 25: Introduction

    Series Programmable Controllers 1 Introduction Programming Manual - Basic & Applied Instruction Edition 1.1 Programming Language in PLCs Introduction This chapter explains basic items related to programming in FX , FX and FX programmable controllers (PLCs). Programming Language in PLCs This section explains the features of programming in FX , FX and FX...
  • Page 26: Applicability Of Programming Languages In Programming Software

    Series Programmable Controllers 1 Introduction Programming Manual - Basic & Applied Instruction Edition 1.1 Programming Language in PLCs 4. ST (structured text) The ST language is a text language with a similar grammatical structure to the C language. Features The ST language can describe control achieved by syntax using selective branches with conditional statements and repetition by repetitive statements in the same way as high-level languages such as the C language.
  • Page 27: Overview (Sequence Program)

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.1 Introduction of Convenient Functions Overview (Sequence Program) This chapter explains the basic functions of FX PLCs. This chapter includes not only the features of PLCs but also introduction of representative functions, parameters and memory to utilize the functions of PLCs.
  • Page 28: Convenient Functions For Output Processing

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.1 Introduction of Convenient Functions 5. Three types of "interrupt" functions for receiving short-period pulses and priority processing → Refer to Chapter 36. Input interrupt Signals from specific input relays are monitored.
  • Page 29: Introduction Of Applied Instructions

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 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.
  • Page 30 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.2 Introduction of Applied Instructions 3. Arithmetic and logical operations 7. Handy instructions and instructions for external devices • Addition (ADD/FNC 20) • Initial state (IST/FNC 60) •...
  • Page 31: Analog/Positioning Special Control

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.3 Analog/Positioning Special Control Analog/Positioning Special Control For details, refer to the manual of each product. 1. Analog I/O control • Pulse output block (controlled by sequence program) •...
  • Page 32: Introduction Of Devices Constructing Plc

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.5 Introduction of Devices Constructing PLC Introduction of Devices Constructing PLC Many relays, timers, and counters are built into an FX PLC, with many NO (normally open) contacts and NC (normally closed) contacts.
  • Page 33: Device List

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.5 Introduction of Devices Constructing PLC 2.5.2 Device list 1. Input relays (X) and output relays (Y) 5. Counters (C) → Refer to Section 4.2. The following types of counters are provided, and can be used in accordance with the purpose or •...
  • Page 34 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.5 Introduction of Devices Constructing PLC 8. Index registers (V)(Z) → Refer to Section 4.11. Among registers, there are index type registers V and Z used for modification. A data register V or Z is added to another device as follows: [In the case of "V0, Z0 = 5"]...
  • Page 35: Program Memory And Devices

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices Program Memory and Devices 2.6.1 Memory structure 1. In FX PLCs PLCs are equipped with the RAM memory as standard. By mounting a memory cassette, the memory type can be changed.
  • Page 36 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices When using an attached memory cassette (does not use the built-in program memory) System ROM Built-in device memory (RAM) [Bit device memory] [Data memory] •...
  • Page 37 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices 2. In FX PLCs PLCs are equipped with the EEPROM memory as standard. When using the built-in memory (without attached memory cassette) System ROM Built-in device memory (RAM, EEPROM) [Bit device memory]...
  • Page 38: Memory Operations And Latched (Battery Or Eeprom Backed) Devices (Power On/Off And Run/Stop)

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices 2.6.2 Memory operations and latched (battery or EEPROM backed) devices (power ON/OFF and RUN/STOP) 1. Backup operation The operations of the data memory, bit device memory and program memory in FX PLCs are classified as shown below: Types of program memory...
  • Page 39 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices Caution Programs (when a memory cassette is not attached), latched (battery backed) type device values and clock data is not backed up correctly when the battery voltage becomes low due to expiration of the battery life or another reason.
  • Page 40 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices Types of bit device memory a) FX Power Item Power OFF STOP→RUN RUN→STOP OFF→ON Does not Cleared. change. Input relay (X) Cleared.
  • Page 41 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices b) FX PLCs Power Item Power OFF STOP→RUN RUN→STOP OFF→ON Does not Cleared. change. Input relay (X) Cleared. Does not change while M8033 is Does not Cleared.
  • Page 42: Types Of Backup Methods Against Power Failure

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices 2.6.3 Types of backup methods against power failure There are the following types of latch (battery backup) for the program memory and built-in PLC devices. 1.
  • Page 43: Change Between General Devices And Latched (Battery Backed) Devices

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.6 Program Memory and Devices 2.6.4 Change between general devices and latched (battery backed) devices 1. When using latched (battery backed) type devices as non-latch type devices In FX PLCs, some latched (battery backed) type devices can be changed into non-latch type devices by the parameter settings.
  • Page 44: Types And Setting Of Parameters

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Types and Setting of Parameters Setting of parameters means setting the environment where the PLC operates. Almost all FX PLCs can be used with factory default values. However, when it is necessary to attach a memory cassette, set the comment capacity, set the communication condition for serial ports, etc., the parameter settings must be changed using a programming tool such as personal computer.
  • Page 45 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Classification Item Description This parameter corresponds to the following settings by specifying the contents of each on the PLC system Serial port PC screen: setting (2)
  • Page 46: Parameter Initial Values And Available Tools For Changing Parameter Values

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 2.7.2 Parameter initial values and available tools for changing parameter values Programming tool Display unit FX-10P GOT-F900 GX Developer Setting Item FX-PCS/...
  • Page 47 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters PLCs Programming tool Display unit FX-10P GOT-F900 GX Developer Setting Item *1*2 FX-PCS/ (-E) Series Initial value range FX-30P FX-20P 1000 ET-940...
  • Page 48: Memory Capacity Setting Range

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 2.7.3 Memory capacity setting range Built-in memory capacity Can be set by changing parameter. Memory capacity setting Special unit Positioning Built-in CC-Link/ Comment...
  • Page 49: Compatible Optional Memory Model

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 2.7.4 Compatible optional memory model 1. FX PLCs Maximum number of Allowable number of Model name Memory type Remarks steps times of writing EEPROM...
  • Page 50: Keyword (Entry Code)

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 2.7.5 Keyword (entry code) By registering the entry code in a PLC, the functions of programming tools, display modules, and display units to change programs, monitor devices, and the current value changing function in the PLC can be restricted (access restriction).
  • Page 51: Data Operation - Fnc 40 To Fnc

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 3. Entry code setting and access restriction Setting status Peripheral equipment and access restriction The programming tool performs the following operations in accordance with the selected registration condition: Once the permanent PLC lock is set, it cannot be reset.
  • Page 52 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Registering and changing the entry codes This section explains the operating procedure of GX Developer (Ver.8.72A) → For the entry code registration/change procedure in FX-10P(-E), FX-20P(-E), FX-30P, and FX-PCS/WIN(-E), refer to the manual of each product.
  • Page 53 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 4. Click [Execution] button to open "Keyword confirmation" dialog box. 5. Input the entry codes again. 6. Click [OK] to register the entry codes to the PLC. Reading/writing a program from/to a PLC with the entry codes registered This section explains the operating procedure of GX Developer (Ver.8.72A) →...
  • Page 54 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Canceling the entry codes This section explains the operating procedure of GX Developer (Ver.8.24A) → For the entry code canceling (deletion) procedure in FX-10P(-E), FX-20P(-E), FX-30P, and FX-PCS/WIN(-E), refer to the manual of each product.
  • Page 55: Special Unit Initial Value Setting [Gx Developer Ver.8.24A Or Later]

    Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 2.7.6 Special unit initial value setting [GX Developer Ver.8.24A or later] The initial values of the buffer memory (BFM) in special function blocks/units connected to an FX (Ver.2.20 or later) can be set as a parameter in GX Developer (Ver.8.24A or later).
  • Page 56 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Setting memory capacity This example shows a window in an PLC. Set item Contents of setting Setting range Memory capacity Set the program memory capacity.
  • Page 57 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Setting devices 1. Click "Device" tab, and set devices. The "Device" tab is available only in FX PLCs. This example shows a window in an PLC.
  • Page 58 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Assigning I/Os, setting the initial values for special units, and setting built-in CC-Link/LT 1. Click the "I/O assignment" tab, and then set the I/O assignment, special function block/unit names and built-in CC-Link/LT.
  • Page 59 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 2. On "Special Function Block Settings" dialog box, set the initial values of special function blocks and units. The "Special Function Block Settings" tab is available only in FX PLCs.
  • Page 60 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 3. Click [End] button to finish the setting and close "Special Function Block Settings" dialog box. 4. Set the built-in CC-Link/LT on the "Built-in CC-Link/LT Setup" dialog box. This item can be set only in the FX -32MT-LT-2.
  • Page 61 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Setting the PLC system (1) Click on the "PLC system (1)" tab to setup "Battery less mode", "MODEM initialized", and "RUN terminal input."...
  • Page 62 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters PLCs Set item Contents of setting Setting range Select this to operate the PLC without using the battery. When a check mark is put here, the battery error indicator lamp is automatically –...
  • Page 63 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Setting the PLC system (2) 1. Click "PLC system (2)" tab. 2. Only when a latch (battery backed) area for a serial port exists through an extended PLC, select a channel to be set and put a check mark next to "Operate communication setting."...
  • Page 64 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Setting positioning The positioning setting function is available in all FX PLCs and FX PLCs Ver. 2.20 or later. 1.
  • Page 65 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Set item Contents of setting Set range Set the bias speed for each set of output pulses. 1/10 or less of the Bias speed [Hz] Initial value: 0 maximum speed...
  • Page 66 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters 3. Click [Individual setting] button to display "Positioning instruction settings" dialog box. In this dialog box, set the positioning table for each pulse output destination. This example shows a window in an FX PLC.
  • Page 67 Series Programmable Controllers 2 Overview (Sequence Program) Programming Manual - Basic & Applied Instruction Edition 2.7 Types and Setting of Parameters Set item Contents of setting Setting range A check mark here means not to transfer the positioning setting when PLC turns Positioning table settings will not be initialized when the PLC Check mark this box when changing the positioning setting from a display unit,...
  • Page 68: Instruction List

    Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.1 Basic Instructions Instruction List This chapter introduces a list of instructions available in programming. Basic Instructions The basic instructions are provided in the following series. The table below shows differences in applicable devices. Applicable PLC Basic instructions other than MEP and MEF instructions...
  • Page 69 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.1 Basic Instructions Mnemonic Name Symbol Function Applicable devices Reference Connection Instruction Serial connection of AND Block – Section 7.7 multiple parallel circuits Parallel connection of OR Block –...
  • Page 70: Step Ladder Instructions

    Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.2 Step Ladder Instructions Step Ladder Instructions Mnemonic Name Symbol Function Applicable devices Reference Step Ladder Starts step ladder Chapter 35 STL Applicable devices Return Completes step ladder –...
  • Page 71 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 72 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 73 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 74 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 75 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 76 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 77 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 78 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 79 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 80 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 81 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 82 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 83 Series Programmable Controllers 3 Instruction List Programming Manual - Basic & Applied Instruction Edition 3.3 Applied Instructions ... in Ascending Order of FNC *1: The instruction is provided in the FX Series Ver. 3.00 or later. *6: The instruction is provided in the FX Series Ver.
  • Page 84: Devices In Detail

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.1 Device Number List Devices in Detail This chapter explains how numeric values are handled in the PLC as well as the roles and functions of various built-in devices including I/O relays, auxiliary relays, state relays, counters and data registers.
  • Page 85 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.1 Device Number List Device name Description Reference High-speed counter 8 points maximum can be used among C235 to C255 [latched 1-phase 1-counting input (battery backed) type]. C235 to C245 Bi-directional (32 bits) The setting can be changed between the latched (battery...
  • Page 86 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.1 Device Number List PLCs Device name Description Reference I/O relay Input relay X000 to X177 128 points Device numbers are octal. Section 4.2 The total number of inputs and outputs is 128. Output relay Y000 to Y177 128 points...
  • Page 87 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.1 Device Number List Device name Description Reference High-speed counter 1-phase 1-counting input Bi- directional (32 bits) C235 to C245 (EEPROM keep) −2,147,483,648 to +2,147,483,647 counts 1-phase 2-counting input Bi- Software counter directional (32 bits)
  • Page 88: I/O Relays [X, Y]

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.2 I/O Relays [X, Y] I/O Relays [X, Y] Some input relays and output relays are secured in the main unit, and others are assigned to extension devices according to the connection order.
  • Page 89: Functions And Roles

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.2 I/O Relays [X, Y] 4.2.2 Functions and roles Examples of terminal names and wiring (sink input) are for the FX Series PLC. External power supply COM1 Program example...
  • Page 90: Operation Timing Of Input Relays

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.2 I/O Relays [X, Y] 4.2.3 Operation timing of input relays The PLC executes sequence control by repeatedly executing the following processing procedure. In this batch I/O method, not only are there driving times of input filters and output devices but also response delays caused by operation cycles.
  • Page 91: Auxiliary Relay [M]

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.3 Auxiliary Relay [M] Auxiliary Relay [M] There are many auxiliary relays inside the PLC. Coils of auxiliary relays are driven by contacts of various devices inside the PLC in the same way as output relays.
  • Page 92 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.3 Auxiliary Relay [M] 2. Latched (battery backed) type When the power is turned OFF while the PLC is operating, all of the output relays and general type auxiliary relays turn OFF.
  • Page 93: State Relay [S]

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.4 State Relay [S] State Relay [S] State relays (S) are important devices to program stepping type process control simply, and combined with the step ladder instruction STL.
  • Page 94: Functions And Operation Examples

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.4 State Relay [S] 4.4.2 Functions and operation examples 1. General type In the stepping type process control shown in the left Initial state figure, when the start signal X000 turns ON, the state relay Start S20 is set (turned ON) and the solenoid valve Y000 for X000...
  • Page 95 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.4 State Relay [S] 3. Annunciator type Annunciator type state relays can be used as outputs for external fault diagnosis. For example, when an external fault diagnosis circuit shown in the figure below is created and the contents of the special data register D8049 are monitored, the smallest number out of the active state relays S900 to S999 is stored in D8049.
  • Page 96: Timer [T]

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.5 Timer [T] Timer [T] Timers add and count clock pulses of 1 ms, 10 ms, 100 ms, etc. inside the PLC. When the counted value reaches a specified set value, the output contact of the timer turns on.
  • Page 97 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.5 Timer [T] 2. Retentive type When the drive input X001 of the timer coil T250 turns ON, the current Set value X001 value counter for T250 adds and counts clock pulses of 100 ms. T250 (constant) K345...
  • Page 98: Set Value Specification Method

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.5 Timer [T] 4.5.3 Set value specification method 1. Specifying a constant (K) T10 is a 100 ms (0.1 sec) type timer. Constant When the constant "100" is specified, T10 works as a 10- X003 (decimal integer) second timer (0.1 sec ×...
  • Page 99: Program Examples [Off-Delay Timer And Flicker Timer]

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.5 Timer [T] 4.5.6 Program examples [off-delay timer and flicker timer] Off-delay timer X001 Y000 X001 Y000 X001 (20 sec) Y000 K200 Flicker timer (blink) X001 X001 Y000...
  • Page 100: Handling Timers As Numeric Devices

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.5 Timer [T] 4.5.7 Handling timers as numeric devices In timers, the output contact operating in accordance with the set value is used in some cases, and the present value is used as numeric data for control in other cases.
  • Page 101: Counter [C]

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.6 Counter [C] Counter [C] 4.6.1 Numbers of counters The table below shows counter (C) numbers. (Numbers are assigned in decimal.) → For high-speed counters, refer to Section 4.7. 1.
  • Page 102: Functions And Operation Examples

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.6 Counter [C] 4.6.4 Functions and operation examples 1. General type and latched (battery backed) type 16-bit up counters • The valid set range of 16-bit binary up counter is from K1 to K32767 (decimal constant). K0 provides the same operation as K1, and the output contact turns on at the first counting.
  • Page 103: Set Value Specification Method

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.6 Counter [C] • The current value increases or decreases regardless of the operation of the output contact. When a counter executes up-counting from "+2,147,483,647", the counter value becomes "−2,147,483,648". In the same way, when a counter executes down-counting from "−2,147,483,648", the counter value becomes "+2,147,483,647".
  • Page 104: Handling Counters As Numeric Devices

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.6 Counter [C] 4.6.7 Handling counters as numeric devices Counters use output contacts operating in accordance with the set value or use the counter value (current value) as numeric data for control.
  • Page 105: High-Speed Counter [C] (Fx3U/Fx3Uc Plc)

    Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.7 High-Speed Counter [C] (FX3U/FX3UC PLC) High-Speed Counter [C] (FX PLC) High-speed counter only available in DC input type main units. 4.7.1 Types and device numbers of high-speed counters 1.
  • Page 106 Series Programmable Controllers 4 Devices in Detail Programming Manual - Basic & Applied Instruction Edition 4.7 High-Speed Counter [C] (FX3U/FX3UC PLC) 5. High-speed counter device list External reset External start Classification Counter No. Edge count Data length input terminal input terminal C235 C236 C237...