Mitsubishi Electric MELSEC-Q Structured Programming Manual

Mitsubishi Electric MELSEC-Q Structured Programming Manual

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Quick Links

FXCPU
Structured Programming Manual
Device & Common
Table of Contents
loading

Summary of Contents for Mitsubishi Electric MELSEC-Q

  • Page 1 FXCPU Structured Programming Manual Device & Common...
  • 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 described 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

    FXCPU Structured Programming Manual [Device & Common] Table of Contents Table of Contents Positioning of This Manual....................... 6 Related Manuals ........................9 Generic Names and Abbreviations Used in Manuals ............12 1. Device Outline 1.1 Devices Constructing PLC ......................13 1.1.1 Relation among devices ........................
  • Page 6 FXCPU Structured Programming Manual [Device & Common] Table of Contents 2.8 Data Register and File Register [D] ................... 94 2.8.1 Numbers of data registers and file registers.................. 94 2.8.2 Structure of data registers and file registers.................. 96 2.8.3 Functions and operation examples of data registers..............96 2.8.4 Functions and operation examples of file registers ...............
  • Page 7 FXCPU Structured Programming Manual [Device & Common] Table of Contents 4.2.10 Battery [BATT (BAT)] LED OFF command [M8030]..............228 4.2.11 Built-in analog variable potentiometers [D8030, D8031, D8013]..........230 4.2.12 Clear command [M8031 and M8032] ..................231 4.2.13 Memory hold stop [M8033] (Output holding in STOP mode)............. 231 4.2.14 All output disable command [M8034] ..................
  • Page 8: Positioning Of This Manual

    Refer to each corresponding manual for analog, communication, positioning control and special units and blocks. 1. When using FX PLCs MELSEC-Q/L/F Structured Programming Manual (Fundamentals) (Additional Manual) This manual explains programming methods, specifications, functions, etc. required to create Q/L/F structured programs.
  • Page 9 FXCPU Structured Programming Manual [Device & Common] Positioning of This Manual 2. When using FX PLCs MELSEC-Q/L/F Structured Programming Manual [Fundamentals] (Additional Manual) This manual explains programming methods, specifications, functions, etc. required to create Q/L/F structured programs. Structured (This manual) FXCPU Structured Programming Manual [Device &...
  • Page 10 FXCPU Structured Programming Manual [Device & Common] Positioning of This Manual 3. When using FX PLCs MELSEC-Q/L/F Structured Programming Manual (Fundamentals) (Additional Manual) This manual explains programming methods, specifications, functions, etc. required to create Q/L/F structured programs. Structured (This manual) FXCPU Structured Programming Manual [Device &...
  • Page 11: Related Manuals

    Common among FX PLCs [structured] Supplied with product Model Manual name Manual number Contents or Additional Manual name code MELSEC-Q/L/F Structured Programming methods, specifications, functions, SH-080782 Additional Manual 13JW06 Programming Manual (Fundamentals) etc. required to create structured programs FXCPU Structured Programming Devices, parameters, etc.
  • Page 12 FXCPU Structured Programming Manual [Device & Common] Related Manuals Supplied with product Model Manual name Manual number Contents or Additional Manual name code PLC main unit I/O specifications, wiring and installation of the PLC main unit FX extracted from the FX Series Hardware Manual JY997D48301 Supplied with product...
  • Page 13 FXCPU Structured Programming Manual [Device & Common] Related Manuals PLCs [whose production is finished] Supplied with product Model Manual name Manual number Contents or Additional Manual name code PLC main unit Details about the hardware including I/O HARDWARE MANUAL JY992D47501 Supplied with product specifications, wiring, installation and maintenance of the FX...
  • Page 14: Generic Names And Abbreviations Used In Manuals

    Abbreviation of ladder diagram language Abbreviation of function block diagram language Manuals Q/L/F Structured Programming Abbreviation of MELSEC-Q/L/F Structured Programming Manual (Fundamentals) Manual (Fundamentals) FX Structured Programming Manual Abbreviation of FXCPU Structured Programming Manual [Device & Common] [Device & Common] FX Structured Programming Manual Abbreviation of FXCPU Structured Programming Manual [Basic &...
  • Page 15: Device Outline

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.1 Devices Constructing PLC Device Outline This chapter explains basic contents of devices. Devices Constructing PLC Each PLC has many built-in relays, timers, counters, etc. Each of which has many normally-open contacts and normally-closed contacts. Connect these contacts and coils to construct a program.
  • Page 16: Relation Among Devices

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.1 Devices Constructing PLC 1.1.1 Relation among devices Arrow indicates signal transfer. Input terminal or input connector Input relay: X The PLC receives signals from external input switches via input relays. The symbol of input relay is "X".
  • Page 17: Device Function List

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.1 Devices Constructing PLC 1.1.2 Device function list 1. Input relay (X) and output relay (Y) → Refer to Section 2.2. • In the PLC main unit, input relays and output relays are assigned with serial octal numbers such as "X000 to X007", "X010 to X017", "Y000 to Y007"...
  • Page 18 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.1 Devices Constructing PLC 7. Extension register (R) and extension file register (ER) → Refer to Section 2.9. Only FX PLCs support extension registers (R) and extension file registers (ER). Extension registers(R) are extended type of data registers (D), and backed up against power interruption by battery in FX PLCs.
  • Page 19: Program Memory And Devices

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices Program Memory and Devices 1.2.1 Memory structure 1. FX and FX PLCs System ROM Built-in device memory(RAM) [Bit device memory] [Data memory] Contact image memory Data register (D) Input relay (X) Output relay (Y)
  • Page 20 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 2. FX and FX PLCs System ROM Built-in device memory(RAM, EEPROM) [Bit device memory] [Data memory] Data register (D) Contact image memory Timer current value register (T) Input relay (X) Output relay (Y) Counter current value register (C)
  • Page 21 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 3. FX PLCs System ROM Built-in device memory(RAM, EEPROM) [Bit device memory] [Data memory] Data register (D) Contact image memory Timer current value register (T) Input relay (X) Output relay (Y) Counter current value register (C)
  • Page 22 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 4. FX PLCs System ROM Built-in device memory(RAM, EEPROM) [Bit device memory] [Data memory] Contact image memory Data register (D) Input relay (X) Output relay (Y) Timer current value register (T) Auxiliary relay (M) State relay (S) Counter current value register (C)
  • Page 23 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 5. FX PLCs System ROM Built-in device memory(RAM, EEPROM) [Bit device memory] [Data memory] Contact image memory Data register (D) Input relay (X) Output relay (Y) Timer current value register (T) Auxiliary relay (M) State relay (S) Counter current value register (C)
  • Page 24: Memory Operations And Backup Against Power Interruption (Power On/Off And Run/Stop)

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 1.2.2 Memory operations and backup against power interruption (power ON/OFF and RUN/STOP) 1. FX PLCs 1) Types of program memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Parameter...
  • Page 25 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices • Caution When the battery voltage becomes low due to expiration of the battery life or another reason, programs (not stored in a memory cassette), latched (backed-up) type devices and clock data are not held correctly. Clear latched type devices, and transfer programs (not stored in a memory cassette) again.
  • Page 26 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 2. FX PLCs 1) Types of program memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Parameter Does not change. Sequence program Does not change. Comment Does not change.
  • Page 27 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 3) Types of bit device memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Does not change. Cleared. Input relay (X) Cleared. Does not change while M8033 is ON. Does not change.
  • Page 28 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 3. FX 1) Types of program memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Parameter Does not change. Sequence program Does not change. Comment Does not change. Can be secured by parameter setting.
  • Page 29 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 3) Types of bit device memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Does not change. Cleared. Input relay (X) Cleared. Does not change while M8033 is ON. Does not change.
  • Page 30 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 4. FX PLCs The memory type varies depending on the PLC, and is classified as follows by the device initialization timing. Classification Power OFF Power OFF→ON STOP→RUN RUN→STOP Does not change.
  • Page 31 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 3) Types of bit device memory Item Input relay (X) Output relay (Y) General type auxiliary relay (M) Latched (backed-up) type A2/A3 A2/A3 auxiliary relay (M) Contact image memory (X, Y, M, S) Special auxiliary relay (M)
  • Page 32 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 5. FX PLCs 1) Types of program memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Parameter Does not change. Sequence program Does not change. Comment Does not change.
  • Page 33 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 3) Types of bit device memory Item Power OFF Power OFF→ON STOP→RUN RUN→STOP Does not change. Cleared. Input relay (X) Cleared. Does not change while M8033 is ON. Does not change.
  • Page 34: Types Of Backup Methods Against Power Interruption

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 1.2.3 Types of backup methods against power interruption There are following types of latch (backup) of the program memory and built-in devices in PLCs. 1. Battery backup method PLCs Item Description...
  • Page 35: Change Of Devices Between General Type And Latched (Backed-Up) Type

    FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 1.2.4 Change of devices between general type and latched (backed-up) type 3G *1 3GC *1 PLCs do not support the type change of latched (backed-up) type devices. 1.
  • Page 36 FXCPU Structured Programming Manual 1 Device Outline [Device & Common] 1.2 Program Memory and Devices 2. ZRST instruction (zone reset) The ZRST instruction can clear multiple devices all at once. (Because only a limited device range can be specified for the ZRST instruction, only a part of latched type devices can be cleared at a time.) Program example: This program clears latched (battery backed-up) type devices in the ranges shown in the table below in the...
  • Page 37: Devices In Detail

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.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. The following contents provide a basis for handling the PLC.
  • Page 38 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.1 Device Number List Device name Description Reference High speed counter 1-phase 1-counting input Up to 8 points can be used among C235 to C255 [latched C235 to C245 Bidirectional (32 bits) (backed-up) type] The setting can be changed between the latched (backed-up) type...
  • Page 39: Input/Output Relays [X And Y]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.2 Input/Output Relays [X and Y] Input/Output Relays [X and Y] Some input relay and output relay numbers are secured in the main unit, and others are assigned to extension equipment according to the connection order.
  • Page 40 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.2 Input/Output Relays [X and Y] 2. FX PLCs Model name -10M -14M -20M -30M X00 to X05 X00 to X07 X00 to X013 X00 to X17 Input 6 points 8 points 12 points 16 points...
  • Page 41: Functions And Roles

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.2 Input/Output Relays [X and Y] 2.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 X000 X001 X000...
  • Page 42: Operation Timing Of I/O Relays

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.2 Input/Output Relays [X and Y] 2.2.3 Operation timing of I/O 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 43: Auxiliary Relay [M]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.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. Auxiliary relays have many electronically normally-open contacts and normally-closed contacts which can be used arbitrarily inside the PLC.
  • Page 44: Functions And Operation Examples

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.3 Auxiliary relay [M] 3. FX PLCs Fixed latched General type Latched (backed-up) type Special type (backed-up) type M0 to M495 M496 to M511 M8000 to M8254 57 points 496 points 16 points M0 to M383...
  • Page 45 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.3 Auxiliary relay [M] 2. Latched (backed-up) type When the power is turned OFF while the PLC is operating, all of output relays and general type auxiliary relays turn OFF. Even when the power is restored after that, all of output relays and general type auxiliary relays remain OFF except those whose input condition is ON.
  • Page 46: State Relay [S]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.4 State Relay [S] State Relay [S] State relays (S) are important devices to simply program stepping type process control, and are combined with the step ladder instruction STL. 2.4.1 Numbers of state relays The table below shows state relay (S) numbers.
  • Page 47 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.4 State Relay [S] 3. FX PLCs Fixed latched (backed-up) General type Latched (backed-up) type Annunciator type type S0 to S63 64 points (S0 to S9 are provided for the initial state.) S0 to S127 128 points...
  • Page 48: Functions And Operation Examples

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.4 State Relay [S] 2.4.2 Functions and operation examples 1. General type In the stepping type process control shown in the M8002 left figure, when the start signal X000 turns ON, the state relay S20 is set (turned ON) and the solenoid valve Y000 for moving down is activated.
  • Page 49 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.4 State Relay [S] 2. Latched (backed-up) type • Latched (backed-up) type state relays store their ON/OFF status even if the power is shut down while the PLC is operating, so the operation can be restarted after shutdown from the previous last point in the process.
  • Page 50: Timer [T]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] Timer [T] Timers add and count clock pulses of 1 ms, 10 ms, 100 ms, etc. inside the PLC. When the count value reaches a specified set value, the output contact of the timer turns ON. A set value can be directly specified by a constant (K) in the program memory, or indirectly specified by the contents of a data register (D).
  • Page 51 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] 2. FX PLCs Variable For 100/10 ms Retentive type potentiometer For 100 ms pulses pulses For 10 ms pulses For 1 ms pulses for 100 ms type 0.1 to 3276.7 sec 0.1 to 3276.7 sec...
  • Page 52: Functions And Operation Examples

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] 2.5.2 Functions and operation examples 1. General type When the drive input X000 of the timer T200 OUT_T X000 turns ON, the current value counter for T200 adds and counts clock pulses of 10 ms.
  • Page 53 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] 3. Variable potentiometer type • Program for built-in analog variable potentiometers Program values for built-in analog variable potentiometers are stored in the following special data registers as numeric data within the range from 0 to 255 in accordance with the scale position.
  • Page 54: Set Value Specification Method

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] 2.5.3 Set value specification method 1. Specification using a constant (K) T10 is a timer for 100 ms (0.1 s) pulses. OUT_T X003 When the constant "100" is specified, T10 works as a 10-second timer (0.1 sec ×...
  • Page 55: Program Examples [Off-Delay Timer And Flicker Timer]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] As shown in the above operation diagram, the accuracy of operation of the timer contact after the coil is driven until the contact turns ON is shown in the following outline expression: :0.001 sec (timer for 1 ms), 0.01 sec (timer for 10 ms) or 0.1 sec (timer for 100 ms) T :Timer set value (sec) :Operation cycle (sec)
  • Page 56: Handling Timers As Numeric Devices

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.5 Timer [T] Flicker timer X000 STMR • When M3 is connected as shown in the left figure, M2 and M1 become flicker outputs. K100 • When X000 is set to OFF, M0, M1 and M3 turn X000 OFF and T10 is reset after the set time.
  • Page 57: Counter [C]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] Counter [C] In counters, "CS" indicates a contact, "CC" indicates a coil, and "CN" indicates the current value. → Refer to the Q/L/F Structured Programming Manual (Fundamentals). 2.6.1 Numbers of counters The tables below show counter (C) numbers.
  • Page 58: Features Of Counters

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] 3. In FX PLCs 16-bit up-counter 32-bit bi-directional counter Counting range: 0 to 32767 -2,147,483,648 to +2,147,483,647 Latched (backed-up) Fixed latched Latched (backed-up) General type General type type (backed-up) type type...
  • Page 59: Functions And Operation Examples

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] 2.6.4 Functions and operation examples 1. General type and latched (backed-up) type 16-bit counters • The valid setting rage of 16-bit binary up-counter is from K1 to K32767 (decimal constant). K0 causes the same operation as K1, and the output contact turns ON at the first counting.
  • Page 60: Set Value Specification Method

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] • When the coil C200 is driven by the counting input X014, the counter starts up-counting or down-counting. When the current value of the counter increases from "-6" to "-5", the output contact turns ON. When the current value decreases from "-5"...
  • Page 61: Cautions On Use

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] 2. 32-bit counter 1) Direct specification using a constant (K) OUT_C_32 X003 CCoil CC200 K43210 CValue Constant (decimal constant)-2,147,483,648 to +2,147,483,647 43210 counts 2) Indirect specification using a data register (D) DMOV X001 K43210...
  • Page 62 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] 1. Structure of the current value register of a counter 1) 16-bit High order 16-bit Low order Available numeric value range 16-bit:0 to 32,767 32-bit:-2,147,483,648 to +2,147,483,647 Sign 0 : Positive 1 : Negative...
  • Page 63 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.6 Counter [C] 3. Caution on simultaneous instances of the ZRST instruction and a counter The ZRST instruction resets also the last stage and reset state of T and C coils. Accordingly, if the drive contact of X000 is ON in the following program, the counter executes counting after the ZRST instruction is executed.
  • Page 64: High Speed Counter [C]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] High Speed Counter [C] 2.7.1 Types and device numbers of high speed counters 1. Types of high speed counters The PLC main unit has built-in 32-bit high speed bidirectional counters (1-phase 1-counting, 1-phase 2- counting and 2-phase 2-counting).
  • Page 65 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 4. Cautions on counterpart equipment connected to high speed counter inputs General-purpose inputs X000 to X007 (X003) are used for high speed counter inputs. An encoder adopting the output type shown in the table below can be connected depending on the connected terminal.
  • Page 66 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 5. High speed counter list 1) In FX PLCs 1-edge counting/ External reset input External start input Classification Counter No. Data length 4-edge counting terminal terminal C235...
  • Page 67 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] Notation of high speed counters For some high speed counters in FX PLCs, the assignment of input terminals switches when special auxiliary relays are combined. (For input terminal numbers, refer to Subsection 2.7.2.) Such high speed counters are described as follows in this section.
  • Page 68 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 3) In FX 1-edge counting/ External reset input External start input Classification Counter No. Data length 4-edge counting terminal terminal C235 C236 C237 Not provided Not provided C238 C239...
  • Page 69 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 4) In FX PLCs 1-edge counting/ External reset input External start input Classification Counter No. Data length 4-edge counting terminal terminal C235 C236 C237 Not provided C238 C239...
  • Page 70 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 6) In FX PLCs 1-edge counting/ External reset input External start input Classification Counter No. Data length 4-edge counting terminal terminal C235 C236 Not provided C237 Not provided 32-bit...
  • Page 71: Input Assignment For High Speed Counters

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.2 Input assignment for high speed counters Inputs X000 to X007 (X003) are assigned as shown in the tables below according to each high speed counter number.
  • Page 72 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 1. In FX PLCs When FX -4HSX-ADP units are connected to an FX PLC, input terminals inside heavy-line frames in the table below are assigned to the first FX -4HSX-ADP unit, and other input terminals are assigned to the second FX -4HSX-ADP unit.
  • Page 73 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2. In FX PLCs Input terminal assignment Counter No. Classification X000 X001 X002 X003 X004 X005 X006 X007 C235 C236 C237 C238 C239 1-phase 1-counting C240 input...
  • Page 74 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 4. In FX PLCs Input terminal assignment Counter No. Classification X000 X001 X002 X003 X004 X005 X006 X007 C235 C236 C237 C238 C239 1-phase 1-counting C240 input...
  • Page 75 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 6. In FX PLCs Input terminal assignment Counter No. Classification X000 X001 X002 X003 X004 X005 X006 X007 C235 C236 C237 C238 C239 1-phase 1-counting C240 input...
  • Page 76: Handling Of High Speed Counters

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.3 Handling of high speed counters 1. 1-phase 1-counting input X010 Down-counting · While X012 is ON, C235 counts "OFF ON" M8235 or up-counting of the input X000.
  • Page 77 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2. 1-phase 2-counting input These counters are 32-bit bidirectional counters. The operation of the output contact caused by the current value is equivalent to that in 1-phase 1-counting input type high speed counters described above. ·...
  • Page 78 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] • 2-phase encoder generates outputs for the phase A and phase B with a phase difference of 90°. With these outputs, a high speed counter automatically executes up-counting and down-counting as shown in the figure below.
  • Page 79: Current Value Update Timing And Comparison Of Current Value

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.4 Current value update timing and comparison of current value 1. Current value update timing A high speed counter executes up-counting or down-counting when a pulse is input to its input terminal, but the current value of the high speed counter is updated at the timing shown in the table below.
  • Page 80: Related Devices

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.5 Related devices 1. Devices used to switch the counting direction of 1-phase 1-counting input counters Type Counter No. Specifying device Up-counting Down-counting C235 M8235 C236 M8236...
  • Page 81: Change Of Logic Of External Reset Input Signal

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 4. Operation status of hardware counters and software counters PLCs do not support this function. Device number Name Description Indicates the operation status of C235, C241, C244, M8380 C246, C247, C249, C251, C252 and C254.
  • Page 82: Assignment Of Counter Input Terminal And Switching Of Function

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.7 Assignment of counter input terminal and switching of function The assignment of input terminal and the function of software counters change as shown below when the following special auxiliary relays are combined.
  • Page 83 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2. In FX PLCs When using assignment of counter input terminal and Counter No. Description switching of function M8388 M8392 OUT_C_32 C248(OP) • The reset input is not provided. CCoil CC248 CValue...
  • Page 84: How To Use 2-Phase 2-Counting Input Counters C251 To C255 For 4-Edge Counting

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.8 How to use 2-phase 2-counting input counters C251 to C255 for 4-edge counting 2-phase 2-counting input counters C251 to C255 usually executes 1-edge counting, but can be used for 4- edge counting by the programs shown in the table below.
  • Page 85: Condition Under Which Hardware Counters Are Handled As Software Counters

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.9 Condition under which hardware counters are handled as software counters High speed counters are classified into hardware counters and software counters. Under some conditions, however, hardware counters are handled as software counters.
  • Page 86: 2.7.10 Response Frequency Of High Speed Counters

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.10 Response frequency of high speed counters 1. Response frequency of hardware counters The tables below show the maximum response frequency of hardware counters. When hardware counters are handled as software counters in some operating conditions, their maximum response frequency becomes equivalent to that of software counters, and they are subject to restriction of the total frequency.
  • Page 87 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] • When special analog adapters and FX Series special function blocks/units are connected Counter type Response frequency and total frequency according to instructions used When DHSZ and When both DHSZ and When only DHSCT...
  • Page 88 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2) In FX PLCs Counter type Overall frequency determined by condition of instructions used Response When DHSCS, DHSCR or DHSZ When DHSCS, DHSCR or DHSZ frequency Software counter instruction is not used...
  • Page 89 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 3) In FX Counter type Overall frequency determined by condition of instructions used Response When DHSCS, DHSCR or DHSZ When DHSCS, DHSCR or DHSZ frequency Software counter instruction is not used...
  • Page 90 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 4) In FX PLCs Counter type Response frequency and total frequency according to instructions used When DHSCS and DHSCR instructions are not used When DHSCS and DHSCR instructions are used Software Total Total...
  • Page 91 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 5) In FX PLCs Counter type Response frequency and total frequency according to instructions used When DHSCS, DHSCR When only DHSCS and and DHSCZ When only DHSCZ Following DHSCR instructions are...
  • Page 92 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 6) In FX PLCs The maximum response frequency of high speed counters C235 to C255 is generally as follows (when the DHSCS and DHSCR instructions are not used or not driven): Sum of frequency of 1-phase counters + (Sum of frequency of 2-phase counters) ×...
  • Page 93 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 7) In FX PLCs Counter type Magnification for Maximum Total frequency calculating total response Software (kHz) frequency frequency (kHz) counter 1-phase C235 to C238, ×1 1-counting C241 to C242,...
  • Page 94: Cautions On Use

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] 2.7.11 Cautions on use • For a contact to drive the coil of a high speed counter, use a contact which is normally ON during high speed counting.
  • Page 95 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.7 High Speed Counter [C] • Write the following program "to reset only the current value of a high speed counter (and not to turn OFF the contact)". 1) Program example DMOV CN235 X010...
  • Page 96: Data Register And File Register [D]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] Data Register and File Register [D] Data registers store numeric values. File registers are handled as initial values of data registers. and FX are not applicable to file registers.
  • Page 97 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 2. In FX PLCs Data registers File registers Latched Fixed latched (battery backed-up) type (latched (battery (battery General type Special type Battery EEPROM Capacitor backed-up) type)
  • Page 98: Structure Of Data Registers And File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 2.8.2 Structure of data registers and file registers 1) 16-bit type One (16-bit) data register or file register can store a numeric value within the range from -32768 to +32767.
  • Page 99 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 2. Special type data registers • Special type data registers store specific data in advance, or receive data for special purpose. The contents of special data registers are set to their initial values when the power is turned ON. (Generally, these data registers are cleared to "0"...
  • Page 100 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] d) Transferring the contents of a data register to another data register The contents of D10 are transferred to D20. 3) Using unoccupied timers and counters as data registers Operation example using the MOV instruction Timers and counters not used in a program can be used as devices for storing 16-bit or 32-bit numeric values (data registers).
  • Page 101: Functions And Operation Examples Of File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 2.8.4 Functions and operation examples of file registers A file register sets the initial value of a data register having the same device number. Each file register stores 16-bit data (whose most significant bit specifies the positive or negative sign).
  • Page 102 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 2. File register ↔ Data register When a same file register is specified in both input variables in the BMOV instruction, the same-number register update function of the BMOV instruction is activated as described below.
  • Page 103 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 3. Data register → File register When a file register (D1000 or later) is specified as the destination of the BMOV instruction, it is possible to directly write data to the file register area [A] in the program memory.
  • Page 104 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] Cautions on reading When a file register (D1000 or later) is specified as the source of the BMOV instruction and a file register having the same number is not specified as the destination (that is, when the same-number register update function is not activated), the contents of the file register area [A] in the program memory are not read.
  • Page 105: Cautions On Using File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.8 Data Register and File Register [D] 2.8.5 Cautions on using file registers 1. Cautions on using a memory cassette When changing the contents of file registers secured in a memory cassette, satisfy the following conditions: •...
  • Page 106: Extension Register [R] And Extension File Register [Er]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] Extension Register [R] and Extension File Register [ER] PLCs do not support extension registers and extension file registers. Extension registers (R) are extended data registers (D). The contents of extension registers (R) can be stored in extension file registers (ER).
  • Page 107: Structure Of Extension Registers And Extension File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 2.9.3 Structure of extension registers and extension file registers One extension register consists of 16 bits. Extension registers can be used in 16-bit and 32-bit operation instructions in the same way as data registers.
  • Page 108: Functions And Operation Examples Of Extension Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 2. Initialization using GX Works2 Select [Online] → [Clear PLC memory ...] in GX Works2, and clear [Data device]. Note that this operation initializes the contents of timers, counters, data registers, file registers and extension registers.
  • Page 109: Functions And Operation Examples Of Extension File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 2.9.6 Functions and operation examples of extension file registers Extension file registers (ER) are usually used as log data storage destinations and set data storage destinations.
  • Page 110 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 1. Relationship between extension file registers and extension registers Extension file registers and extension registers have the following positional relationship inside the PLC. a) FX PLCs Extension registers(R)
  • Page 111: Cautions On Using Extension File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 2. Sectors of extension registers and extension file registers According to the data structure, extension registers and extension file registers are divided into sectors in PLCs.
  • Page 112 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 2) Initialization using GX Works2 Select [Online] → [Clear PLC memory ...] in GX Works2, and clear [Data device]. Note that this operation initializes the contents of timers, counters, data registers, file registers and extension registers.
  • Page 113: Registration Of Data Stored In Extension Registers And Extension File Registers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] 2.9.8 Registration of data stored in extension registers and extension file registers This subsection explains the operation procedures in GX Works2. →...
  • Page 114 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] Creating the device memory This operation is not required when using the device memory offered as the default. 1. Right-click [Device Memory] in the project data list to open the submenu. 2.
  • Page 115 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] Setting the data 1. Select [Edit] → [Input Device] to open the "Input Device" dialog box. 2. Set the "Device", "Range", "Display Mode" and "Register". 3.
  • Page 116 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.9 Extension Register [R] and Extension File Register [ER] Writing (transferring) the data to the PLC 1. Select [Online] → [Write to PLC] to open the "Online Data Operation" dialog box. 2.
  • Page 117: Index Register [V And Z]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.10 Index Register [V and Z] 2.10 Index Register [V and Z] Index registers can be used in the same way as data registers. But they are special registers because they can change device numbers and numeric values in a program when combined with another device number or numeric value used as operands in applied instructions.
  • Page 118: 2.10.2 Functions And Structures

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.10 Index Register [V and Z] 2.10.2 Functions and structures 1. 16-bit type Index registers have the same structure as data registers. 16-bit type 16-bit type V0 to V7 :8 points Z0 to Z7 :8 points 2.
  • Page 119: Pointer [P And I]

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] 2.11 Pointer [P and I] 2.11.1 Numbers of pointers The table below shows pointer (P and I) numbers. (Numbers are assigned in decimal.) When an input interrupt type pointer is used, the input number assigned to the pointer cannot be used together with a "high speed counter"...
  • Page 120: 2.11.2 Functions And Operation Examples Of Branch Pointers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] 3. FX PLCs Timer interrupt Series Branch type Input interrupt type Counter interrupt type type END jump type I00 (X000) PLCs I10 (X001) P0 to P63 I20 (X002) 64 points PLCs...
  • Page 121: 2.11.3 Functions And Operation Examples Of Interrupt Pointers

    FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] P63 is a special pointer for jumping to the END step when the CJ instruction is executed. Note that a program error will occur if P63 is programmed as a label.
  • Page 122 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] 2. Interrupt pointers 1) Input interrupt pointers The PLC can receive input signals from specific input numbers without affected by its operation cycle. By using these input signals as triggers, the PLC executes interrupt routine programs.
  • Page 123 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] Prohibition on redundant use of input terminals Inputs X000 to X007 are used for high speed counters, input interrupt, pulse catch, SPD/DSZR/DVIT/ZRN instructions and general-purpose inputs. Make sure to use each input terminal only once.
  • Page 124 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] 2) Timer interrupt pointers: 3 points The PLC executes an interrupt routine program at every specified interrupt cycle time (10 to 99 ms). Use these pointers for control which requires cyclic interrupt processing without regard to the operation cycle of the PLC.
  • Page 125 FXCPU Structured Programming Manual 2 Devices in Detail [Device & Common] 2.11 Pointer [P and I] 3) Counter interrupt pointers: 6 points The PLC executes an interrupt routine based on the comparison result obtained by the comparison set instruction for high speed counter (DHSCS_I). Use these pointers for control which gives high priority to the counting result of high speed counters.
  • Page 126: How To Specify Devices And Constants In Instructions

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.1 Numeric Values Handled in PLCs (Octal, Decimal, Hexadecimal and Real Numbers) How to Specify Devices and Constants in Instructions This chapter explains how to specify sources and destinations in instructions, which is the basis for handling PLC instructions.
  • Page 127: Conversion Of Numeric Values

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.1 Numeric Values Handled in PLCs (Octal, Decimal, Hexadecimal and Real Numbers) 3.1.2 Conversion of numeric values Numeric values handled in FX PLCs can be converted as shown in the table below. Decimal number Octal number Hexadecimal number...
  • Page 128 FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.1 Numeric Values Handled in PLCs (Octal, Decimal, Hexadecimal and Real Numbers) Binary floating point (real number) When handling a binary floating point (real number) in data registers, use a pair of data registers having consecutive device numbers.
  • Page 129 FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.1 Numeric Values Handled in PLCs (Octal, Decimal, Hexadecimal and Real Numbers) Decimal floating point (real number) (scientific notation) Because binary floating point (real number) is difficult to understand for users, it can be converted into decimal floating point (real number).
  • Page 130: Specification Of Constants K, H And E (Decimal, Hexadecimal And Real Numbers)

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.2 Specification of Constants K, H and E (Decimal, Hexadecimal and Real Numbers) Specification of Constants K, H and E (Decimal, Hexadecimal and Real Numbers) When handling constants in a sequence program, use constants "K (decimal)", "H (hexadecimal)"...
  • Page 131: Character Strings

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.3 Character Strings Character Strings Character strings are classified into character string constants which directly specify character strings as operands in instructions and character string data. PLCs do not support character strings.
  • Page 132 FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.3 Character Strings 16 bits 16 bits M115 to M100 2nd character 1st character M115 to M100 2nd character 1st character M131 to M116 4th character 3rd character M131 to M116...
  • Page 133: Specification Of Digits For Bit Devices (Kn ***)

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.4 Specification of Digits for Bit Devices (Kn ***) Specification of Digits for Bit Devices (Kn ***) Handling of bit devices Devices which handle only the ON/OFF information such as X, Y, M and S are called bit devices. On the other hand, devices which handle numeric values such as T, C, D and R are called word devices.
  • Page 134: Specification Of Bit For Word Device [D .B]

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.5 Specification of Bit for Word Device [D .b] Specification of Bit for Word Device [D .b] By specifying a bit of a word device, the specified bit can be used as bit data. Only FX PLCs support this function.
  • Page 135: Indexing

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.7 Indexing Indexing The functions and structures of index registers are explained in detail in "2.10 Index Register [V and Z]". Refer to this section in advance. 3.7.1 Indexing in basic instructions Only FX...
  • Page 136: Indexing In Instructions

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.7 Indexing 3.7.2 Indexing in instructions Indication of instructions allowing indexing In the explanation of instructions, operands allowing indexing are indicated as shown in the table below. →...
  • Page 137 FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.7 Indexing 2. Indexing of operands in a 32-bit operation In a 32-bit instruction, it is also necessary to DMOVP X002 specify a 32-bit index register in the instruction. V4, Z4 When handling 32-bit data in a structured program, however, direct specification of 16-bit...
  • Page 138 FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.7 Indexing Display example of the timer current value A sequence to display the current value of timers T0 to T9 can be programmed using index registers. Digital switch inputs X003 to X000 for M8000...
  • Page 139: Indexing Example For Instructions Whose Number Of Times Of Use Is Restricted

    FXCPU Structured Programming Manual 3 How to Specify Devices and Constants in Instructions [Device & Common] 3.7 Indexing 3.7.3 Indexing example for instructions whose number of times of use is restricted By indexing the target device number with index registers V and Z, it is possible to change the target device number for each program.
  • Page 140: Operations Of Special Devices (M8000 And Later, D8000 And Later)

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Operations of Special Devices (M8000 and later, D8000 and later) Special Device List (M8000 and later, D8000 and later) This section explains types and functions of special auxiliary relays (indicated as "special M"...
  • Page 141 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Clock [M]8010 Unavailable Turns ON and OFF in 10 ms cycle (ON duration: 5 ms, OFF...
  • Page 142 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device PLC mode Does not turn ON the battery LED on the PLC panel even if M 8030 the battery voltage becomes low.
  • Page 143 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Step ladder and annunciator M 8040 Disables transfer between states.
  • Page 144 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Error detection (Refer to Chapter 5 for details.) [M]8060 I/O configuration error D8060...
  • Page 145 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Pulse width/Pulse period measurement [FX PLCs ] (Refer to the FX Structured Programming Manual [Basic &...
  • Page 146 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device RS instruction and computer link [ch1] (Refer to the data communication manual for details.) [M]8120 Unavailable RS instruction: Send wait flag...
  • Page 147 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Inverter communication function (Refer to the data communication manual for details.) [M]8150 Unavailable [M]8151...
  • Page 148 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Pulse catch Input X000 pulse catch M 8170 Input X001 pulse catch...
  • Page 149 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Counter: Up/down-counter counting direction (Refer to Section 2.6 for details.) M 8200 C200 M 8201...
  • Page 150 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device High speed counter: Up/down-counter monitor (Refer to Section 2.7 for details.) [M]8246 C246 [M]8247...
  • Page 151 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Unconnected I/O specification error (Refer to Chapter 5 for details.) and flag Real-time clock data loss error M8312 [M]8313 to [M]8315...
  • Page 152 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Timing clock and positioning (Refer to the position control manual for details.) [M]8330 DUTY instruction: Timing clock output 1 D8330...
  • Page 153 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Positioning (FX PLCs) (Refer to the position control manual for details.) [M]8370 [Y003] Pulse output monitor (ON:BUSY/OFF:READY)
  • Page 154 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device RS2 instruction [ch1] (Refer to the data communication manual for details.) [M]8400 Unavailable RS2[ch1] Send wait flag...
  • Page 155 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device -CF-ADP [ch1] (Refer to FX -CF-ADP User's Manual for details) [M]8400 to [M]8401 Unavailable...
  • Page 156 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device -ENET-ADP [ch1] (Refer to ENET-ADP Manual for details.) [M]8400 to [M]8403 Unavailable [M]8404...
  • Page 157 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Error detection (Refer to Chapter 5 for details.) [M]8430 to [M]8437 Unavailable M 8438...
  • Page 158 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) 2. FX PLCs Applicable model Number and name Operation and function Corresponding special device PLC status [M]8000...
  • Page 159 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Clock [M]8010 Unavailable Turns ON and OFF in 10 ms cycle (ON duration: 5 ms, OFF...
  • Page 160 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device PLC mode Does not turn ON the battery LED on the PLC panel even if M 8030 the battery voltage becomes low.
  • Page 161 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Step ladder and annunciator M 8040 Disables transfer between states.
  • Page 162 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Error detection (Refer to Chapter 5 for details.) [M]8060 I/O configuration error D8060...
  • Page 163 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Undefined [M]8090 [M]8091 [M]8092...
  • Page 164 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Communication link (Refer to the data communication manual for details.) [M]8120 Unavailable Send wait flag (no procedure)
  • Page 165 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Inverter communication function (Refer to the data communication manual for details.) [M]8154 Defined in each EXTR instruction D8154...
  • Page 166 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Pulse catch Input X000 pulse catch M 8170 Input X001 pulse catch...
  • Page 167 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Counter: Up/down-counter counting direction (Refer to Section 2.6 for details.) M 8200 C200 M 8201...
  • Page 168 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device High speed counter: Up/down-counter monitor (Refer to Section 2.7 for details.) [M]8246 C246 [M]8247...
  • Page 169 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) 3. FX PLCs Applicable model Number and name Operation and function Corresponding special device PLC status [M]8000...
  • Page 170 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Clock [M]8010 Unavailable Turns ON and OFF in 10 ms cycle (ON duration: 5 ms, OFF...
  • Page 171 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device PLC mode Does not turn ON the battery LED on the PLC panel even if M 8030 the battery voltage becomes low.
  • Page 172 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Step ladder and annunciator M 8040 Disables transfer between states.
  • Page 173 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Interrupt disable and pulse catch M 8050 (Input interrupt) disable...
  • Page 174 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Error detection (Refer to Chapter 5 for details.) [M]8060 I/O configuration error D8060...
  • Page 175 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Special adapter Communication setting latch M 8120 *5*7...
  • Page 176 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Pulse catch Input X000 pulse catch M 8170 Input X001 pulse catch...
  • Page 177 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device Counter: Up/down-counter counting direction (Refer to Section 2.6 for details.) M 8200 C200 M 8201...
  • Page 178 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Operation and function Corresponding special device High speed counter: Up/down-counter monitor (Refer to Section 2.7 for details.) [M]8246 C246 [M]8247...
  • Page 179: Special Data Registers (D8000 And Later)

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) 4.1.2 Special data registers (D8000 and later) 1. FX PLCs Applicable model Number and name Content of register Corresponding...
  • Page 180 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device PLC status [D]8007 Stores the number of times M8007 is set to ON.
  • Page 181 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Input filter Input filter value of X000 to X017 (X000 to X007 in FX D 8020 PLC main units)
  • Page 182 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Step ladder and annunciator [D]8040 ON state relay number 1 [D]8041...
  • Page 183 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Parallel link (Refer to the data communication manual for details.) [D]8070 Parallel link error check time: 500 ms [D]8071...
  • Page 184 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Pulse width/Pulse period measurement [FX PLCs ] (Refer to the FX Structured Programming Manual [Basic &...
  • Page 185 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Memory information [D]8101 Value converted into BCD 1 0 0...
  • Page 186 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device High speed counter comparison and high speed table [D]8130 HSZ instruction: High speed comparison table counter M8130...
  • Page 187 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Inverter communication function (Refer to the data communication manual for details.) Response waiting time in inverter communication [ch1] D 8150 Step number being processed in inverter communication...
  • Page 188 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Advanced function [D]8160 [D]8161 [D]8162...
  • Page 189 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Index register (Z1 to Z7 and V1 to V7) [D]8182 Value of register Z1 [D]8183...
  • Page 190 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Analog special adapter [FX ] (Refer to Subsection 4.2.18 for the applicability of each analog special adapter.) D 8260 to D 8269 1st special adapter...
  • Page 191 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Display module (FX -5DM, FX -7DM) function (Refer to the hardware manual of the PLC for details.) Control device (D) for display module...
  • Page 192 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Timing clock and positioning (Refer to the position control manual for details.) [D]8329 Unavailable [D]8330...
  • Page 193 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Timing clock and positioning (Refer to the position control manual for details.) D 8360 Low order [Y002] Current value register...
  • Page 194 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Interrupt program D 8393 Delay time M8393...
  • Page 195 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device RS2 instruction [ch1] (Refer to the data communication manual for details.) D 8400 RS2[ch1] Communication format setting [D]8401...
  • Page 196 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device MODBUS serial communication [ch1] (Refer to MODBUS serial communication Manual for details.) D 8400 Communication format D 8401...
  • Page 197 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device MODBUS serial communication [ch1, ch2] (Refer to MODBUS serial communication Manual for details.) D 8470 Lower MODBUS Device Mapping 1...
  • Page 198 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device -CF-ADP [ch1] (Refer to FX -CF-ADP User's Manual for details) [D]8400 to [D]8401 Unavailable...
  • Page 199 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device -ENET-ADP [ch1] (Refer to ENET-ADP Manual for details.) [D]8400 IP Address (Low-order) [D]8401...
  • Page 200 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Error detection (Refer to Chapter 5 for details.) Error code for serial communication error 2 [ch2] [D]8438 Cleared when the PLC power supply from OFF to ON.
  • Page 201 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) 2. FX PLCs Applicable model Number and name Content of register Corresponding special device PLC status The initial value is shown on the right (Unit: 1 ms)
  • Page 202 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device PLC status [D]8007 Stores the number of times M8007 is set to ON.
  • Page 203 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Input filter Input filter value of X000 to X017 (X000 to X007 in FX D 8020 PLCs)
  • Page 204 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Step ladder and annunciator [D]8040 ON state relay number 1 [D]8041...
  • Page 205 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Parallel link (Refer to the data communication manual for details.) [D]8070 Parallel link error check time: 500 ms [D]8071...
  • Page 206 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Memory information [D]8101 Unavailable 2 ...
  • Page 207 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device High speed counter comparison, high speed table and positioning [D]8130 HSZ instruction: High speed comparison table counter M8130...
  • Page 208 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Inverter communication function (Refer to the data communication manual for details.) [D]8150 [D]8151 Unavailable...
  • Page 209 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Advanced function Specification of low battery voltage detection flag for the D 8159 -BAT...
  • Page 210 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Index register (Z1 to Z7 and V1 to V7) [D]8182 Value of register Z1 [D]8183...
  • Page 211 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) 3. FX PLCs Applicable model Number and name Content of register Corresponding special device PLC status The initial value is shown on the right (Unit: 1 ms) (Transferred...
  • Page 212 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device PLC status [D]8007 Stores the number of times M8007 is set to ON.
  • Page 213 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Input filter Input filter value (0 to 15) of X000 to X007 D 8020 (Initial value: 10ms)
  • Page 214 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Step ladder and annunciator [D]8040 ON state relay number 1 [D]8041...
  • Page 215 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Parallel link (Refer to the data communication manual for details.) [D]8070 Parallel link error check time: 500 ms [D]8071...
  • Page 216 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device Special adapter Communication format setting D 8120 Station number setting...
  • Page 217 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.1 Special Device List (M8000 and later, D8000 and later) Applicable model Number and name Content of register Corresponding special device High speed table [D]8130 HSZ instruction: High speed comparison table counter M8130...
  • Page 218: Supplement Of Special Devices (M8000 And Later And D8000 And Later)

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) Supplement of Special Devices (M8000 and later and D8000 and later) This section explains how to use special devices provided to activate functions built in the PLC.
  • Page 219: Watchdog Timer Time [D8000]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.2 Watchdog timer time [D8000] The watchdog timer monitors the operation time of the PLC. If the PLC does not finish operation within the specified time, it turns ON the following LED and turns OFF all outputs.
  • Page 220: Power Interruption Detection Time [D8008, M8008 And M8007]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.4 Power interruption detection time [D8008, M8008 and M8007] 1. FX PLCs (AC power supply type) The table below shows the allowable instantaneous power interruption time in FX PLCs (AC power supply...
  • Page 221: Operation Cycle (Scan Time) Monitor [D8010 To D8012]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.5 Operation cycle (scan time) monitor [D8010 to D8012] D8010 to D8012 store the current value, minimum value and maximum value of the PLC scan time respectively (in units of 0.1 ms).
  • Page 222: Real-Time Clock [M8015 To M8019 And D8013 To D8019]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.7 Real-time clock [M8015 to M8019 and D8013 to D8019] 1.
  • Page 223: How To Set Real-Time Clock

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.8 How to set real-time clock The following two methods are available to set the real-time clock. 1.
  • Page 224 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 2. Method using a program 1) Method using the TWR instruction dedicated to time setting →...
  • Page 225: Input Filter Adjustment [D8020]([D8021])

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.9 Input filter adjustment [D8020]([D8021]) 1. In FX PLCs Inputs X000 to X017 have a digital filter circuit of 0 to 60 ms respectively.
  • Page 226 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 2. FX PLCs Inputs X000 to X017 have a digital filter circuit of 0 to 15 ms respectively. The digital filter constant is determined by the value in the range from 0 to 15 stored in the special data register D8020.
  • Page 227 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 1) Program example for adjusting the input filter When the program shown below is executed, the filter constant is changed to "0 ms". Because the C-R filter is provided in the hardware, however, the filter constant actually becomes the value shown in the table below when "0"...
  • Page 228 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 5. FX PLCs Inputs X000 to X007 have a digital filter circuit of 0 to 15 ms respectively. The digital filter constant is determined by the value in the range from 0 to 15 stored in the special data register D8020.
  • Page 229 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 6. FX PLCs Inputs X000 to X007 have a digital filter circuit of 0 to 15 ms respectively. The digital filter constant is determined by the value in the range from 0 to 15 stored in the special data register D8020.
  • Page 230: Battery [Batt (Bat)] Led Off Command [M8030]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.10 Battery [BATT (BAT)] LED OFF command [M8030] 1. Batteryless operation While M8030 remains ON, the battery LED does not turn ON even if the voltage of the battery used for memory backup becomes low.
  • Page 231 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4. Sequence program example for batteryless operation When the parameter setting for the batteryless operation mode is not available, create the sequence program shown below.
  • Page 232: Built-In Analog Variable Potentiometers [D8030, D8031, D8013]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.11 Built-in analog variable potentiometers [D8030, D8031, D8013] • Program for built-in analog variable potentiometers Program values for built-in analog variable potentiometers are stored in the following special data registers as numeric data within the range from 0 to 255 in accordance with the scale position.
  • Page 233: Clear Command [M8031 And M8032]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.12 Clear command [M8031 and M8032] For all devices (image memory) in the PLC, the non-latched area or latched area can be cleared. M8031 (Non-latched memory all clear) M8032 (Latched memory all clear) Device number...
  • Page 234: Independent Operation For Run/Stop Input [M8035 To M8037]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.15 Independent operation for RUN/STOP input [M8035 to M8037] When using external pushbutton switches to control the PLC's RUN/STOP mode, set the switches as shown below.
  • Page 235: Constant Scan Mode [M8039 And D8039] (Fixed Scan Time)

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4. RUN/STOP command from a programming tool 1) When using the programming software for personal computer The programming software has the remote RUN/STOP function for the PLC.
  • Page 236: Analog Expansion Boards [M8260 To M8279 And D8260 To D8279]

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.18 Analog expansion boards [M8260 to M8279 and D8260 to D8279] When the analog expansion board is connected, operations and functions are assigned to devices shown in the table below in accordance with the connection position.
  • Page 237 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 2. Special data register (D8260 to D8279) • FX Operation and function Number -2AD-BD -1DA-BD...
  • Page 238: Analog Special Adapters [M8260 To M8299 And D8260 To D8299] (Fx 3S /Fx 3G /Fx 3Gc /Fx 3U /Fx 3Uc Plcs)

    FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 4.2.19 Analog special adapters [M8260 to M8299 and D8260 to D8299] PLCs) When analog special adapters are connected, operations and functions are assigned to the devices shown in the table below in accordance with the number of connected analog special adapters.
  • Page 239 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) Operation and function Number -4AD-PT(W)-ADP -4AD-TC-ADP -4AD-PNK-ADP 1st analog special adapter M 8260 Temperature unit selection Temperature unit selection...
  • Page 240 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) • FX PLCs Operation and function Number -4AD-ADP -4DA-ADP -3A-ADP 1st analog special adapter M 8280 Ch1: Input mode switching...
  • Page 241 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) 2. Special data registers (D8260 to D8299) • FX PLCs Operation and function Number -4AD-ADP...
  • Page 242 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) Operation and function Number -4AD-PT(W)-ADP -4AD-TC-ADP -4AD-PNK-ADP 1st analog special adapter D 8260 Measured temperature Ch1 Measured temperature Ch1...
  • Page 243 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) • FX PLCs Operation and function Number -4AD-ADP -4DA-ADP -3A-ADP Applicable Ver.
  • Page 244 FXCPU Structured Programming Manual 4 Operations of Special Devices (M8000 and later, D8000 and later) [Device & Common] 4.2 Supplement of Special Devices (M8000 and later and D8000 and later) Operation and function Number -4AD-PT(W)-ADP -4AD-TC-ADP -4AD-PNK-ADP 1st analog special adapter D 8280 Measured temperature Ch1 Measured temperature Ch1...
  • Page 245: Errors

    FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs Errors This chapter explains error codes stored in special data registers when program errors occur in the PLC, and actions to be taken against errors. Support of error detection devices depends on the PLCs. →...
  • Page 246 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs 2. Operations of special devices for error detection Special auxiliary relays for error detection and special data registers for error detection operate under the relationship shown below. The error occurrence state can be checked by monitoring the contents of auxiliary relays and data registers from a programming tool or by using the PLC diagnosis function.
  • Page 247: Error Code List And Action

    Fit a noise filter onto the power supply line. Stops If the ERROR(ERR) LED does not turn OFF even after the above operation actions are taken, consult your local Mitsubishi Electric representative. 6103 I/O bus error (while M8069 is ON) Verify that extension cables are correctly connected.
  • Page 248 A built-in CC-Link/LT special function block EEPROM If the problem persists, something may be malfunctioning inside the writing time-out error occurred, or the built-in CC- PLC. Consult your local Mitsubishi Electric representative. 6115 Link/LT special function block configuration could not be completed normally in self CONFIG mode.
  • Page 249 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs Error operation Contents of error Action code at error occurrence Parameter error [M8064(D8064)] 0000 No error 6401 Program sum check error • STOP the PLC, and correctly set the parameters. 6402 Memory capacity setting error •...
  • Page 250 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs Error operation Contents of error Action code at error occurrence Circuit error [M8066(D8066)] 0000 No error The LD or LDI instruction is used continuously 9 6610 times or more. The number of ANB or ORB instructions is more than 6611 the number of LD or LDI instructions.
  • Page 251 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs Error operation Contents of error Action code at error occurrence Operation error [M8067(D8067)] 0000 No error • There is no jump destination for CJ or CALL instruction. • The label is undefined or outside the range from 6701 P0 to P4095 due to indexing.
  • Page 252 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs Error operation Contents of error Action code at error occurrence Operation error [M8067(D8067)] The measured value variation exceeds the limit. 6742 (ΔPV < -32768 or 32767 < ΔPV) The deviation exceeds the limit.
  • Page 253 Memory access error If the problem persists or if the memory cassette is not used, something may be malfunctioning inside the PLC. Consult your local Mitsubishi Electric representative. 6771 The memory cassette is not connected. Confirm that the memory cassette is attached correctly.
  • Page 254 If the problem persists or if the memory cassette is not used, Continues something may be malfunctioning inside the PLC. operation Consult your local Mitsubishi Electric representative. This error occurs in the execution of operation. • Review the program and check the contents of the operands used in applied instructions.
  • Page 255 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.1 FX3S/FX3G/FX3GC/FX3U/FX3UC PLCs operation Error bit Contents of error Action at error occurrence Special block error condition [D8166] Unit 0 access error Unit 1 access error This error occurs when an operation is executed or when the END instruction is executed.
  • Page 256: Fx 1S /Fx 1N /Fx 1Nc /Fx 2N /Fx 2Nc Plcs

    FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs PLCs 5.2.1 Error detection devices 1. Error detection (M8060 and later and D8060 and later) When some devices among M8060 to M8067 turn ON, D8004 stores the smallest device number and M8004 turns ON.
  • Page 257 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs 3. Error detection timing Error detection timing When power is When PLC mode Error item turned ON from switches from Other timing STOP to RUN M8060 I/O configuration error Checked Checked During operation...
  • Page 258: Error Code List And Action

    FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs 5.2.2 Error Code List and Action Error operation Contents of error Action code at error occurrence I/O configuration error [M8060(D8060)] Head unconnected I/O device number Example: When X020 is unconnected 1 0 2 0 Value converted into BCD Unconnected I/O relay numbers are programmed.
  • Page 259 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs Error operation Contents of error Action code at error occurrence PLC/PP communication error [M8062(D8062)] 0000 No error 6201 Parity error, overrun error or framing error Confirm that the equipment connected to the programming panel 6202 Communication character error Continues...
  • Page 260 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs Error operation Contents of error Action code at error occurrence Syntax error [M8065(D8065)] 0000 No error Incorrect combination among instruction, device 6501 symbol and device number "OUT T" or "OUT C" is not provided before the set 6502 value.
  • Page 261 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs Error operation Contents of error Action code at error occurrence Circuit error [M8066(D8066)] 0000 No error The LD or LDI instruction is used continuously 9 6601 times or more. •...
  • Page 262 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs Error operation Contents of error Action code at error occurrence The following instructions cannot be used between 6626 STL and RET: MC, MCR, I, SRET and IRET 6627 The RET instruction is not provided.
  • Page 263 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs Error operation Contents of error Action code at error occurrence Operation error [M8067(D8067)] 0000 No error • There is no jump destination for CJ or CALL instruction. • A label is provided after the END instruction.
  • Page 264 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.2 FX1S/FX1N/FX1NC/FX2N/FX2NC PLCs Error operation Contents of error Action code at error occurrence Operation error [M8067(D8067)] The measured value variation exceeds the limit. 6742 (ΔPV < -32768 or 32767 < ΔPV) The deviation exceeds the limit.
  • Page 265: Fx 0S /Fx /Fx 0N /Fx U /Fx 2C Plcs

    FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs PLCs 5.3.1 Error detection devices 1. Error detection (M8060 and later and D8060 and later) When some devices among M8060 to M8067 turn ON, D8004 stores the smallest device number and M8004 turns ON.
  • Page 266 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs 3. Error detection timing Error detection timing When power is When PLC mode Error item turned ON from switches from Other timing STOP to RUN M8060 I/O configuration error Checked Checked During operation...
  • Page 267: Error Code List And Action

    FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs 5.3.2 Error Code List and Action Error operation Contents of error Action code at error occurrence I/O configuration error [M8060(D8060)] Head unconnected I/O device number Example: When X020 is unconnected 1 0 2 0 Value converted into BCD Unconnected I/O relay numbers are programmed.
  • Page 268 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs Error operation Contents of error Action code at error occurrence PLC/PP communication error [M8062(D8062)] 0000 No error 6201 Parity error, overrun error or framing error 6202 Communication character error Continues Confirm that the equipment connected to the programming panel 6203...
  • Page 269 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs Error operation Contents of error Action code at error occurrence Syntax error [M8065(D8065)] 0000 No error Incorrect combination among instruction, device 6501 symbol and device number "OUT T" or "OUT C" is not provided before the set 6502 value.
  • Page 270 FXCPU Structured Programming Manual 5 Errors [Device & Common] 5.3 FX0S/FX0/FX0N/FXU/FX2C PLCs Error operation Contents of error Action code at error occurrence Operation error [M8067(D8067)] 0000 No error • There is no jump destination for CJ or CALL instruction. • A label is provided after the END instruction.
  • Page 271: Types And Setting Of Parameters

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] Types and Setting of Parameters Setting of parameters means setting of the environment where the PLC operates. Almost all PLCs can be used with factory default values. When it is necessary to add an optional memory, set the comment capacity, set the communication condition for serial ports, etc., however, change the parameter setting using a programming tool such as personal computer.
  • Page 272: Parameter List

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.1 Parameter List Parameter List The following items can be set in the parameter setting. 1. FX PLCs Classification Item Description This parameter specifies the maximum value for the number of steps to which a sequence program can be input.
  • Page 273 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.1 Parameter List Classification Item Description This parameter sets protection to prevent erroneous reading and incorrect writing of a sequence program. The keyword protection (8digits), keyword protection (16digits) and customer keyword can Keyword be specified in alphanumeric characters A to F and 0 to 9.
  • Page 274 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.1 Parameter List 3. FX PLCs Classification Item Description This parameter specifies the maximum value for the number of steps to which a sequence program can be input. Memory This item is not available in FX PLCs.
  • Page 275: Parameter Initial Values

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.2 Parameter Initial Values Parameter Initial Values 1. FX PLCs Item Initial value Setting range Program Capacity (steps) 16000 Comment Capacity (blocks) File register Capacity (blocks) Memory Refer to Section Special Function Block Not used...
  • Page 276 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.2 Parameter Initial Values 3. FX Item Initial value Setting range 16000 Program Capacity (steps) 4000 Memory Refer to Section Comment Capacity (blocks) Capacity 6.3. File register Capacity (blocks) Supplement relay [M] cannot be changed cannot be changed...
  • Page 277: Memory Capacity Setting Range

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.3 Memory Capacity Setting Range Memory Capacity Setting Range 1. FX PLCs : Built-in memory capacity : Can be set by change of parameter setting Built-in CC-Link/ Memory Comment File register...
  • Page 278 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.3 Memory Capacity Setting Range Caution on setting the memory capacity • When one block is set in each capacity setting, the memory capacity is reduced by 500 steps. Each setting should satisfy the following expression: Positioning Memory capacity...
  • Page 279: Compatible Optional Memory Models

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.4 Compatible Optional Memory Models Compatible Optional Memory Models 1. FX PLCs Maximum number Allowable number Model name Memory type Remarks of steps of times of writing -FLROM-64 64000 Flash memory...
  • Page 280 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.4 Compatible Optional Memory Models Model name FX-EEPROM-4 -EEPROM-8L (2000 steps maximum) FX-EEPROM-8 FX-EEPROM-16 FX-EPROM-8 FX-RAM-8 -ROM-E1 (with extension function) -EEPROM-16 -EEPROM16C (with clock) -ROM-CE1 (with extension function and clock) 4.
  • Page 281: Keyword

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.5 Keyword Keyword By registering entry codes in a PLC, it is possible to restrict the PLC program change function, monitor function and current value change function of programming tools, display modules and display units (access restriction).
  • Page 282 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.5 Keyword 3. Keyword setting and access restriction Setting status Access restriction The following operations are enabled in accordance with the selected protection level. Once the restriction is set, it cannot be reset any more. For resetting the restriction or for writing programs again to the PLC, all-clear the PLC memory.
  • Page 283: Registering And Changing Keywords

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.5 Keyword 6.5.2 Registering and changing keywords This subsection explains the operating procedures of GX Works2. Registering and changing the keywords 1. Select [Online]-[Password/Keyword]-[New] to open the "New Keyword Registration" dialog box.
  • Page 284 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.5 Keyword Writing a program to a PLC in which the keywords are registered 1. Select [Online]-[Write to PLC] to open the "Input Current keyword" dialog box. 2.
  • Page 285 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.5 Keyword Resetting the keywords, and validating the reset keywords (keyword protect) 1. Select [Online]-[Password/Keyword]-[Disable] to open the "Keyword Disable" dialog box. 2. Input the keyword protect (8 digits), keyword protect (16 digits) and customer keyword. Set item Contents of setting Remarks...
  • Page 286: Parameter Setting By Gx Works2

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Parameter setting by GX Works2 This subsection explains the parameter setting procedures using GX Works2. The screens explained here are provided for FX PLCs.
  • Page 287 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Setting the memory capacity Set item Contents of setting Setting range Memory Capacity Select the program capacity. Initial value: 16000 The symbolic information capacity when the built-in memory or a memory cassette Symbolic Information is used is displayed here based on the "Memory Capacity"...
  • Page 288 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Setting devices The "Device" tab is available only in FX , FX , FX , FX , FX and FX PLCs. 1.
  • Page 289 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Setting the PLC system (1) The "PLC System(1)" tab is available only in FX , FX , FX , FX , FX , FX , FX , FX...
  • Page 290 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Setting the PLC system (2) The "PLC System(2)" tab is available only in FX , FX , FX , FX , FX , FX , FX , FX...
  • Page 291 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Setting special function block The "Special Function Block" tab is available only in FX , FX PLCs. 1. Click the "Special Function Block" tab, and then set the special function block/unit name and built-in CC/Link.
  • Page 292 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 2. On the "Special Function Block Settings" dialog box, set the initial values of the selected special function block/unit. On the "Special Function Block" tab, select the unit number and click the [Setting] button to display the "Special Function Block Settings"...
  • Page 293 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 4. On the "Built-in CC-Linc/LT Setting" dialog box, set the built-in CC-Link/LT. The " Built-in CC-Linc/LT Setting" tab is available only in FX -32MT-LT-2 PLC.
  • Page 294 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Setting positioning The positioning setting function is available in all FX PLCs and FX PLC Ver. 2.20 or later. 1. Click the "Positioning" tab. The "Positioning"...
  • Page 295 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 3. Click the [Individual Setting] button to display the "Positioning Instruction Setting" dialog box. On this dialog box, set the positioning table for each pulse output destination. Set item Contents of setting Setting range...
  • Page 296 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Y002 is not set in FX PLC (14-point and 24-point type) and FX PLC. Note that this item can only be set if two high-speed output special adapter adapters are connected to the FX PLC.
  • Page 297 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 2. On the "Ethernet Port" tab, click the "Open Setting" button. On the "Ethernet Port Open Setting" dialog box, set the protocol, open system and others. Up to four connections can be set up.
  • Page 298 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 4. On the "Ethernet Port" tab, click the "Time Setting" button. On the "Ethernet Port Time Setting" dialog box, set the SNTP server IP address and others. Set item Contents of setting Setting range...
  • Page 299 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 6. On the "Ethernet Port" tab, click the "Log Record Setting" button. On the "Ethernet Port Log Record Setting" dialog box, set the error log save destination and others. The user device (D, R) is used to save the error log, etc.
  • Page 300: Network Parameter

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 6.6.2 Network parameter The following network parameter can be set in parameter setting. • CC-Link The CC-Link parameter is available in FX PLCs Ver.
  • Page 301 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 2. Click "Operation Setting" in the "Setting Contents" column on the "Network Parameter - CC- Link Module Configuration" dialog box. Set item Contents of setting Setting range Parameter Name...
  • Page 302 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 4. Click "Station Information" in the "Setting Contents" column on the "Network Parameter - CC-Link Module Configuration" dialog box. Set item Contents of setting •...
  • Page 303 FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 6. Click "Initial Setting" in the "Setting Contents" column on the "Network Parameter - CC-Link Module Configuration" dialog box. Set item Contents of setting Setting range : 1 to 16...
  • Page 304: Transferring Parameters

    FXCPU Structured Programming Manual 6 Types and Setting of Parameters [Device & Common] 6.6 Parameter setting by GX Works2 Set item Contents of setting Setting range Write Device Select the device to which the initial setting execution contents are written. RY, RWw Set the device number to which the initial setting execution contents are written.
  • Page 305: Other Functions

    FXCPU Structured Programming Manual 7 Other Functions [Device & Common] 7.1 Symbolic information storage and block password Other Functions Symbolic information storage and block password 7.1.1 Storage of symbolic information The FX PLC Ver. 3.00 or later can store symbolic information (data indicating the program configuration such as structure and labels).
  • Page 306 FXCPU Structured Programming Manual 7 Other Functions [Device & Common] 7.1 Symbolic information storage and block password MEMO...
  • Page 307: Warranty

    FXCPU Structured Programming Manual [Device & Common] Warranty Warranty Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range 2. Onerous repair term after discontinuation of If any faults or defects (hereinafter "Failure") found to be production the responsibility of Mitsubishi occurs during use of the Mitsubishi shall accept onerous product repairs for...
  • Page 308: Revision History

    FXCPU Structured Programming Manual [Device & Common] Revision History Revision History Date of preparation Revision Description 1/2009 First Edition. 7/2009 Special auxiliary relay and special data register for FX -CF-ADP instructions was added. 2/2010 • Manual name of a related manual was changed. •...
  • Page 310 FXCPU Structured Programming Manual Device & Common HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN FX-KP-DK-E MODEL 09R925 MODEL CODE JY997D26001L Effective April 2015 (MEE) Specifications are subject to change without notice.

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents