Mitsubishi Electric MELSEC-L LD40PD01 User Manual

MELSEC-L Flexible High-Speed I/O Control Module User's Manual
-LD40PD01
-Flexible High-Speed I/O Control Module Configuration tool (SW1DNN-FLEXIOP-E)

SAFETY PRECAUTIONS

WARNING
Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.
CAUTION
Indicates that incorrect handling may cause hazardous conditions, resulting in minor or moderate injury or property damage.
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle
The precautions given in this manual are concerned with this product only. For the safety precautions of the programmable
controller system, refer to the user's manual for the CPU module used.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to serious
consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future reference.
[Design Precautions]
WARNING
In an output circuit, when a load current exceeding the rated current or an overcurrent caused by a load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an external safety circuit, such as a fuse.
Do not write any data to the "system area" and "write-protect area" (R) of the buffer memory in the intelligent function module. Also, do not use any "use prohibited" signals as an output signal from the programmable controller CPU to the intelligent function module. Doing so may cause malfunction of the programmable controller system.
Outputs may remain on or off due to a failure of a transistor for external output. Configure an external circuit for monitoring output signals that could cause a serious accident.
When changing data and operating status of the running module from an external device such as a personal computer connected, configure an interlock circuit external to the programmable controller to ensure that the entire system always operates safely. In addition, before performing online operations, determine corrective actions to be taken between the external device and the module in case of a communication failure due to poor contact of cables.
[Design Precautions]
CAUTION
Do not install the control lines or communication cables together with the main circuit lines or power cables. Keep a distance of 150mm or more between them. Failure to do so may result in malfunction due to noise.
During control of an inductive load such as a lamp, heater, or solenoid valve, a large current (approximately ten times greater than normal) may flow when the output is turned from off to on. Therefore, use a module that has a sufficient current rating.
1
[Installation Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before mounting or removing a module. Failure to do so may result in electric shock or cause the module to fail or malfunction.
[Installation Precautions]
CAUTION
Use the programmable controller in an environment that meets the general specifications in the Safety Guidelines provided with the CPU module or head module. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of the product.
To interconnect modules, engage the respective connectors and securely lock the module joint levers until they click. Incorrect interconnection may cause malfunction, failure, or drop of the module.
Do not directly touch any conductive parts and electronic components of the module. Doing so can cause malfunction or failure of the module.
[Wiring Precautions]
WARNING
Shut off the external power supply (all phases) used in the system before wiring. Failure to do so may result in electric shock or cause the module to fail or malfunction.
When connecting a differential output terminal to a differential receiver of a drive unit, connect the high-speed output common terminal to the differential receiver common terminal of the drive unit. Failure to do so may cause the module to fail or malfunction because of the potential difference that occurs between the high-speed output common terminal and the differential receiver common terminal.
2
[Wiring Precautions]
CAUTION
Individually ground the FG and LG terminals of the programmable controller with a ground resistance of 100 ohms or less. Failure to do so may result in electric shock or malfunction.
Check the rated voltage and terminal layout before wiring to the module, and connect the cables correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire or failure.
Connectors for external devices must be crimped with the tool specified by the manufacturer or must be correctly soldered. Incomplete connections may cause short circuit, fire, or malfunction.
Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled, resulting in damage to the module or cables or malfunction due to poor contact.
Tighten the connector screws within the specified torque range. Undertightening can cause drop of the screw, short circuit, fire, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, fire, or malfunction.
Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can cause a fire, failure, or malfunction.
A protective film is attached to the top of the module to prevent foreign matter, such as wire chips, from entering the module during wiring. Do not remove the film during wiring. Remove it for heat dissipation before system operation.
Ground the shield cable on the encoder side (relay box). Always ground the FG and LG terminals to the protective ground conductor. Failure to do so may cause malfunction.
Mitsubishi programmable controllers must be installed in control panels. Connect the main power supply to the power supply module in the control panel through a relay terminal block. Wiring and replacement of a power supply module must be performed by qualified maintenance personnel with knowledge of protection against electric shock. For wiring methods, refer to the MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection).
[Startup and Maintenance Precautions]
WARNING
Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the connector screws. Failure to do so may result in electric shock.
3
[Startup and Maintenance Precautions]
CAUTION
Do not disassemble or modify the module. Doing so may cause failure, malfunction, injury, or a fire.
Shut off the external power supply (all phases) used in the system before mounting or removing a
module. Failure to do so may cause the module to fail or malfunction.
After the first use of the product (module and display unit), do not connect/disconnect the product more than 50 times (in accordance with IEC 61131-2). Exceeding the limit may cause malfunction.
Tighten the connector screws within the specified torque range. Undertightening can cause drop of the component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short circuit, or malfunction.
Before handling the module, touch a conducting object such as a grounded metal to discharge the static electricity from the human body. Failure to do so may cause the module to fail or malfunction.
When performing online operations of the running module from an external device such as a personal computer connected, read the relevant manuals carefully and ensure that the operation is safe before proceeding.
Before changing any setting of the module, read the relevant manuals carefully, ensure the safety, and change the operating status of the CPU module to STOP. Especially when operating the module in the network system, ensure the safety thoroughly because controlled machines are likely to be moved inadvertently. Improper operation may damage machines or cause accidents.
[Disposal Precautions]
CAUTION
When disposing of this product, treat it as industrial waste.
4

CONDITIONS OF USE FOR THE PRODUCT

(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL
RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY
INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE
OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR
WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL
BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the PRODUCT in one or
more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific
applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or
other safety features which exceed the general specifications of the PRODUCTs are required. For details, please
contact the Mitsubishi representative in your region.
5

INTRODUCTION

Thank you for purchasing the Mitsubishi Electric MELSEC-L series programmable controllers. This manual describes the
functions and programming of a flexible high-speed I/O control module.
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the
functions and performance of the MELSEC-L series programmable controller to handle the product correctly.
When applying the program examples introduced in this manual to an actual system, ensure the applicability and confirm that
it will not cause system control problems.
Relevant product
LD40PD01
Unless otherwise specified, this manual describes the program examples in which the I/O numbers of X/Y00
to X/Y1F are assigned for a flexible high-speed I/O control module. For I/O number assignment, refer to the
following. MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)

COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES

Method of ensuring compliance
To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other
machinery or equipment, certain measures may be necessary. Please refer to one of the following manuals.
• MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
• MELSEC-L CC-Link IE Field Network Head Module User's Manual
• Safety Guidelines (This manual is included with the CPU module or head module.)
The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives.
Additional measures
To ensure that this product maintains EMC and Low Voltage Directives, please refer to the following. Page 37 External wiring precautions
6
MEMO
7

CONTENTS

SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
INTRODUCTION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
MANUAL PAGE ORGANIZATION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
PACKING LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
CHAPTER 1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE 15
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2 Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
CHAPTER 2 PART NAMES 21
CHAPTER 3 SPECIFICATIONS 23
3.1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Number of parameter settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.3 Function List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.4 List of I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.5 List of Buffer Memory Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
CHAPTER 4 PROCEDURES BEFORE OPERATION 32
CHAPTER 5 SYSTEM CONFIGURATION 34
5.1 Overall Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.2 Applicable System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.3 Restrictions When the Flexible High-Speed I/O Control Module Is Connected to the Head Module . . . . 35
CHAPTER 6 INSTALLATION AND EXTERNAL WIRING 36
6.1 Installation Environment and Installation Position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.2 External Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
External wiring precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Connector for external devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Interface with external devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Connectable encoders. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
6.3 Examples of Wiring Between a Controller and External Input Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Example of external wiring with a controller (Sync load type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Example of external wiring with a controller (Source load type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
6.4 Example of External Wiring Between the Flexible High-speed I/O Control Module and an Encoder . . . .52
Example of external wiring with an open collector output type encoder (24VDC). . . . . . . . . . . . . . . . . . . . . . . . 52
Example of external wiring with a line driver (equivalent to AM26LS31) encoder. . . . . . . . . . . . . . . . . . . . . . . . 54
Example of external wiring with the SSI encoder (serial communication) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
6.5 Example of External Wiring with External Output Terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Example of external wiring with output terminals (Sink output type) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
Example of external wiring with differential receivers (Differential output type) . . . . . . . . . . . . . . . . . . . . . . . . . 57
8
CHAPTER 7 FUNCTIONS 58
7.1 Hardware Logic Control Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
7.2 Error History Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
7.3 Module Error Collection Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
7.4 Error Clear Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
CHAPTER 8 FUNCTIONS OF THE CONFIGURATION TOOL 63
8.1 How to Install and Uninstall the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
8.2 Starting and Exiting the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
8.3 Switching the Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
8.4 Window Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Navigation window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Element Selection window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Work window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Map display window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
8.5 List of Menus of the Configuration Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
8.6 Project Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Creating a new project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Opening a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Saving a project file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
8.7 Windows for Creating the Hardware Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Hardware logic outline window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Multi function counter block detail window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
How to use blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
8.8 Library Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Library operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
8.9 Online Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Writing data to the module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Reading data from the module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Verifying with the module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Module operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
8.10 Debug Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Simulation function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
8.11 Help Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Checking the version of the configuration tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
CONTENTS
CHAPTER 9 CREATING A HARDWARE LOGIC 103
9.1 Main Blocks in the Hardware Logic Outline Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
External input block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Y device terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
OUT terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Parallel encoder block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
SSI encoder block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Logical operation block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
External output block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
SI device terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
9.2 Multi Function Counter Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
9
Internal blocks of multi function counter blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
Input terminal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Latch input terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Event input terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Input signal event detection block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Latch event detection block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Counter timer block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Comparison block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Cam switch block. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Set/reset block. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Output terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Event output terminal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Cam switch output terminal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
9.3 Intelligent Function Module Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
CHAPTER 10 BLOCK LINK EXAMPLES 172
10.1 Coincidence Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
10.2 One-shot Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
10.3 Event Generation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
10.4 Cam Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
10.5 PWM Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
10.6 Fixed Cycle Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
10.7 Latch Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
10.8 Ratio Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196
10.9 Pulse Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
CHAPTER 11 SETTINGS 204
11.1 Adding the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
11.2 Switch Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
11.3 Auto Refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
CHAPTER 12 DISPLAY UNIT 207
12.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
12.2 Checking and Clearing Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
CHAPTER 13 PROGRAMMING 210
13.1 Programming Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
13.2 When the Module Is Used with the Standard System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
13.3 When the Module Is Connected to a Head Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Operations of the flexible high-speed I/O control module when the head module is connected . . . . . . . . . . . . 229
CHAPTER 14 TROUBLESHOOTING 231
14.1 Checking Error Codes in the Module's Detailed Information Window of GX Works2. . . . . . . . . . . . . . . .231
14.2 Checking Error Codes with Latest Error Code (Un\G100). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
14.3 Checking Error Codes with the Module Error Collection Function of GX Works2 . . . . . . . . . . . . . . . . . . 233
14.4 Troubleshooting with LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
RUN LED is flashing or turns off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
ERR. LED turns on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
14.5 Troubleshooting by Symptom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Inputs from external devices are not performed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
10
Incorrect inputs from external devices are performed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Outputs to external devices are not performed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
The hardware logic does not function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
A multi function counter does not start counting or does not count properly. . . . . . . . . . . . . . . . . . . . . . . . . . .236
Interrupt requests are not properly sent to the CPU module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
14.6 List of Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
14.7 Checking the Status of the Flexible High-speed I/O Control Module with System Monitor . . . . . . . . . . . 239
APPENDICES 240
Appendix 1 Details of I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Input signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Output signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Appendix 2 Details of Buffer Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
Appendix 3 How to Get the Configuration Tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Appendix 4 Checking Serial Number and Function Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Appendix 5 Added and Changed Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254
Appendix 6 External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
INDEX 256
REVISIONS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .258
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .259
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .260
CONTENTS
11

RELEVANT MANUALS

CPU module user's manual
Manual name [Manual number]
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) [SH-080890ENG]
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals) [SH-080889ENG]
Head module user's manual
Manual name [Manual number]
MELSEC-L CC-Link IE Field Network Head Module User's Manual [SH-080919ENG]
MELSEC-L SSCNET/H Head Module User's Manual [SH-081152ENG]
Operating manual
Manual name [Manual number]
GX Works2 Version 1 Operating Manual (Common) [SH-080779ENG]
GX LogViewer Version 1 Operating Manual [SH-080915ENG]
Description
Specifications of the CPU modules, power supply modules, display unit, branch module, extension module, SD memory cards, and batteries, information on how to establish a system, maintenance and inspection, and troubleshooting
Functions and devices of the CPU module, and programming
Description
Specifications, procedures before operation, system configuration, installation, wiring, settings, and troubleshooting of the head module
Specifications, procedures before operation, system configuration, installation, wiring, settings, and troubleshooting of the head module
Description
System configuration, parameter settings, and online operations of GX Works2, which are common to Simple projects and Structured projects
System configuration, functions, and operating methods of GX LogViewer
12

MANUAL PAGE ORGANIZATION

An icon displayed here indicates the window where the terminal or block is used.
Outline
Multi function
Pages describing the hardware logic are organized as shown below.
The following illustration is for explanation purpose only, and should not be referred to as an actual documentation.
The meaning of each icon is as follows.
Icon Description
The "Outline" icon indicates that the terminal or block is the one for the hardware logic outline window.
The "Multi function" icon indicates that the terminal or block is the one for multi function counter block detail windows.
13

TERMS

Unless otherwise specified, this manual uses the following terms.
Ter m Description
Buffer memory A memory in an intelligent function module, where data (such as setting values and monitoring values) exchanged with
a CPU module are stored
Configuration tool The abbreviation for the configuration tool for flexible high-speed I/O control modules (SW1DNN-FLEXIOP-E)
Display unit A liquid LCD to be attached to the CPU module
Execution memory The memory in a flexible high-speed I/O control module where the hardware logic is written
External wiring Wiring between a flexible high-speed I/O control module and external devices
Flash ROM A non-volatile memory to which the hardware logic can be written. Although the number of writes to a flash ROM is
limited, the written hardware logic is not deleted even after the power off and automatically read at the power-on.
Flexible high-speed I/O control module
GX LogViewer The software for visually displaying execution results of the simulation function
GX Works2 The product name of the software package for the MELSEC programmable controllers
Hardware logic A control logic that users create graphically combining inputs, outputs, logical operation circuits, and counters with the
Head module The Abbreviation for the LJ72GF15-T2 CC-Link IE Field Network head module
Link To connect blocks or terminals on the configuration tool
Programming tool Another name for GX Works2
The abbreviation for the MELSEC-L series flexible high-speed I/O control module LD40PD01
configuration tool

PACKING LIST

The following items are included in the package of this product. Before use, check that all the items are included.
Flexible high-speed I/O control module
Before Using the Product
Module
14
1 FLEXIBLE HIGH-SPEED I/O CONTROL
++
Microcomputer board FPGA board
Flexible high-speed I/O control module
Input module
Output module
Counter module
MODULE
For the flexible high-speed I/O control module, users can easily create a high-speed, complicated hardware logic independent
from the CPU module by graphically combining input/outputs, logical operation circuits, and counters with the configuration
tool.
1.1 Features
Controls that have been performed using a microcomputer board or an FPGA board or combining several modules can be
performed only with the flexible high-speed I/O control module.
• High-speed, high-response control with μs orders
• Controls with stable response time
• Logic controls that requires rapidity
• Measurement control with sensor inputs
• Controls triggered by external inputs
1
By using this module instead of a microcomputer board or an FPGA board, which cannot be supplied steadily and constantly
due to their high introduction cost and design cost, users can configure a system only with a programmable controller,
reducing man-hours and the total system cost.

1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE

1.1 Features

15
High-speed, stable I/O response
Flexible high-speed I/O control module
The output variation depending on input can be reduced.
Existing programmable controller
Flexible high-speed I/O control module
High-speed operation processing of hardware
Transmission via bus
CPU module operation
Input
Output
Input
Output
Input
Output
Input
Output
Input 1
Input 2
Input 3
Input 4
Input 5
Output 1
Output 2
Output 3
Output 4
Output 5
Control 1
Control 2
Distribution
Wired OR
UP/DOWN
[↑] PRESET
[↓] LATCH
RUN
STOP
CLK 10MHz
SET
RESET
Encoder
Sensor
Counter
NG output
Interrupt
Counter
Trigger
Output
Trigger
Output
OFF time
ON time
Sensor
NG output
Check value
"> Check value" "= ON time"
"= OFF time"
One-shot pulse output controlLength measurement monitor
Because the hardware logic inside the module performs controls without relying on the operation processing time and the bus
transmission time of the CPU module, high-speed, stable I/O responses can be performed. As a result, variations of outputs to
inputs can be reduced.
Flexible controls
I/O signals can be flexibly assigned.
I/Os can be flexibly controlled with high-accuracy counters and timers.
16
1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE
1.1 Features
Easy designing - select and connect
100ns 1us 10us 100us 1ms
Selecting DebuggingSetting parametersConnecting
Simulation data
Execute the simulation with the module.
Check the result with GX LogViewer.
Step unit time
Step
Input 1Input 1Input 1 Input 2Input 2Input 2 Input 3Input 3Input 3 • • •
User can easily create a hardware logic with intuitive actions of "selecting" and "connecting".
Simulation function
The operation of a created hardware logic can be checked using simulation data instead of external input signals.
1
1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE
1.1 Features
17
Filter for eliminating noise
The timing variation due to electronic components can be adjusted.
Output A
Output B
Output C
Output D
Variation in output timing
Without delay adjustment
No variation
With delay adjustment
A filter for reducing external noise has been implemented for external inputs. This filter eliminates chattering of input pulses.
Delay adjustment of output timing
The delay adjustment function has been implemented for external outputs. The delay adjustment function adjusts the output
timing.
Interrupt function
When a signal that triggers an interrupt is detected, the flexible high-speed I/O control module will send an interrupt request to
the CPU module.
The flexible high-speed I/O control module enables a flexible, high-speed interrupt control with this function.
18
1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE
1.1 Features
1.2 Application Example
Light sensor
Pulse
Example: Filling process (container type identification control)
Encoder
Drill
Coincidence output (inverter stop)
Control example: Drilling process (fixed-feed control)
Inverter
Counter input
The flexible high-speed I/O control module realizes the following applications.
Pulse measurement
Pulses can be measured with a measurement resolution of 25ns. Pulse widths (ON width and OFF width) of pulse signals can
be measured with a high degree of accuracy. This measurement can be applied to variable pulse measurement applications,
such as the workpiece length measurement and control of transportation and machining speeds in each carrier device and
machining equipment.
1
Coincidence output
The coincidence output enables a desired fixed-feed control comparing a preset compare value and an input count value.
1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE

1.2 Application Example

19
Cam switch output
ON
OFF
ON
OFF
ON
OFF
1000 2000 3000 4000 5000 6000 7000 8000
Output 1
Output 2
Output 3
Present count value
OFF
ON
Dim
Bright
Power for the lighting
LED light
PWM signal
PWM output ON time
PWM output cycle time
PWM output ON time
Illuminance
Short
Long
LED light control with a PWM signal
Inverter circuit
According to an input count current value, outputs can be turned on or off at preset points without a program. ON/OFF
controls can be performed with greater accuracy without being affected by scan time.
PWM output
PWM of 2MHz at a maximum can be output. The duty ratio can be changed in increments of 25ns, enabling a smooth output
control. With PWM outputs, a dimming control with duty ratio changes can be performed.
20
1 FLEXIBLE HIGH-SPEED I/O CONTROL MODULE
1.2 Application Example
2 PART NAMES
(1)
(2)
(4)
(1)
(7) (1)
(5)
(6)
(3)
This chapter lists the part names of the flexible high-speed I/O control module.
No. Name Description
(1) Module joint lever A lever for connecting two modules
(2) RUN LED This LED indicates the operating status.
(3) ERR. LED This LED indicates the error status.
(4) Indicator LED This LED indicates the I/O status of external I/O terminals.
LED0 (Upper section)
LED1 (Lower section)
(5) Connector for external devices (40 pins) A connector used to connect encoders and control devices. For the terminal layout, refer to the
(6) DIN rail hook A hook used to mount the module to a DIN rail
(7) Serial number marking Displays the serial number printed on the rating plate.
*1 For differential output terminals, the LED indicates the ON/OFF status of each differential output+ signal.
On: Normal operation Flashing: During simulation Off: When 5V power off or a watchdog timer error has occurred
On: An error has occurred. Off: Normal operation
This LED indicates the input status of each external input terminal.
• On: A voltage has been applied.
• Off: No voltage has been applied.
0 to B indicate external input terminals (IN 0 to IN B).
This LED indicates the output status of each external output terminal.
• On: A signal output is on.
• Off: A signal output is off.
0 to D indicate the following external output terminals.
• 0 to 7: OUT 0 to OUT 7
• 8 to D: OUT 0_DIF to OUT 5_DIF
following. Page 43 Interface with external devices
*1
2

2 PART NAMES

21
MEMO
22
2 PART NAMES
3 SPECIFICATIONS
This chapter describes general specifications, performance specifications, functions, I/O signals, and buffer memory areas.
3.1 General Specifications
For the general specifications of the flexible high-speed I/O control module, refer to the following. Safety Guidelines, provided with the CPU module or head module
3

3 SPECIFICATIONS

3.1 General Specifications

23
3.2 Performance Specifications
The following table lists the performance specifications of the flexible high-speed I/O control module.
Item Specifications
Differential DC
Number of input points 12 points (common for 5VDC/24VDC/differential)
Number of output points 6 points 8 points (5 to 24VDC, 0.1A/point)
Number of interrupts 8 points
Input response time 1μs or less
Output response time 1μs or less
Pulse input speed Max. 8Mpps (2MHz) Max. 200kpps (200kHz)
Pulse output speed Max. 8Mpps (2MHz) Max. 200kpps (200kHz)
*1
Main block
External input block
Y device terminal Outputs the ON/OFF states of General command 0 to General command F (Y10 to
OUT terminal Outputs the same signal as the one to be output from the external output block.
Parallel encoder block
SSI encoder block
Multi function counter block
Logical operation block
External output block
SI device terminal Interrupt to a CPU module
Logic Select Inverted, not inverted
Filter Time General-purpose
input:
Pulse input: 10kpps, 100kpps, 200kpps, 500kpps, 1000kpps, 2000kpps,
Initial State Low, High
Y1F) as signals.
Input Data Type Pure binary, Gray code, BCD
Data Length 1 bit to 12 bits
Input Data Type Pure binary, Gray code
Data Length 1 bit to 32 bits
Terminal Input terminal, latch input terminal, event input terminal, output terminal, event output
terminal, cam switch output terminal
Input signal event detection block Combination of rise, fall, Low, and High
Latch event detection block Rise, fall
Counter timer block
Compare block Compare Value Same as the counting range
Cam switch block
Set/reset block Uses the signal input to the Set terminal as a trigger to output the High fixed signal.
Logical operation type AND, OR, XOR
Logic Select Inverted, not inverted
Delay Time None, 12.5ns × (1 to 64), 25ns × (1 to 64), 50ns × (1 to 64), 0.1μs × (1 to 64), 1μs × (1
Error-time Output Mode OFF, ON, HOLD
Type Addition, subtraction, linear counter mode, ring counter mode, addition mode, preset
counter function, latch counter function, internal clock function
Internal clock 25ns, 50ns, 0.1μs, 1μs, 10μs, 100μs, 1ms
Counting range 32-bit signed binary (-2147483648 to 2147483647)
Compare Mode 16-bit counter: =, >, <, ≥, ≤, <>
Refreshing cycle
Number of steps
32-bit unsigned binary (0 to 4294967295) 16-bit signed binary (-32768 to 32767) 16-bit unsigned binary (0 to 65535)
32-bit counter: =, >, <, ≥, ≤, <>
0.1μs
Up to 16 steps
Uses the signal input to the Reset terminal as a trigger to output the Low fixed signal.
to 64), 10μs × (1 to 64), 100μs × (1 to 64), 1ms
0μs, 10μs, 50μs, 0.1ms, 0.2ms, 0.4ms, 0.6ms, 1ms, 5ms
4000kpps, 8000kpps
1 to 64)
× (
24
3 SPECIFICATIONS

3.2 Performance Specifications

Item Specifications
5μs
2.5μs 2.5μs
Differential DC
Main functions that can be performed with the combination of main blocks
Pulse count Count input
signal
Counting speed
Counting range Same as the counter timer block
Type Addition, subtraction, linear counter mode, ring counter mode, addition mode, preset
Minimum count pulse width (duty ratio: 50%)
Phase 1-phase input (1 multiple/2 multiples), 2-phase input (1 multiple/2 multiples/4
multiples), CW/CCW
1 multiple 10kpps/100kpps/200kpps/ 500kpps/
1Mpps/2Mpps
2 multiples 10kpps/100kpps/200kpps/500kpps/
1Mpps/2Mpps/4Mpps
4 multiples 10kpps/100kpps/200kpps/500kpps/
1Mpps/2Mpps/4Mpps/8Mpps
counter function, latch counter function
1-phase input (1 multiple/2 multiples), CW/CCW
0.5μs
0.25μs 0.25μs
10kpps/100kpps/200kpps
3
1-phase input (1 multiple/2 multiples), CW/CCW
2-phase input (1 multiple/2 multiples/4 multiples)
0.5μs
0.25μs 0.25μs
0.125μs
Coincidence detection
Cam switch Number of steps Up to 16 steps/1 block
Highly-accurate pulse output The ON/OFF timing can be adjusted in increments of 25ns at a minimum using
PWM output Output frequency range Max. 2MHz Max. 200kHz
Ratio setting Ratio setting range Number of output pulses = (1 to 2147483647)/(1 to 2147483647) × Number of input
Pulse measurement
Electrical interface conversion 24VDC/5VDC/differential
Processing time of the main hardware logic Logical operation: Min. 87.5ns, Coincidence output: Min. 137.5ns, Cam switch: Min.
Number of writes to a flash ROM Up to 10000 times
Internal current consumption (5VDC) 0.66A
Applicable wire size 40-pin connector 0.088 to 0.3 (28 to 22 AWG) (When the A6CON1 or A6CON4 is used)
External wiring connector (sold separately) A6CON1, A6CON2, A6CON4
Number of occupied I/O points 32 points (I/O assignment: Intelligent, 32 points)
Comparison range 32-bit signed binary value, 32-bit unsigned binary value, 16-bit signed binary value,
16-bit unsigned binary value
Comparison method Setting value < count value, setting value = count value, setting value > count value
Interrupt Coincidence detection interrupt function
trigger input as the starting point.
Duty ratio Any value (Can be set in increments of 25ns at a minimum.)
pulses Note that a value obtained by dividing (1 to 2147483647) by (1 to 2147483647) should not exceed 1.
Measurement item Pulse width (ON width, OFF width, from a rising edge to the next rising edge, from a
falling edge to the next falling edge)
Measurement resolution 25ns
262.5ns
0.088 to 0.24 (28 to 24 AWG) (When the A6CON2 is used)
2-phase input (1 multiple/2 multiples/4 multiples)
20μs
10μs 10μs
5μs
3 SPECIFICATIONS
3.2 Performance Specifications
25
Item Specifications
Differential DC
Number of occupied modules 2
External dimensions Height 90mm
Width 45mm
Depth 95mm
Weight 0.18kg
*1 The basic blocks supplied by the configuration tool
26
3 SPECIFICATIONS
3.2 Performance Specifications

Number of parameter settings

1) 2) 3) 4)
Set the parameters of the auto refresh setting for the flexible high-speed I/O control module so that the number of the set
parameters including the number of the parameters for other intelligent function modules will not exceed the maximum
number of parameters that can be set for the CPU module.
For the maximum number of parameters that can be set for the CPU module (maximum number of parameter settings), refer
to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) MELSEC-L CC-Link IE Field Network Head Module User's Manual
Number of parameters for the flexible high-speed I/O control module
The following table lists the number of parameters that can be set per flexible high-speed I/O control module.
Target module Initial setting Auto refresh setting
LD40PD01 0 2 (maximum number of settings)
Check method
The number of parameter settings that are set for the intelligent function module and the maximum number of parameter
settings can be checked with the following operation.
[Project window] [Intelligent Function Module] Right-click [Intelligent Function Module Parameter List]
3
No. Description
1) Total number of initial setting parameters selected in the window
2) Maximum number of initial setting parameter settings
3) Total number of auto refresh setting parameters selected in the window
4) Maximum number of auto refresh setting parameter settings
3 SPECIFICATIONS
3.2 Performance Specifications
27
3.3 Function List
The following table lists the functions of the flexible high-speed I/O control module.
Item Description Reference
Hardware logic control function Users can create the hardware logic to perform a desired control with the configuration tool. Page 103 CREATING A
HARDWARE LOGIC
Error history function The errors that occurred in the flexible high-speed I/O control module are stored in the
buffer memory as error history. Up to 16 errors can be stored.
Module error collection function The errors that occurred in the flexible high-speed I/O control module are collected in the
CPU module.
Error clear function When an error has occurred, the error can be cleared from the system monitor. Page 62 Error Clear
Page 58 Error History Function
Page 61 Module Error Collection Function
Function
28
3 SPECIFICATIONS

3.3 Function List

3.4 List of I/O Signals
The following table lists the I/O signals of the flexible high-speed I/O control module to the CPU module.
For details on the I/O signals, refer to the following. Page 240 Details of I/O Signals
Input (Signal direction: CPU module Flexible high-speed I/O control module)
Device No. Signal name Device No. Signal name
X0 Module ready Y0 Use prohibited
X1 Use prohibited Y1 Use prohibited
X2 Use prohibited Y2 Use prohibited
X3 Operating condition settings batch-reset complete flag Y3 Operating condition settings batch-reset command
X4 Hardware logic control flag Y4 Hardware logic control start request
X5 Use prohibited Y5 Hardware logic control stop request
X6 Use prohibited Y6 Hardware logic control stop signal at disconnection
X7 Hardware logic control stop flag at disconnection Y7 Hardware logic control stop flag clear request at
X8 Use prohibited Y8 Use prohibited
X9 Use prohibited Y9 Use prohibited
XA Use prohibited YA Use prohibited
XB Use prohibited YB Use prohibited
XC Use prohibited YC Use prohibited
XD Use prohibited YD Use prohibited
XE Use prohibited YE Use prohibited
XF Error flag YF Error clear request
X10 IN 0 Y10 General command 0
X11 IN 1 Y11 General command 1
X12 IN 2 Y12 General command 2
X13 IN 3 Y13 General command 3
X14 IN 4 Y14 General command 4
X15 IN 5 Y15 General command 5
X16 IN 6 Y16 General command 6
X17 IN 7 Y17 General command 7
X18 IN 8 Y18 General command 8
X19 IN 9 Y19 General command 9
X1A IN A Y1A General command A
X1B IN B Y1B General command B
X1C Use prohibited Y1C General command C
X1D Use prohibited Y1D General command D
X1E Use prohibited Y1E General command E
X1F Use prohibited Y1F General command F
Output (Signal direction: CPU module Flexible high-speed I/ O control module)
disconnection
3
• The I/O numbers (X/Y) listed above are shown on the assumption that the start I/O number of the flexible
high-speed I/O control module is set to 0.
• The use prohibited signals listed above are used by the system and are not available for users. If a user
uses these signals (turning off and on), the performance of the flexible high-speed I/O control module is not
guaranteed.
3 SPECIFICATIONS

3.4 List of I/O Signals

29
3.5 List of Buffer Memory Addresses
The following table lists the buffer memory addresses of the flexible high-speed I/O control module.
For details on the buffer memory areas, refer to the following. Page 247 Details of Buffer Memory Areas
Do not write any data to the system area and write-protect area of the buffer memory. If data is written to these
areas, a malfunction may occur.
Address (decimal)
0 to 99 0H to 63H System area 
100 64H Latest error code 0 R
101 65H System area 
102 66H Cumulative number of write accesses to a flash ROM 0 R
103 67H
104 to 109 68H to 6DH System area 
110, 111 6EH, 6FH SSI receive data monitor 0 0 R
112, 113 70H, 71H System area 
114, 115 72H, 73H SSI receive data monitor 1 0 R
116 to 999 74H to 3E7H System area 
1000 to 1029 3E8H to 405H Hardware logic area (High speed area) 0 R/W
1030 to 1099 406H to 44BH Hardware logic area (Low speed area) 0 R/W
1100 to 7999 44CH to 1F3FH System area 
8000 1F40H Latest address of error history 0 R
8001 1F41H System area 
8002 1F42H Clear setting of error history 0 R/W
8003 to 8009 1F43H to 1F49H System area 
8010 1F4AH Error history No. 1 Error code 0 R
8011 1F4BH Error time First two digits
8012 1F4CH Month Day
8013 1F4DH Hour Minute
8014 1F4EH Second Day of the
8015 to 8019 1F4FH to 1F53H System area 
8020 to 8024 1F54H to 1F58H Error history No. 2 Same with error history No. 1 0 R
8025 to 8029 1F59H to 1F5DH System area 
8030 to 8034 1F5EH to 1F62H Error history No. 3 Same with error history No. 1 0 R
8035 to 8039 1F63H to 1F67H System area 
8040 to 8044 1F68H to 1F6CH Error history No. 4 Same with error history No. 1 0 R
8045 to 8049 1F6DH to 1F71H System area 
8050 to 8054 1F72H to 1F76H Error history No. 5 Same with error history No. 1 0 R
8055 to 8059 1F77H to 1F7BH System area 
8060 to 8064 1F7CH to 1F80H Error history No. 6 Same with error history No. 1 0 R
8065 to 8069 1F81H to 1F85H System area 
8070 to 8074 1F86H to 1F8AH Error history No. 7 Same with error history No. 1 0 R
8075 to 8079 1F8BH to 1F8FH System area 
8080 to 8084 1F90H to 1F94H Error history No. 8 Same with error history No. 1 0 R
8085 to 8089 1F95H to 1F99H System area 
8090 to 8094 1F9AH to 1F9EH Error history No. 9 Same with error history No. 1 0 R
8095 to 8099 1F9FH to 1FA3H System area 
8100 to 8104 1FA4H to 1FA8H Error history No. 10 Same with error history No. 1 0 R
Address (hexadecimal)
Name Default value*1Read/write
Last two digits
of the year
of the year
week
*2
30
3 SPECIFICATIONS

3.5 List of Buffer Memory Addresses

Address (decimal)
8105 to 8109 1FA9H to 1FADH System area 
8110 to 8114 1FAEH to 1FB2H Error history No. 11 Same with error history No. 1 0 R
8115 to 8119 1FB3H to 1FB7H System area 
8120 to 8124 1FB8H to 1FBCH Error history No. 12 Same with error history No. 1 0 R
8125 to 8129 1FBDH to 1FC1H System area 
8130 to 8134 1FC2H to 1FC6H Error history No. 13 Same with error history No. 1 0 R
8135 to 8139 1FC7H to 1FCBH System area 
8140 to 8144 1FCCH to 1FD0H Error history No. 14 Same with error history No. 1 0 R
8145 to 8149 1FD1H to 1FD5H System area 
8150 to 8154 1FD6H to 1FDAH Error history No. 15 Same with error history No. 1 0 R
8155 to 8159 1FDBH to 1FDFH System area 
8160 to 8164 1FE0H to 1FE4H Error history No. 16 Same with error history No. 1 0 R
8165 to 8169 1FE5H to 1FE9H System area 
8170 1FEAH RUN LED status monitor 0 R
8171 1FEBH ERR LED status monitor 0 R
8172 to 32767 1FECH to 7FFFH System area 
Address (hexadecimal)
Name Default value*1Read/write
*2
*1 The default value to be set after the power is turned on or the CPU module is reset *2 Whether a value can be read/written from/to a program or not is indicated.
R: Readable W: Writable
3
3 SPECIFICATIONS
3.5 List of Buffer Memory Addresses
31
4 PROCEDURES BEFORE OPERATION
This chapter describes the procedures before operation.
1. Installing the module
Install the flexible high-speed I/O control module with a desired configuration. Page 34 Overall Configuration
2. External wiring
Wire external devices to the flexible high-speed I/O control module. Page 37 External Wiring
3. Creating a hardware logic
Create a hardware logic with the configuration tool. Page 63 FUNCTIONS OF THE CONFIGURATION TOOL
4. Programming and debugging
Create and check a program. Page 207 DISPLAY UNIT
32

4 PROCEDURES BEFORE OPERATION

MEMO
4
4 PROCEDURES BEFORE OPERATION
33
5 SYSTEM CONFIGURATION
Power supply module
CPU module
Display unit (optional)
I/O module or intelligent function module
END cover
Flexible high-speed I/O control module
Power supply module Head module
I/O module or intelligent function module END cover
Flexible high-speed I/O control module
This chapter describes the overall system configuration, number of connectable modules, and compatible software versions
of the flexible high-speed I/O control module.
5.1 Overall Configuration
The following figure shows a system configuration example of when the flexible high-speed I/O control module is used.
When connected to the CPU module
When connected to the head module
34

5 SYSTEM CONFIGURATION

5.1 Overall Configuration

5.2 Applicable System
Number of connectable modules
For the number of connectable modules, refer to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) MELSEC-L CC-Link IE Field Network Head Module User's Manual
Compatible software version
The following table lists compatible software versions.
Software Ver sio n
GX Works2 Version 1.535H or later
GX LogViewer Version 1.46Y or later
Configuration tool Version 1.000A or later
5.3 Restrictions When the Flexible High-Speed I/O
Control Module Is Connected to the Head Module
This section describes the restrictions when the flexible high-speed I/O control module is connected to the head module.
• The intelligent function module interrupt cannot be used.
5
5 SYSTEM CONFIGURATION

5.2 Applicable System

35
6 INSTALLATION AND EXTERNAL WIRING
This chapter describes the installation and external wiring of the flexible high-speed I/O control module.
6.1 Installation Environment and Installation Position
For precautions for the installation environment and installation position, refer to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection) MELSEC-L CC-Link IE Field Network Head Module User's Manual
36

6 INSTALLATION AND EXTERNAL WIRING

6.1 Installation Environment and Installation Position

6.2 External Wiring
This section describes wiring of encoders and controllers to the flexible high-speed I/O control module.

External wiring precautions

To obtain the maximum performance from the functions of the flexible high-speed I/O control module and improve the system
reliability, an external wiring with high durability against noise is required.
This section describes the precautions for wiring of encoders and controllers.
Wiring
• Different terminals are prepared depending on the voltage of the signal to be input. Connecting to a terminal with an
incorrect voltage may cause a malfunction of the module or failure of the connected devices.
• In 1-phase pulse input, always connect a pulse input cable on the phase A side.
• Install a fuse for each external terminal to prevent the external devices or module from being burnt out or damaged if a load
shorts in an output circuit. The following fuses have been tested by Mitsubishi.
Fuse model name Rated current Contact
312.750 0.75A Littelfuse
216.800 0.8A
Connector for external devices
• Connectors for external devices must be soldered or crimped properly. A poor soldering or crimping may result in a
malfunction.
• Securely connect the connectors for external devices to the connectors of the flexible high-speed I/O control module, and
securely tighten the two screws.
• When disconnecting a cable from the flexible high-speed I/O control module, do not pull the cable holding the cable part.
Remove a cable supporting the connector part of the cable by hand. Pulling the cable being connected to the flexible high-
speed I/O control module can cause a malfunction. In addition, a damage of the flexible high-speed I/O control module or
cables can result.
www.littelfuse.com
6
6 INSTALLATION AND EXTERNAL WIRING

6.2 External Wiring

37
Measures to reduce noise
The flexible high-speed I/O control module may malfunction if pulse-like noise is input. Thus, take the following measures to
reduce noise:
• Always use a shielded twisted pair cable.
• Arrange a shielded twisted pair cable keeping a distance of 150mm or more from the power cable, I/O cables, or other
cables that cause much noise. Wire the shielded twisted pair cable in the minimum distance to the extent possible.
• Ground a shield wire on the encoder side (relay box). Always ground the FG and LG terminals to the protective ground
conductor.
• Do not wire terminals that are not to be used. Doing so may result in malfunction due to noise.
Wiring example for measures to reduce noise
The following figure shows a wiring example of when the measures to reduce noise are reflected to the actual system.
Programmable controller
Inverter
Terminal block
(1)
Flexible high-speed I/O control module
For the encoder power supply
To the flexible high-speed I/O control module
(2)
Relay box
To øA To øB
To + 24 V
To 0 V
To the encoder
(4)
AC motor
(1) Keep a distance of 150mm or more from the I/O cables of high voltage devices including a relay and an inverter regardless of whether the devices are
inside and outside the panel.
(2) For metal pipes, do not use solenoid valves and inductive loads together in a single pipe. When the distance from high voltage cables cannot be kept
because of duct wiring or other factors, use shield wires such as CVVS for the high voltage cables.
(3) Keep the minimum distance between an encoder and a relay box. When the distance between the flexible high-speed I/O control module and an encoder
is long, a voltage drop may occur. Check that the voltage while the encoder is operating and the voltage while the encoder has stopped are within the rated voltage range of the encoder using a measuring instrument such as a tester on the terminal block of the relay box. When a voltage drop is large, use a thicker wire or use the 24DCV encoder that consumes less current.
(4) Connect the shield wires of the encoder and the shield wires of the shielded twisted pair cable inside the relay box. When the shield wires of the encoder
in use have not been grounded in the encoder, ground them inside the relay box as shown above.
Cart
Encoder
(3)
38
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
Compliance with the EMC and Low Voltage Directives
AD75CK
Flexible
high-speed I/O
control module
20 to 30cm
Inside of control panel
Take the following measures for compliance with the EMC and Low Voltage Directives.
• Always attach a ferrite core on the DC power supply cable to be connected to the flexible high-speed I/O control module
and the one to be connected to a controller. Using the ESD-SR-250 ferrite core manufactured by NEC TOKIN Corporation
is recommended.
• Install a DC power and the module in the same control panel.
• Use a shielded cable for the DC power when the DC power supply cable is extended out of the control panel.
• The length of the cables to be connected to the output section and external devices must be 2m or shorter for open
collector output or 10m or shorter for differential output.
• Keep the length of the cables between the input section and the external devices to 30m or less.
• Use a shielded twisted pair cable and ground the shielded part of the cable to the control panel with the AD75CK cable
clamp manufactured by Mitsubishi.
6
For details on the AD75CK, refer to the following. AD75CK-type Cable Clamping Instruction Manual
• Take the following measures to reduce noise when wiring connectors for external devices.
Wiring to use a shielded cable
The following figure shows a wiring example for measures to reduce noise using the A6CON1.
(1) Shorten the distance between the connector and shielded cable as far as possible. (2) Ground a FG cable of 2 or thicker in the minimum distance. Securely ground the cable in the control panel on the module side.
(3) Shielded cables
A6CON1
(1)
(2)
(3)
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
39
Example of noise reduction measures taken to shielded cables
(5)
(4)
(2)
(1), (3)
(1) Remove the jacket of each shielded cable.
(2) Take out a shield from a shielded cable and solder it on the FG wire.
(3) Connect a shield of each shielded cable with a conductive tape.
(4) Cover a connector pin with a heat-shrinkable insulation tube to protect signal wires. If signal wires are bared, the module may be affected by static
electricity and malfunction.
(5) Cover the signal wires with an insulating tape.
Assembling the A6CON1
(1)
(1) Cover the cables on which a conductive tape has been applied with a heat-shrinkable tube.
40
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring

Connector for external devices

Precautions
• Tighten the connector screws within the specified tightening torque range.
Screw Tightening torque range
Connector screw (M2.6) 0.20 to 0.29N⋅m
• Use copper wires having temperature rating of 75 or more for the connectors.
• Use UL listed connectors if necessary for UL compliance.
Applicable connectors
Prepare connectors for external devices to be used with the flexible high-speed I/O control module by users.
The following table lists the applicable connectors, and the reference product of a crimping tool.
40-pin connector
Type Model Applicable wire size
Soldering type connector (Straight type) A6CON1
Crimping type connector (Straight type) A6CON2 0.088 to 0.24mm
Soldering type connector (Dual purpose (straight/oblique) type) A6CON4
*1 When using 40 connectors, use wires whose sheath outside diameter is 1.3mm or less.
Select the wire applicable to the current value to be used.
*1
*1
0.088 to 0.3mm2 (28 to 22 AWG) (Stranded wire)
2
(28 to 24 AWG) (Stranded wire)
0.088 to 0.3mm2 (28 to 22 AWG) (Stranded wire)
6
The A6CON3 (IDC type connector (Straight type)) cannot be used.
40-pin connector crimping tool
Type Model Contact
Crimping tool FCN-363T-T005/H FUJITSU COMPONENT LIMITED
www.fcl.fujitsu.com/en
For how to wire connectors and how to use the crimping tool, contact FUJITSU COMPONENT LIMITED.
Wiring method
For the wiring method, refer to the following. MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
41
Connection procedure
Connector screw
1. Plug the connector into a slot on the flexible high-speed
I/O control module.
2. Tighten the two connector screws (M2.6).
Removal procedure
1. Loosen the two connector screws and pull out the
connector from the module.
42
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring

Interface with external devices

The following table shows the interface of the flexible high-speed I/O control module with external devices.
Electrical specifications of external I/O signals
External input signal
The following table shows the input specifications of the flexible high-speed I/O control module.
Signal name Operation Input voltage
(Guaranteed value)
24VDC input On 21.6 to 26.4V 4 to 6mA 1μs
Off 5V or less 1.0mA or less
5VDC input On 4.5 to 5.5V 4 to 8mA 1μs
Off 2V or less 1.0mA or less
Differential input Equivalent to AM26C32 1μs
*1 When the filter time has been set to 0μs
External output signal
The following table shows the output specifications of the flexible high-speed I/O control module.
Signal name Item Description
DC output Operating load voltage 4.75 to 30VDC
Maximum load current 0.1A/point
Maximum voltage drop at ON 0.5V
Response time OFF→ON s or less (Rated load, resistive load)
ONOFF 1μs or less (Rated load, resistive load)
Differential output Operating load voltage Equivalent to AM26C31
Maximum load current
Maximum voltage drop at ON
Response time 1μs or less
Operating current Response time
*1
6
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
43
Signal layout of a connector for external devices
B20
CON1/CON2
B19 B18 B17 B16 B15 B14 B13 B12 B11 B10 B09 B08 B07 B06 B05 B04 B03 B02 B01
A20 A19 A18 A17 A16 A15 A14 A13 A12 A11 A10 A09 A08 A07 A06 A05 A04 A03 A02 A01
The following shows the signal layout of a connector for external devices of the flexible high-speed I/O control module.
Pin No. CON1 CON2
B A B A
20 NC NC NC NC
19 IN 0_24V IN 0_5V IN 6_24V IN 6_5V
18 IN 0_DIF IN 0_COM IN 6_DIF IN 6_COM
17 IN 1_24V IN 1_5V IN 7_24V IN 7_5V
16 IN 1_DIF IN 1_COM IN 7_DIF IN 7_COM
15 IN 2_24V IN 2_5V IN 8_24V IN 8_5V
14 IN 2_DIF IN 2_COM IN 8_DIF IN 8_COM
13 IN 3_24V IN 3_5V IN 9_24V IN 9_5V
12 IN 3_DIF IN 3_COM IN 9_DIF IN 9_COM
11 IN 4_24V IN 4_5V IN A_24V IN A_5V
10 IN 4_DIF IN 4_COM IN A_DIF IN A_COM
9 IN 5_24V IN 5_5V IN B_24V IN B_5V
8 IN 5_DIF IN 5_COM IN B_DIF IN B_COM
7 OUT 0 OUT 1 OUT 4 OUT 5
6 OUT 2 OUT 3 OUT 6 OUT 7
5 OUT 0-3_COM OUT_DIF_GND OUT 4-7_COM OUT_DIF_GND
4 OUT 0_DIF+ OUT 0_DIF- OUT 3_DIF+ OUT 3_DIF-
3 OUT 1_DIF+ OUT 1_DIF- OUT 4_DIF+ OUT 4_DIF-
2 OUT 2_DIF+ OUT 2_DIF- OUT 5_DIF+ OUT 5_DIF-
1 NCNCNCNC
44
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
List of input signals
The following table lists the input signals of the flexible high-speed I/O control module.
Pin No. CON1 CON2 Description
Symbol Signal name Symbol Signal name
B20NCNC NCNC Empty pin
A20NCNC NCNC
B19 IN 0_24V High-speed input 0
24VDC
A19 IN 0_5V High-speed input 0
B18 IN 0_DIF High-speed input 0
A18 IN 0_COM High-speed input 0
B17 IN 1_24V High-speed input 1
A17 IN 1_5V High-speed input 1
B16 IN 1_DIF High-speed input 1
A16 IN 1_COM High-speed input 1
B15 IN 2_24V High-speed input 2
A15 IN 2_5V High-speed input 2
B14 IN 2_DIF High-speed input 2
A14 IN 2_COM High-speed input 2
B13 IN 3_24V High-speed input 3
A13 IN 3_5V High-speed input 3
B12 IN 3_DIF High-speed input 3
A12 IN 3_COM High-speed input 3
B11 IN 4_24V High-speed input 4
A11 IN 4_5V High-speed input 4
B10 IN 4_DIF High-speed input 4
A10 IN 4_COM High-speed input 4
B9 IN 5_24V High-speed input 5
A9
B8 IN 5_DIF High-speed input 5
A8 IN 5_COM High-speed input 5
IN 5_5V High-speed input 5
5VDC
differential
common
24VDC
5VDC
differential
common
24VDC
5VDC
differential
common
24VDC
5VDC
differential
common
24VDC
5VDC
differential
common
24VDC
5VDC
differential
common
IN 6_24V High-speed input 6
24VDC
IN 6_5V High-speed input 6
5VDC
IN 6_DIF High-speed input 6
differential
IN 6_COM High-speed input 6
common
IN 7_24V High-speed input 7
24VDC
IN 7_5V High-speed input 7
5VDC
IN 7_DIF High-speed input 7
differential
IN 7_COM High-speed input 7
common
IN 8_24V High-speed input 8
24VDC
IN 8_5V High-speed input 8
5VDC
IN 8_DIF High-speed input 8
differential
IN 8_COM High-speed input 8
common
IN 9_24V High-speed input 9
24VDC
IN 9_5V High-speed input 9
5VDC
IN 9_DIF High-speed input 9
differential
IN 9_COM High-speed input 9
common
IN A_24V High-speed input A
24VDC
IN A_5V High-speed input A
5VDC
IN A_DIF High-speed input A
differential
IN A_COM High-speed input A
common
IN B_24V High-speed input B
24VDC
IN B_5V High-speed input B
5VDC
IN B_DIF High-speed input B
differential
IN B_COM High-speed input B
common
Inputs the + (plus) side. (common for 5VDC/ 24VDC/differential)
Inputs the - (minus) side.
Inputs the + (plus) side. (common for 5VDC/ 24VDC/differential)
Inputs the - (minus) side.
Inputs the + (plus) side. (common for 5VDC/ 24VDC/differential)
Inputs the - (minus) side.
Inputs the + (plus) side. (common for 5VDC/ 24VDC/differential)
Inputs the - (minus) side.
Inputs the + (plus) side. (common for 5VDC/ 24VDC/differential)
Inputs the - (minus) side.
Inputs the + (plus) side. (common for 5VDC/ 24VDC/differential)
Inputs the - (minus) side.
6
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
45
List of output signals
The following table lists the output signals of the flexible high-speed I/O control module.
Pin No. CON1 CON2 Description
Symbol Signal name Symbol Signal name
B7 OUT 0 High-speed output 0 OUT 4 High-speed output 4 5 to 24VDC output
A7 OUT 1 High-speed output 1 OUT 5 High-speed output 5
B6 OUT 2 High-speed output 2 OUT 6 High-speed output 6
A6 OUT 3 High-speed output 3 OUT 7 High-speed output 7
B5 OUT 0-3_COM High-speed output 0-3
common
A5 OUT_DIF_GNDHigh-speed output
common
B4 OUT 0_DIF+ High-speed output 0
differential+
A4 OUT 0_DIF- High-speed output 0
differential-
B3 OUT 1_DIF+ High-speed output 1
differential+
A3 OUT 1_DIF- High-speed output 1
differential-
B2 OUT 2_DIF+ High-speed output 2
differential+
A2 OUT 2_DIF- High-speed output 2
differential-
B1 NC NC NC NC Empty pin
A1 NC NC NC NC
OUT 4-7_COM High-speed output 4-7
common
OUT_DIF_GNDHigh-speed output
common
OUT 3_DIF+ High-speed output 3
differential+
OUT 3_DIF- High-speed output 3
differential-
OUT 4_DIF+ High-speed output 4
differential+
OUT 4_DIF- High-speed output 4
differential-
OUT 5_DIF+ High-speed output 5
differential+
OUT 5_DIF- High-speed output 5
differential-
High-speed output common
High-speed output differential ground
Outputs the differential output + (plus) side.
Outputs the differential output - (minus) sides
Outputs the differential output + (plus) side.
Outputs the differential output - (minus) sides
Outputs the differential output + (plus) side.
Outputs the differential output - (minus) sides
46
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
Internal circuit of the interface for external devices
4.1kΩ
IN 0_DIF(B18) IN 6_DIF(B18)
IN 0_5V(A19) IN 6_5V(A19)
IN 0_24V(B19) IN 6_24V(B19)
IN 0_COM(A18) IN 6_COM(A18)
270Ω240Ω
820Ω
4.1kΩ
IN 2_DIF(B14) IN 8_DIF(B14)
IN 2_5V(A15) IN 8_5V(A15)
IN 2_24V(B15) IN 8_24V(B15)
IN 2_COM(A14) IN 8_COM(A14)
270Ω240Ω
820Ω
4.1kΩ
IN 4_DIF(B10) IN A_DIF(B10)
IN 4_5V(A11) IN A_5V(A11)
IN 4_24V(B11) IN A_24V(B11)
IN 4_COM(A10) IN A_COM(A10)
270Ω240Ω
820Ω
The following table lists the internal circuits of the interface for external devices of the flexible high-speed I/O control module.
I/O classification
Input B19 B19 High-speed input 0
Internal circuit Connector Signal name
CON1 CON2 CON1 CON2
24VDC
A19 A19 High-speed input 0
5VDC
B18 B18 High-speed input 0
differential
A18 A18 High-speed input 0
common
High-speed input 6 24VDC
High-speed input 6 5VDC
High-speed input 6 differential
High-speed input 6 common
820Ω
820Ω
IN 1_DIF(B16) IN 7_DIF(B16)
IN 1_5V(A17) IN 7_5V(A17)
IN 1_24V(B17) IN 7_24V(B17)
4.1kΩ
270Ω240Ω
270Ω240Ω
4.1kΩ
IN 1_COM(A16) IN 7_COM(A16)
IN 3_DIF(B12) IN 9_DIF(B12)
IN 3_5V(A13) IN 9_5V(A13)
IN 3_24V(B13) IN 9_24V(B13)
IN 3_COM(A12) IN 9_COM(A12)
B17 B17 High-speed input 1
24VDC
A17 A17 High-speed input 1
5VDC
B16 B16 High-speed input 1
differential
A16 A16 High-speed input 1
common
B15 B15 High-speed input 2
24VDC
A15 A15 High-speed input 2
5VDC
B14 B14 High-speed input 2
differential
A14 A14 High-speed input 2
common
B13 B13 High-speed input 3
24VDC
A13 A13 High-speed input 3
5VDC
B12 B12 High-speed input 3
differential
A12 A12 High-speed input 3
common
High-speed input 7 24VDC
High-speed input 7 5VDC
High-speed input 7 differential
High-speed input 7 common
High-speed input 8 24VDC
High-speed input 8 5VDC
High-speed input 8 differential
High-speed input 8 common
High-speed input 9 24VDC
High-speed input 9 5VDC
High-speed input 9 differential
High-speed input 9 common
6
B11 B11 High-speed input 4
24VDC
A11 A11 High-speed input 4
B10 B10 High-speed input 4
A10 A10 High-speed input 4
5VDC
differential
common
6 INSTALLATION AND EXTERNAL WIRING
High-speed input A 24VDC
High-speed input A 5VDC
High-speed input A differential
High-speed input A common
6.2 External Wiring
47
I/O
4.1kΩ
IN 5_DIF(B8) IN B_DIF(B8)
IN 5_5V(A9) IN B_5V(A9)
IN 5_24V(B9) IN B_24V(B9)
IN 5_COM(A8) IN B_COM(A8)
270Ω240Ω
820Ω
680Ω
680Ω
680Ω
680Ω
4.7kΩ
4.7kΩ
4.7kΩ
4.7kΩ
OUT 0-3_COM(B5) OUT 4-7_COM(B5)
OUT 3(A6) OUT 7(A6)
OUT 2(B6) OUT 6(B6)
OUT 1(A7) OUT 5(A7)
OUT 0(B7) OUT 4(B7)
IO 5V
OUT 0_DIF+(B4) OUT 3_DIF+(B4)
OUT_DIF_GND(A5)
*1
IO 5V
OUT 0_DIF-(A4) OUT 3_DIF-(A4)
OUT 1_DIF+(B3) OUT 4_DIF+(B3)
OUT_DIF_GND(A5)
*1
OUT 1_DIF-(A3) OUT 4_DIF-(A3)
IO 5V
OUT 2_DIF+(B2) OUT 5_DIF+(B2)
OUT_DIF_GND(A5)
*1
IO 5V
OUT 2_DIF-(A2) OUT 5_DIF-(A2)
classification
Input B9 B9 High-speed input 5
Output B7 B7 High-speed output 0 High-speed output 4
Internal circuit Connector Signal name
CON1 CON2 CON1 CON2
24VDC
A9 A9 High-speed input 5
5VDC
B8 B8 High-speed input 5
differential
A8 A8 High-speed input 5
common
A7 A7 High-speed output 1 High-speed output 5
B6 B6 High-speed output 2 High-speed output 6
A6 A6 High-speed output 3 High-speed output 7
B5 B5 High-speed output 0-3
common
High-speed input B 24VDC
High-speed input B 5VDC
High-speed input B differential
High-speed input B common
High-speed output 4-7 common
A5 A5 High-speed output
common
B4 B4 High-speed output 0
differential+
A4 A4 High-speed output 0
B3 B3 High-speed output 1
A3 A3 High-speed output 1
B2 B2 High-speed output 2
*1 The high-speed output common (A5) is connected with the common wire of high-speed output 0 to 5 differential.
A2 A2 High-speed output 2
differential-
differential+
differential-
differential+
differential-
*1
High-speed output
*1
common
High-speed output 3 differential+
High-speed output 3 differential-
High-speed output 4 differential+
High-speed output 4 differential-
High-speed output 5 differential+
High-speed output 5 differential-
48
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
Input signal status in the hardware logic (High/Low)
IN 0
COM
24VDC
IN 0
COM
24VDC
High
Low
ON
OFF
Input terminal
OUT Output
High
Low
ON
OFF
Input terminal
OUT Output
The input signal status (High/Low) in the hardware logic is determined depending on the input signals (ON/OFF) from external
devices and logical selection.
Logic selection
Not inverted When a voltage is not applied (OFF) Low
*1
External wiring High/Low state of the external input signal IN 0 observed
from the flexible high-speed I/O control module
IN 0
24VDC
COM
When a voltage is applied (ON) High
*2
Inverted When a voltage is not applied (OFF) High
IN 0
24VDC
COM
When a voltage is applied (ON) Low
*1 Set the logic selection with the parameters of the external input block. For details, refer to the following.
Page 106 External input block
*2 The input signal status in the hardware logic is described as High and Low. For details, refer to the following.
Page 104 Signal status name
Status of an output signal to external devices (ON/OFF)
The status of an output signal to external devices (ON/OFF) is determined depending on the status of Input terminal of the
external output block (High/Low) and logic selection.
Output type Logic selection
Not inverted Inverted
DC
*1*2
6
Differential
Input terminal
OUT_DIF +Output
OUT_DIF -Output
High
Low
High
Low
High
Low
Input terminal
OUT_DIF +Output
OUT_DIF -Output
High
Low
High
Low
High
Low
*1 Set the logic selection with the parameters of the external output block. For details, refer to the following.
Page 123 External output block
*2 The output signal status in the hardware logic is described as High and Low. For details, refer to the following.
Page 104 Signal status name
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
49

Connectable encoders

The following tables list encoders that can be connected to the flexible high-speed I/O control module.
• Encoders with the following counting methods
Counting method Condition
Incremental method
Absolute method Encoders with the following specifications can be connected.
• Parallel interface
• Resolution: 1 to 12 bits
• The absolute code is in pure binary, Gray code, or BCD.
Encoders with the following specifications can be connected.
• SSI (Synchronous Serial Interface)
• Resolution: 1 to 32 bits
• The absolute code is in pure binary or Gray code.
• Encoders of the following output type
Output type Condition
Open collector output type Check if the output voltage of the encoder meets the specifications of the
Line driver output type (equivalent to AM26LS31)
CMOS level voltage output type
TTL level voltage output type encoders cannot be used with the flexible high-speed I/O control module.
flexible high-speed I/O control module.
50
6 INSTALLATION AND EXTERNAL WIRING
6.2 External Wiring
6.3 Examples of Wiring Between a Controller and
IN 0_5V
IN 0_DIF
IN 0_24V
IN 0_COM
IN 1_DIF
IN 1_5V
IN 1_24V
IN 1_COM
4.1k270240
820
4.1k270240
820
B18
A19
B19
A18
B16
A17
B17
A16
24V
OUT
E
0V
5V
OUT
E
0V
Flexible high-speed I/O control module
IN 0 (24V input)
IN 1 (5V input)
Shielded twisted pair cable
Controller A
External power supply
24VDC
Shielded twisted pair cable
Controller B
External power supply
5VDC
IN 0_5V
IN 0_DIF
IN 0_24V
IN 0_COM
IN 1_DIF
IN 1_5V
IN 1_24V
IN 1_COM
4.1k270240
820
4.1k270240
820
B18
A19
B19
A18
B16
A17
B17
A16
OUT
GND
E
0V
OUT
GND
E
0V
Flexible high-speed I/O control module
IN 0 (24V input)
IN 1 (5V input)
Shielded twisted pair cable
Controller A
External power supply
24VDC
Shielded twisted pair cable
Controller B
External power supply
5VDC
External Input Terminals
This section shows examples of wiring between a controller and external input terminals.

Example of external wiring with a controller (Sync load type)

6

Example of external wiring with a controller (Source load type)

6.3 Examples of Wiring Between a Controller and External Input Terminals

6 INSTALLATION AND EXTERNAL WIRING
51
6.4 Example of External Wiring Between the Flexible
4.1k270240
820
IN 0_DIF
IN 0_5V
IN 0_24V
IN 0_COM
B18
A19
B19
A18
4.1k270240
820
IN 1_DIF
IN 1_5V
IN 1_24V
IN 1_COM
B16
A17
B17
A16
4.1k270240
820
IN 2_DIF
IN 2_5V
IN 2_24V
IN 2_COM
B14
A15
B15
A14
External power supply
Flexible high-speed I/O control module
IN 0 (Phase A input)
IN 1 (Phase B input)
IN 2 (Phase Z input)
Shielded twisted pair cable
Encoder
24V OUT
24V OUT
24V OUT
E
0V
24VDC
Phase A output
Phase B output
Phase Z output
High-speed I/O Control Module and an Encoder
This section shows an example of external wiring between the flexible high-speed I/O control module and an encoder.

Example of external wiring with an open collector output type encoder (24VDC)

52
6 INSTALLATION AND EXTERNAL WIRING

6.4 Example of External Wiring Between the Flexible High-speed I/O Control Module and an Encoder

• For the wiring between the flexible high-speed I/O control module and an encoder, separate the power
supply cables and signal wires.
Flexible high-speed I/O control module
Pulse input
External power supply
COM
24V
24VDC
0V
Shielded twisted pair cable
OUT
+24V
0V
E
Encoder
• Do not wire the module and an encoder as shown in the figure below. Because a current flows through a
shielded twisted pair cable in a single direction and the canceling effect disappears, the module is easy to
be affected by electromagnetic induction.
Flexible high-speed I/O control module
Pulse input
External power supply
COM
24V
24VDC
0V
Shielded twisted pair cable
OUT
+24V
0V
E
Encoder
6
6 INSTALLATION AND EXTERNAL WIRING
6.4 Example of External Wiring Between the Flexible High-speed I/O Control Module and an Encoder
53
Example of external wiring with a line driver (equivalent to
IN 0_DIF
4.1k270240
820
4.1k270240
820
4.1k270240
820
IN 0_5V
IN 0_24V
IN 0_COM
IN 1_DIF
IN 1_5V
IN 1_24V
IN 1_COM
IN 2_DIF
IN 2_5V
IN 2_24V
IN 2_COM
B18
A19
B19
A18
B16
A17
B17
A16
B14
A15
B15
A14
A
A
B B
Z Z
E
Flexible high-speed I/O control module
IN 0 (Phase A input)
IN 1 (Phase B input)
IN 2 (Phase Z input)
Shielded twisted pair cable
Encoder
Phase A input
Phase B input
Phase Z input
AM26LS31) encoder
54
6 INSTALLATION AND EXTERNAL WIRING
6.4 Example of External Wiring Between the Flexible High-speed I/O Control Module and an Encoder
Example of external wiring with the SSI encoder (serial
OUT 0_DIF+
OUT 0_DIF-
+
-
+
-
B4
A4
IO 5V
4.1kΩ270Ω240Ω
820Ω
IN 0_DIF
IN 0_5V
IN 0_24V
IN 0_COM
B18
A19
B19
A18
+
-
+
-
External power supply
Digital isolator
CLK input
SSI encoder
Flexible high-speed I/O control module
Shielded twisted pair cable
IN 0 (DATA input)
OUT 0 (CLK output)
DATA output
communication)
Connect the flexible high-speed I/O control module to the SSI encoder using a shielded twisted pair cable of 0.2mm2 or
thicker (24 AWG or larger). Make sure to check the SSI encoder specifications.
In addition, separately prepare an external power supply for the SSI encoder.
6
• Connect the DATA input to any of IN 0 to IN B.
• Connect the CLK output to OUT 0_DIF for SSI_Encoder_0, and to OUT 1_DIF for SSI_Encoder_1.
Relation between transmission speed and maximum cable length (reference value)
Transmission speed Maximum cable length
100kHz 400m
200kHz 190m
300kHz 120m
400kHz 80m
500kHz 60m
1MHz 25m
1.5MHz 10m
2MHz 5m
The maximum cable length described in the above is a reference value. Depending on the response performance of the SSI
encoder to be connected, the maximum cable length may become shorter than the above description because a response
delay occurs.
Therefore, check the operation using an actual encoder to be connected, and use the module.
If the cable longer than the maximum length described above is used, the module becomes following states.
• An encoder value is fixed to an incorrect value and the module does not count the value correctly.
• An encoder value fluctuates and the module does not count the value correctly.
• An encoder value cannot be read and the module does not count the value correctly.
6.4 Example of External Wiring Between the Flexible High-speed I/O Control Module and an Encoder
6 INSTALLATION AND EXTERNAL WIRING
55
6.5 Example of External Wiring with External Output
OUT 0-3_COM OUT 4-7_COM
OUT 0 OUT 4
OUT 1 OUT 5
OUT 2 OUT 6
OUT 3 OUT 7
IO 5V
680Ω
680Ω
680Ω
680Ω
4.7kΩ
4.7kΩ
4.7kΩ
4.7kΩ
B5
B7
A7
B6
A6
Load
Load
Load
Load
External power supply
24VDC
0V
Flexible high-speed I/O control module
Digital isolator
Load
Back EMF
Terminals
This section shows an example of external wiring with external output terminals.

Example of external wiring with output terminals (Sink output type)

When connecting an inductive load, connect a diode in parallel with the load to prevent back EMF from being
generated to protect output elements.
56
6 INSTALLATION AND EXTERNAL WIRING

6.5 Example of External Wiring with External Output Terminals

Example of external wiring with differential receivers (Differential
OUT 0_DIF+ OUT 3_DIF+
OUT 0_DIF­OUT 3_DIF-
+
-
B4
A4
OUT 1_DIF+ OUT 4_DIF+
OUT 1_DIF­OUT 4_DIF-
+
-
B3
A3
OUT 2_DIF+ OUT 5_DIF+
OUT 2_DIF­OUT 5_DIF-
OUT_DIF_GND OUT_DIF_GND
+
-
GND
E
B2
A2
A5
IO 5V
Flexible high-speed I/O control module
Digital isolator Controller
output type)
6
When connecting differential output terminals to differential receivers of the drive unit, connect the high-speed
output common (OUT_DIF_GND) and the common terminals of the differential receivers of the drive unit.
When the high-speed output common terminals are not connected, the potential difference will be generated
between the high-speed output common (OUT_DIF_GND) and the common terminals of the differential
receivers of the drive unit, damaging the module or causing a malfunction.
6.5 Example of External Wiring with External Output Terminals
6 INSTALLATION AND EXTERNAL WIRING
57
7 FUNCTIONS
Ex.
b15 b8 b7 b0
to
to
Error code
First two digits of the year
Last two digits of the year
Month
Day
Hour
Minute
Second
Day of the week
System area
to
Un\G8010
Un\G8014
Un\G8013
Un\G8012
Un\G8011
Un\G8015
Un\G8019
This chapter describes the details on the functions that can be used in the flexible high-speed I/O control module and their
setting methods.
7.1 Hardware Logic Control Function
Users can create the hardware logic to perform a desired control with the configuration tool.
For details, refer to the following. Page 103 CREATING A HARDWARE LOGIC

7.2 Error History Function

The errors that occurred in the flexible high-speed I/O control module are stored in the buffer memory areas (Un\G8010 to
Un\G8169) as error history.
Up to 16 errors can be stored.
Processing of the error history function
The error code and error time of each error are stored in Error history No. 1 (start address: Un\G8010) and sequentially
thereafter. The error time is stored as shown below.
The following shows the case of Error history No. 1.
Item Description Storage example
First two digits of the year/last two digits of the year
Month/day 0424H
Hour/minute 1035H
Second 40H
Day of the week For each day of the week, one of the following values is stored as a BCD code.
*1 Value of when an error occurred at 10:35:40 on Friday, April 24th, 2015
Stored as a BCD code. 2015H
5H Sunday: 0H, Monday: 1H, Tuesday: 2H, Wednesday: 3H, Thursday: 4H, Friday: 5H, Saturday: 6H
Clearing the error history
The error history can be cleared with one of the following methods.
• Turning off the power
• Resetting the CPU module
• Setting Clear setting of error history (Un\G8002) to Clear the history (1) and turning on and off Error clear request (YF)
*1
58

7 FUNCTIONS

7.1 Hardware Logic Control Function

Checking the error history
Ex.
8010
8020
8030
8160
The start address of the error history where the latest error is stored is stored.
Error history No.1
Error history No.2
Error history No.3
Error history No.16
(Empty)
(Empty)
Latest
Address
1st error
2nd error
3rd error
An error history consists of the following data.
Details of error history
Error code
Error time
First two digits of the year Last two digits of the year
Month
Hour
Second
Day
Minute
Day of the week
Latest address of error history (Un\G8000)
The start address of the error history where the latest error has been stored can be checked with Latest address of error
history (Un\G8000).
The following shows the case in which the third error has occurred. The third error is stored in Error history No. 3 and 8030
(start address of Error history No.3) is stored in Latest address of error history (Un\G8000).
7
7 FUNCTIONS
7.2 Error History Function
59
Ex.
The following shows the case in which the 17th error has occurred. The 17th error is stored in Error history No. 1 and 8010
8010
8020
8030
8160
Error history No.1
Error history No.2
Error history No.3
Error history No.16
Latest
The 17th error is stored in Error history No.1 and the 1st error history will be erased.
Address
1st error
2nd error
3rd error
16th error
17th error
Latest address of error history (Un\G8000)
(start address of Error history No. 1) is overwritten to Latest address of error history (Un\G8000).
If the storage areas of the error history become full, the value in Error history No. 1 (Un\G8010 to Un\G8019)
is overwritten and sequentially thereafter to keep registering errors. (The errors before the overwriting are
deleted.)
60
7 FUNCTIONS
7.2 Error History Function
7.3 Module Error Collection Function
Error history (CPU module including built-in I/O and built-in CC-Link) and error log (intelligent function module) are displayed on one screen.
Errors that occurred in the entire system can be monitored in reverse chronological order.
Programming tool
[Example of screen display]
Error history display
19:29 19:33 19:34 19:36
Module A
CPU Module B Module A
Error A1 Error C1 Error B1 Error A2
Time
Module in error
Error code
Error history
(CPU module)
Module error log
Time
Module in error
Error code
19:29 19:34 19:36
Module A Module B Module A
Error A1 Error B1 Error A2
19:33 Error C1
CPU
Module A
Module B
19:33 Error C1 occurred!
19:29 Error A1 occurred! 19:36 Error A2 occurred!
19:34 Error B1 occurred!
The errors that occurred in the flexible high-speed I/O control module are collected in the CPU module.
To hold errors even after the power is turned off or the CPU module is reset, save the errors in the memory that can hold data
during power failure in the CPU module.
7
For details on the module error collection function, refer to the following. MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)
7 FUNCTIONS

7.3 Module Error Collection Function

61
7.4 Error Clear Function
When an error has occurred, the error can be cleared from "System Monitor".
Clicking the [Error Clear] button in "System Monitor" clears the latest error code stored in Latest error code (Un\G100) and
turns off the ERR. LED. This action is the same action as the one to be taken when errors are cleared with Error clear request
(YF) or the display unit.
When Clear setting of error history (Un\G8002) has been set to Clear the history. (1), the error history is also cleared.
For how to clear errors with Error clear request (YF) or the display unit, refer to the following.
Page 246 Error clear request (YF)Page 208 Checking and Clearing Errors
62
7 FUNCTIONS

7.4 Error Clear Function

8 FUNCTIONS OF THE CONFIGURATION TOOL
This chapter describes the configuration tool for creating the hardware logic and writing it into the flexible high-speed I/O
control module.
For how to get the configuration tool, refer to the following. Page 251 How to Get the Configuration Tool
8.1 How to Install and Uninstall the Configuration Tool
For the procedures of installing and uninstalling the configuration tool, refer to the following. Flexible High-Speed I/O Control Module Configuration Tool Installation Instructions
8

8 FUNCTIONS OF THE CONFIGURATION TOOL

8.1 How to Install and Uninstall the Configuration Tool

63
8.2 Starting and Exiting the Configuration Tool
This section describes how to start and exit the configuration tool.
Start
Before starting the configuration tool, add the module with GX Works2. The following describes the operation method.
1. Add the flexible high-speed I/O control module on GX Works2.
[Project window] of GX Works2 [Intelligent Function Module] Right-click [New Module]
2. Write the set parameters into the CPU module.
3. Start the configuration tool.
[Start]  [All Programs]  [MELSOFT]  [FlexIo Configurator]  [FlexIo_Configurator]
4. Input the start I/O number of the flexible high-speed I/O control module and click [OK].
64
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.2 Starting and Exiting the Configuration Tool

Connection target
Setting the I/O assignment to GX Works2 and the configuration tool enables writing of data into the flexible high-speed I/O
control module and the monitor display through the CPU module.
However, do not change the I/O assignment on GX Works2 after the configuration tool is started. If the I/O assignment is
changed on GX Works2 and data writing to the module, the monitor display, or simulation is executed after the configuration
tool has been started, a communication error will occur.
Exit
Select [Project] and [Exit] in the configuration tool.
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.2 Starting and Exiting the Configuration Tool
65
8.3 Switching the Language
The configuration tool supports multiple languages. Users can switch the language to be displayed in the menu on a personal
computer.
How to switch the language
[View] [Switching display language]
When a selected language is different from the one set to the OS, character strings may not be properly
displayed.
66
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.3 Switching the Language

8.4 Window Layout
Title bar
Menu bar
Toolbar
Navigation
window
Work window
Status bar
Map display window
Element selection window
The following figure shows the whole window layout.
For details on each item, refer to the following.
Page 67 Navigation windowPage 69 Work windowPage 68 Element Selection windowPage 70 Map display window

Navigation window

8
In the navigation window, the hardware logic outline window and names of multi function counter blocks arranged in the
window (Counter_: A multi function counter block number comes in .) are displayed in the tree format.
For details on the hardware logic outline window and multi function counter blocks, refer to the following. Page 103 CREATING A HARDWARE LOGIC
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.4 Window Layout

67

Element Selection window

In the Element Selection window, the main blocks that can be arranged when the hardware logic is created are displayed in
the tree format.
This window displays only the blocks in a category selected from the drop-down menu at the upper section of the window.
When a multi function counter block is selected in the Element Selection window and arranged on the work window, the tab of
the block is added in the work window.
"Library" tab
Select the "Library" tab to display the libraries provided by the manufacturer and the user libraries registered in the
configuration tool.
For the registration method, refer to the following. Page 85 Library Function
68
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.4 Window Layout

Work window

The hardware logic is created or the monitor display is executed in the work window.
One of the hardware logic outline window (one window) and multi function counter block detail windows (up to eight windows)
is displayed. Switch the window with one of the following operations.
• Double-clicking the item to display in the Navigation window
• Double-clicking a multi function counter block in the hardware logic outline window
• Clicking a tab at the upper section of the work window
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.4 Window Layout
69

Map display window

The map display window displays the hardware logic outline window that is currently being displayed or a whole image of
multi function counter block detail windows in the work window.
Click the area to display to move the display position of the work window.
70
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.4 Window Layout
8.5 List of Menus of the Configuration Tool
[Project] menu
Menu Reference
[Project]  [New] Page 72 Creating a new project
[Project] [Open] Page 72 Opening a project
[Project] [Save] Page 73 Saving an existing project
[Project] [Save As] Page 73 Saving a project with a new name
[Project] [Security] Page 74 Security
[Project] [Exit] Page 65 Exit
[View] menu
Menu Reference
[View] [Switching display language] Page 66 Switching the Language
[Edit] menu
Menu Reference
[Edit] [Copy] Page 83 Copying a block
[Edit] [Paste] Page 84 Pasting a block
[Edit] [Insert and Paste]
[Edit] [Block Delete] Page 79 Deleting a block
[Edit] [Export block] Page 85 Library Function
[Edit] [Library Registration]
[Edit] [Library Delete]
8
[Online] menu
Menu Reference
[Online] [Write to Module (execution memory)] Page 89 Writing data to the module
[Online] [Write to Module (execution + flash ROM)]
[Online] [Read from Module (flash ROM)] Page 90 Reading data from the module
[Online] [Verify with Module (Flash ROM)] Page 91 Verifying with the module
[Online] [Module operation] [Hardware logic control start] Page 92 Module operation
[Online] [Module operation] [Hardware logic control stop]
[Online] [Monitor] [Start Monitoring] Page 93 Monitor
[Online] [Monitor] [Stop Monitoring]
[Online] [Monitor] [End Monitoring]
[Debug] menu
Menu Reference
[Debug] [Simulation] Page 95 Simulation function
[Help] menu
Menu Reference
[Help] [Version Information] Page 102 Checking the version of the configuration tool
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.5 List of Menus of the Configuration Tool

71
8.6 Project Management
The configuration tool manages the hardware logic as a project.
This section describes the basic operations of the configuration tool for projects, such as creating, opening, and saving of a
project.
Because a created project can be managed as a project file, changing of a project name, copying and pasting of a project,
and other operations can be easily executed with Windows

Creating a new project

Create a new project.
[Project] [New]

Opening a project

Read a project saved in a hard disk or other areas in a personal computer.
1. Open the "Open" window.
[Project] [Open]
Explorer.
2. Select a project to open and click the [Open] button.
72
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.6 Project Management

Saving a project file

Save a project file in a hard disk or other areas in a personal computer.
Saving a project with a new name
Name the project being edited and save the project file.
[Project] [Save As]
Saving an existing project
Overwrite the hardware logic information being edited on an existing project file.
[Project] [Save]
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.6 Project Management
73

Security

LD40PD01
Write to Module (Execution memory + Flash ROM)
Password registration
Hardware logic + Password
Password matched
Hardware logic
Password not matched
Password input
Hardware logic + Password
Read from Module (Flash ROM)
LD40PD01
Hardware logic
Hardware logic
Read from Module (Flash ROM)
Write to Module (Execution memory + Flash ROM)
When the hardware logic is written into a flash ROM, add a password to prevent inappropriate access to read the data.
After the security is set to "Enable" and [Write to Module (execution + flash ROM)] in [Online] is executed, the password input
window is displayed. After a password is input and writing data into the module is completed, the security becomes valid.
To read the hardware logic to which the security has been enabled from a flash ROM to the module, input the set password.
• When the security is enabled
• When the security is disabled
Setting method
[Project] [Security] [Enable] or [Invalid]
When a new project is created, the security has been set to "Enable".
Operation details and restrictions
The security setting is saved in a project.
The security of the project created with the configuration tool of version 1.000A is set to "Invalid".
Actions to be taken when "Write to Module (execution + flash ROM)" is executed
Security setting Description
Enable • The password registration window is displayed.
*1
Invalid
*1 When "Write to Module (execution memory)" is executed, the action same as the one to be taken when the security setting is "Invalid" is
executed.
74
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.6 Project Management
• The hardware logic is written with a password.
• The password registration window is not displayed.
• The hardware logic is written without a password.
Actions to be taken when "Read from Module (flash ROM)" is executed
Hardware logic in the module
With a password • The password input window is displayed.
Without a password • The password input window is not displayed.
Description
• Only when the input password matches the password in the module, the hardware logic can be read.
• The hardware logic can be always read.
Operations that change the security setting
When one of the following operations is performed, the security setting is changed.
Operation Security setting
Creating a new project "Enable" is set.
Opening a project The project setting is reflected.
Reading data from the module The setting stored in the flash ROM of the flexible high-speed I/O control module is reflected.
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.6 Project Management
75
8.7 Windows for Creating the Hardware Logic
Hardware logic outline window
Multi function counter block detail window
Double click
Double click
Click
The following two types of window are prepared for creating the hardware logic. The window can be switched between the
hardware logic outline window and the multi function counter block detail window.
Window Description
Hardware logic outline window This window is for creating the outline of the hardware logic in the flexible
Multi function counter block detail window This window is for configuring the detail settings of the multi function counter
high-speed I/O control module. Multi function counter blocks are arranged, external I/O terminals are linked, and settings are configured in this window.
blocks arranged in the hardware logic outline window. Switch multi function counter block detail windows (up to eight windows) and edit each multi function counter block.
76
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.7 Windows for Creating the Hardware Logic

Hardware logic outline window

The hardware logic outline window is composed of the following five sections. Depending on the section, the blocks that can
be arranged differ.
Change the setting and wiring of each block to create the hardware logic with various functions.
Section Description Blocks and terminals
that can be arranged
First section The blocks corresponding to inputs to the hardware logic have been arranged in this section.
All the blocks in the first section are arranged when a project is started, and any blocks cannot be deleted or newly added from the Element Selection window.
Second section Blocks corresponding to encoder inputs are arranged in this section. • Parallel encoder block
Third section Blocks that execute count with external input signals and the internal clock are arranged in
this section.
Fourth section Blocks that calculate logical operations to input signals and outputs of multi function counter
blocks are arranged in this section.
Fifth section The blocks corresponding to outputs of the hardware logic have been arranged in this section.
All the blocks in the fifth section are arranged when a project is started, and any blocks cannot be deleted or newly added from the Element Selection window.
*1 For details on each block and terminal, refer to the following.
Page 103 CREATING A HARDWARE LOGIC
• External input block
• Y device terminal
• OUT terminal
• SSI encoder block
Multi function counter block
Logical operation block
• External output block
• SI device terminal
*1
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
77

Multi function counter block detail window

A multi function counter block detail window is composed of the following six sections.
Change the setting and wiring of each block to create various count operations.
Section Description Block and terminals
First section The terminals corresponding to inputs to a multi function counter block have been
arranged in this section. An input to a multi function counter block in the hardware logic outline window is handled as an input in the multi function counter block detail window.
Second section Select a signal detection condition for each input signal.
Desired conditions can be detected with the combinations of High/Low and rise/fall.
Third section Counter timers that function depending on each event have been arranged.
Switching of 16-bit signed counter/16-bit unsigned counter and 32-bit signed counter/32-bit unsigned counter is determined depending on the blocks arranged in the hardware logic outline window and cannot be changed in the multi function counter block detail window.
Fourth section An operation to compare a count value and a setting value of a counter timer is executed.
Coincidence detections of count values can be executed with the comparison operation.
Fifth section Based on results of the comparison operation and event detections, the signals to be
externally output are controlled.
Sixth section The terminals corresponding to outputs of a multi function counter block have been
arranged in this section. Outputs from the multi function counter block detail window are handled as outputs from the multi function counter block in the hardware logic outline window.
*1 For details on each block and terminal, refer to the following.
Page 127 Multi Function Counter Block
*2 A cam switch block is arranged across the fourth and fifth sections.
that have been arranged
• Input terminal
• Latch input terminal
• Event input terminal
• Input signal event
• Latch event detection block
• Counter timer block
• Counter timer block
• Counter timer block
• Counter timer block
• Compare block
• Cam switch block
• Set/reset block
• Cam switch block
• Output terminal
• Event output terminal
• Cam switch output terminal
*1
detection block
(16bit_Unsigned)
(16bit_Signed)
(32bit_Unsigned)
(32bit_Signed)
*2
*2
78
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic

How to use blocks

Arranging blocks
The following describes how to arrange a block.
1. Select a block in the Element Selection window. Drag and drop the block into the hardware logic outline window.
When a block is dragged into the hardware logic outline window, the area to which the block can be dropped is highlighted.
2. When the selected block is dropped into the work window, the block is automatically arranged in the highlighted area.
When three or more blocks have been arranged in the same section and blocks arranged between the top
and bottom ones are deleted, that area becomes vacant. When a new block is arranged under this situation,
the vacant area is highlighted and the block is arranged there.
Counter_0 Counter_0 Counter_0
Delete Counter_1
Counter_1 Counter_1
Counter_2
Counter_3 Counter_3 Counter_3
and Counter_2.
Place a new counter.
Deleting a block
The following describes how to delete a block.
Only the blocks arranged from the Element Selection window can be deleted. The blocks that have been arranged by default
cannot be deleted.
When a block is deleted, the link of the block is also deleted.
1. Click the block to be deleted.
The block is highlighted (displayed in yellow) and selected.
8
2. Right-click the block and select "Block Delete" from the context menu. Or press the key.
When a block is deleted, the link of the block is also deleted.
• Users can also delete multi function counter blocks by right-clicking a multi function counter block name
(Counter_) in the tree of the Navigation window and selecting "Block Delete" from the context menu.
• Select [Edit] [Block Delete] to perform the same operation as selecting "Block Delete" from the context
menu.
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
79
Block setting
(1)
(3)
(2)
Configure block settings by changing values in the drop-down lists and text boxes of each block.
No. Item name Description
(1) Drop-down list Select a setting value from the drop-down list.
(2) Text box Input a one-byte numerical value (decimal).
(3) User Address • By assigning buffer memory addresses to "User Address", input terminal status and parameter setting
values can be changed with programs and values of a hardware logic can be monitored during the hardware logic control. For details, refer to the following ( Page 133 Assignment of "User Address").
• Input decimal values in the setting.
• The range of settable buffer memory addresses is 1000 to 1099 (High speed area: 1000 to 1029, low
speed area: 1030 to 1099). For details, refer to the following ( Page 80 Input range of User Address).
Input range of User Address
Input range Description
1000 to 1029 • The monitor items and setting items assigned in this area are read or written at a high speed (100μs). These items are also read or
written when the flexible high-speed I/O control module sends an interrupt signal to the CPU module.
• Assign even addresses to the parameters of two words (32 bits). Odd addresses cannot be assigned.
1030 to 1099 • The monitor items and setting items assigned in this area are read or written at a low speed (1ms).
• Assign even addresses to the parameters of two words (32 bits). Odd addresses cannot be assigned.
A single buffer memory address cannot be specified in several "User Address".
For example, when the buffer memory address 1000 has been specified in "Count Value" and 1000 is
specified in "Latch Value", the value in User Address is returned to the initial value.
80
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
Linking blocks
Link blocks so that an output terminal of the left block in the window is handled as a start point and the input terminal of the
right block in the window is handled as an end point.
The following describes how to link blocks.
1. Click the terminal to be a start point.
The outer frame of the selected terminal is highlighted.
2. Click the terminal to be an end point.
The start point and end point are automatically linked.
Event terminals of a multi function counter block can be linked to Event terminals of another multi function
counter block arranged in the same section.
Handle an Event terminal at the output side (right side of a multi function counter block) as a start point and an
Event terminal at the input side (left side of a multi function counter block) as an end point, and link these
terminals.
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
81
Linking conditions of terminals
Terminals in the same color can be linked. Terminals with two colors can be linked with the terminals with either of the two
colors.
For details on the terminal colors, refer to the following. Page 103 Main Blocks in the Hardware Logic Outline Window
Link type
The two link colors, blue and gray, are provided.
• A connection line between a linked output terminal and input terminal is blue.
• Gray connection lines indicate that the terminals have been automatically connected. Users cannot link the terminals.
Deleting links
The following describes how to delete a link.
Only blue connection lines can be deleted. Gray connection lines cannot be deleted.
1. Click the link to be deleted.
The link is highlighted (displayed in green) and selected.
2. Right-click the link and select "Wiring Delete" from the context menu. Or press the key.
82
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
Copying a block
A block arranged in the hardware logic outline window can be copied by block unit. The setting values can be changed by
block in a batch and an arranged block can be copied.
Procedure of copying a block
The following describes the procedure of copying a block.
1. Click the block to be copied.
The block is highlighted (displayed in yellow) and selected.
2. Right-click the block and select "Copy" from the context menu.
• Users can also copy multi function counter blocks by right-clicking a multi function counter block name
(Counter_) in the tree of the Navigation window and selecting "Copy" from the context menu.
• Select [Edit] [Copy] to perform the same operation as selecting "Copy" from the context menu.
Operation details and restrictions
• Multiple blocks cannot be copied at a time. Only a single block can be copied.
• The link between the block to be copied and other blocks is not copied. However, when the block to be copied is a multi
function counter, link information in the multi function counter block detail window is also copied.
• The following table shows which main blocks can be copied.
Section*1Tar g e t block Copying Item to be copied
1 External input block Possible Setting values of the block
• Y device terminal
• OUT terminal
2 • Parallel encoder block
• SSI encoder block
3 Multi function counter block Possible • Setting values in the multi function counter block detail window (the setting
Impossible
Possible Setting values of the block
value of User Address is not included) and links
• Link between Event terminals of a multi function counter block in the hardware logic outline window (the links across blocks cannot be copied.)
8
4 Logical operation block Possible The setting value of the block
5 External output block Possible Setting values of the block
SI device terminal Impossible
*1 This indicates a section in the hardware logic outline window.
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
83
Pasting a block
This function pastes the copy of a block. Select [Edit] [Paste] for a block with the same type as the copy to overwrite the
setting values with the ones of the copy at a time. Select [Edit] [Insert and Paste] to add the copy as a new block in the
hardware logic outline window.
Procedure of [Paste]
The following describes the procedure of [Paste].
1. Click the block on which the copy is to be pasted.
The block is highlighted (displayed in yellow) and selected.
2. Right-click the block and select "Paste" from the context menu.
3. The setting values of the block are overwritten with the ones of the copy.
• Users can also paste multi function counter blocks by right-clicking a multi function counter block name
(Counter_) in the tree of the Navigation window and selecting "Paste" from the context menu.
• Select [Edit] [Paste] to perform the same operation as selecting "Paste" from the context menu.
Procedure of [Insert and Paste]
The following describes the procedure of [Insert and Paste].
1. Select the following item.
[Edit] [Insert and Paste]
2. The copy of a block is added as a new block in the hardware logic outline window.
Operation details and restrictions
• Selecting the block on which the copy of a block is to be pasted and selecting [Edit] [Paste] overwrites the setting values
of the target block with the ones of the copy at a time.
• Selecting [Edit] [Insert and Paste] adds the copy of a block as a new block in the hardware logic outline window.
• Only a block with the same type as the copy of a block can be specified as a "Paste" target. If a block whose type is
different from the one of the copy has been selected, the copy cannot be pasted. The setting values of a multi function
counter block cannot be overwritten unless the data type of sign/unsigned and 16 bits/32 bits matches between the paste
target and the copy.
84
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.7 Windows for Creating the Hardware Logic
8.8 Library Function
A library is a block in which the types and setting values of main blocks have been combined. Libraries can be shared
between multiple projects by registering them in the configuration tool.
There are the following two types of library.
Library type Description
Library provided by the manufacturer The setting to enable specific functions has been applied to main blocks. Users can save time to create the hardware
logic by using a library for a desired function.
User library The blocks set by users can be exported as a user library.

Export

The blocks arranged in the hardware logic outline window can be exported as a library file (.fiolib).
By exporting the blocks whose operations have been checked as library files and registering them as libraries, users can
utilize them and save time to create the hardware logic.
Users can name library files when exporting blocks as libraries.
Export procedure
The following describes the export procedure.
1. Click the block to be exported.
The block is highlighted (displayed in yellow) and selected.
By exporting the blocks as a library, users can utilize the blocks that are frequently used for other projects and save time to create the hardware logic.
2. Right-click the block and select "Export block" from the context menu.
3. Store the library file.
8
Users can also export multi function counter blocks by right-clicking a multi function counter block name
(Counter_) in the tree of the Navigation window and selecting "Export block" from the context menu.
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.8 Library Function

85
Operation details and restrictions
• Multiple blocks cannot be exported at a time. Only a single block can be exported.
• The link between the block to be exported and other blocks is not exported. However, when the block to be exported is a
multi function counter, the link information in the multi function counter block detail window and the link between Event
terminals of a multi function counter block in the hardware logic outline window are also exported.
• The following table shows which main block can be exported.
Section*1Tar g e t block Export Item to be exported
1 • External input block
• Y device terminal
• OUT terminal
2 • Parallel encoder block
• SSI encoder block
3 Multi function counter block Possible • Setting values in the multi function counter block detail window (the setting
Impossible
Possible Setting values of the block
value of User Address is not included) and links
• Link between Event terminals of a multi function counter block in the hardware logic outline window (the links across blocks cannot be exported.)
4 Logical operation block Impossible
5 • External output block
• SI device terminal
*1 This indicates a section in the hardware logic outline window.
Impossible
86
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.8 Library Function

Library operation

The following describes the library.
No library exists immediately after the installation of the configuration tool. Register libraries as necessary.
Registering a library
Register the libraries provided by the manufacturer and exported user libraries in the configuration tool. Registering libraries
adds the blocks in library files in the "Library" tab in the Element Selection window.
1. Select the following item.
[Edit] [Library Registration]
2. Open a library file to be registered in the configuration tool.
3. The registered library is added in the "Library" tab in the Element Selection window.
How to use a library
Registered libraries can be selected from the Element Selection window and dragged and dropped into the work window to
arrange them in the same way as main blocks.
1. Select a block in the Element Selection window. Drag and drop the block into the hardware logic outline window.
When a block is dragged into the hardware logic outline window, the area to which the block can be dropped is highlighted.
2. When the selected block is dropped into the work window, the block is automatically arranged in the highlighted area.
The block name of the arranged library is the same as the main block. For example, when a registered block as a library is a
16-bit unsigned counter, the name of the block arranged in the work window is "Counter_(16bit_Unsigned)".
How to delete a library
Libraries that are no longer required can be deleted from the configuration tool.
1. Click the library to be deleted in the Element Selection window.
8
2. Right-click the library and select "Eliminate Registration of Library" from the context menu.
Even though the library is deleted, the library file is not deleted from the storage folder. To use the library again, register the
library again.
Select [Edit] [Library Delete] to perform the same operation as selecting "Eliminate Registration of Library"
from the context menu.
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.8 Library Function
87
8.9 Online Functions
Connect the computer in which the configuration tool has been installed and the CPU module, and read or write data from/to
the flexible high-speed I/O control module through the CPU module. The following table lists the online functions.
Function Description Reference
Write to Module (Execution memory)
Write to Module (Execution memory + Flash ROM)
Read from Module (Flash ROM) Reads the hardware logic saved in the flash ROM to the configuration tool. Page 90 Reading data
Verify with Module (Flash ROM) Verifies the hardware logic in the configuration tool and the setting data written in the flash
Module operation Starts/stops the hardware logic control. Page 92 Module
Monitor Monitors the on/off states of I/O terminals and count values.
*1 The statuses of I/O signals in the hardware logic are described as High and Low. For details, refer to the following.
Page 104 Signal status name
Writes the hardware logic to only the execution memory. Page 89 Writing data to
Writes the hardware logic to both the execution memory and the flash ROM.
ROM.
The following lists the items that can be monitored.
• High/Low states of output terminals in an external input block (hardware logic outline window)
• High/Low states of input terminals in an external output block (hardware logic outline window)
• Internal action states of input terminals and count values in a counter timer block (multi function counter block detail window)
*1
the module
from the module
Page 91 Verifying with the module
operation
Page 93 Monitor
If a communication error occurs while an online function is being executed, the possible cause is one of the
following causes. Check the target module and communication status.
• A module with the target start I/O number does not exist.
• A communication error has occurred during online access.
• Cable error
88
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.9 Online Functions

Writing data to the module

Write the hardware logic to the execution memory of the flexible high-speed I/O control module.
The execution memory and the flash ROM can be selected as the write destination of the data. Select only the execution
memory or both the execution memory and the flash ROM as the write destination.
Because the hardware logic written into the flash ROM is read to the execution memory at power-on, a control can be started
without re-setting. However, the number of writable times to a flash ROM is 10000 times. Thus, using different write
destinations as shown in the following examples is recommended.
• When the adjustment is repeated with changing the settings, select "Write to Module (execution memory)".
• After the adjustment is completed, select "Write to Module (execution + flash ROM)".
Users can set a password for the hardware logic by setting "Enable" in the [Security] menu of [Project]. For the hardware logic
with a password, users are required to input the password for reading the hardware logic from the module.
Writing data
The following describes how to write data.
1. Select a writing method depending on a selected write destination.
[Online] [Write to Module (execution memory)] or [Write to Module (execution + flash ROM)]
When "Write to Module (execution + flash ROM)" has been selected and the number of writes to flash ROM exceeds 10000
times, the error window is displayed. Data can be written to the module even in such situation. However, the data written in the
flash ROM is not guaranteed.
2. When the following conditions are satisfied, set a password.
• "Enable" has been set in the [Security] menu of [Project].
• [Write to Module (execution + flash ROM)] has been selected.
8
• If data writing is executed while the hardware logic control is operating, the hardware logic control will stop
and the data will be written to the module. After the data writing is completed, the hardware logic control
restarts.
• If data writing is executed while the hardware logic control has stopped, the stop status of the hardware
logic control will continue.
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.9 Online Functions
89

Reading data from the module

Read the hardware logic saved in the flash ROM of the flexible high-speed I/O control module to the configuration tool.
The hardware logic being edited is overwritten by the read data. Save the hardware logic before the data reading as
necessary.
Reading data
The following describes how to read data.
1. Select the following item.
[Online] [Read from Module (flash ROM)]
2. To read the hardware logic with a password, input the password set when the data was written to the module.
90
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.9 Online Functions

Verifying with the module

Verify the hardware logic in the project file being edited and the hardware logic saved in the flash ROM of the flexible high-
speed I/O control module. Verification results are displayed in a list and mismatches can be checked.
Verifying the hardware logic
The following describes how to verify the hardware logic.
1. Select the following item.
[Online] [Verify with Module (Flash ROM)]
2. Verification results are displayed.
In the verification result window, the match/mismatch status (the links to the input terminals of each block, setting values of the
block, and User Address) are displayed.
3. Double-click a mismatch to jump to the corresponding section in the work window. When the links are mismatched, the
corresponding link in the work window is selected.
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.9 Online Functions
91

Module operation

The hardware logic control can be started or stopped with the configuration tool.
Start or stop the hardware logic control under the following situations.
Operation Situation
Starting the hardware logic control • Use this operation after the power is turned on. The hardware logic control is stopped after the power-on. Check
the safety and select [Hardware logic control start] to start the control.
• Use this operation after the completion of the simulation. The hardware logic control is stopped after the completion of the simulation. Select [Hardware logic control start] to start the control again.
Stopping the hardware logic control Use this operation to check the module and system status. Select [Hardware logic control stop] to stop the control.
When checking the module and system status, stop the hardware logic control for safety.
How to start or stop the hardware logic control
The following describes how to start or stop the hardware logic control.
[Online] [Module operation] [Hardware logic control start] or [Hardware logic control stop]
This operation can be performed during monitor execution. For details on the monitor, refer to the following. Page 93 Monitor
When the hardware logic control is stopped, the count value of the counter timer block is reset. To stop the
count operation without resetting the count value, turn off the count enable of the counter timer block.
Checking the operating status of the hardware logic control
The operating status of the hardware logic control can be checked in the toolbar during monitor execution.
Hardware logic control status Button status Remarks
During hardware logic control The "Hardware logic control stop" button can be
pressed during the hardware logic control.
During hardware logic control stop The "Hardware logic control start" button can be
pressed during the hardware logic control stop.
When the hardware logic control is started or stopped from the configuration tool, Hardware logic control flag (X4) turns on or
off. Thus, users can check the operating status of the hardware logic control by monitoring the status of Hardware logic
control flag (X4) in GX Works2.
For details on Hardware logic control flag (X4), refer to the following. Page 241 Hardware logic control flag (X4)
Relations of operations with output signals and window operations
The hardware logic control can be started or stopped with the configuration tool or output signals (Y4, Y5). The (start or stop)
status of the hardware logic control changes depending on the last operation performed.
• When [Hardware logic control start] is selected with Hardware logic control stop request (Y5) on, the hardware logic control
is started.
• When [Hardware logic control stop] is selected with Hardware logic control start request (Y4) on, the hardware logic control
is stopped.
For details on Hardware logic control start request (Y4) and Hardware logic control stop request (Y5), refer to the following.
Page 244 Hardware logic control start request (Y4)Page 244 Hardware logic control stop request (Y5)
92
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.9 Online Functions

Monitor

The High/Low states of I/O terminals and count values are displayed in the hardware logic outline window or a multi function
counter block detail window.
The following lists the items that can be monitored.
Window Block Item
Hardware logic outline window External input block ON/OFF state of the corresponding external input terminal
High/Low state of the output terminal
Multi function counter block High/Low state of the Output 0 terminal
External output block High/Low state of the input terminal
ON/OFF state of the corresponding external output terminal
Multi function counter block detail window Counter timer block • Internal action state of the input terminal
How to use
The following shows how to start, stop, and end the monitoring.
[Online] [Monitor] [Start Monitoring], [Stop Monitoring], or [End Monitoring]
The monitoring can be started, stopped, or ended under the following conditions.
Operation Condition
[Start Monitoring] Can be used when the window mode*1 is "Edit Mode" or "Monitor Mode".
*1
[Stop Monitoring] Can be used when the window mode
[End Monitoring] Can be used when the window mode
is "Monitor Mode".
*1
is "Monitor Mode".
• Count value
*1 The current window mode can be checked on the status bar.
Although switching of the window between the hardware logic outline window and multi function counter block
detail windows and changing of the display position by the map display window are allowed even during
monitoring, operations other than them cannot be executed.
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.9 Online Functions
93
Monitor display
Monitor display target
The following terminals can be monitored. Monitor values of the terminals that have not been linked are not displayed.
Window name Block name Term inal Item to be monitored
Hardware logic outline window
Multi function counter block detail window
External input block IN 0 to IN B ON/OFF state of the input
Output terminal High/Low state of a terminal
Multi function counter block Counter_0 to Counter_7 Output 0 terminal High/Low state of a terminal
External output block OUT 0 to OUT 7 Input terminal High/Low state of a terminal
ON/OFF state of the output
OUT 0_DIF to OUT 5_DIF Input terminal High/Low state of a terminal
ON/OFF state of the output
Counter timer block Counter_Timer_0 to
Counter_Timer_7
RUN terminal Internal action state of the
STOP terminal
UP terminal
DOWN terminal
PRESET terminal
Count Value terminal Count value
terminal (external terminal)
terminal (external terminal)
terminal (external terminal)
counter timer block to an input terminal
*1
*1 When a buffer memory address is assigned to User Address of each terminal and a control is executed, the input state from the buffer
memory cannot be monitored. When checking the input state from the buffer memory, monitor the corresponding buffer memory area with "Device/Buffer Memory Batch" of GX Works2.
*2 For the input terminal (external terminal) of an external input block and the output terminal (external terminal) of an external output block,
the latest ON/OFF state of each terminal is displayed even while the hardware logic is stopped. For other items, monitor values are not updated while the hardware logic control is stopped.
*2
Item to be monitored
Monitor values are displayed at the upper section of the terminal or block. The ON/OFF state or Low/High state is displayed
as follows.
• Off: Off state or Low state
• On: On state or High state
When the monitoring has stopped, the values immediately before the monitoring stop are displayed.
94
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.9 Online Functions
8.10 Debug Function
External input signal data setting area
Simulation can be executed as the debug function.

Simulation function

The simulation function verifies the hardware logic written into the flexible high-speed I/O control module without wiring with
external devices.
With the configuration tool, create "simulation input data", the substitute for external input signals, and write the data into the
flexible high-speed I/O control module to operate the hardware logic.
Simulation results can be saved in CSV files. Saved results can be visually checked with GX LogViewer.
• During simulation, external outputs are actually turned on or off. Thus, execute the simulation under the
situation in which the module has not be connected with external devices or paying adequate attention not
to affect the system.
• Even though the simulation is executed with the hardware logic where an SI device terminal is linked, an
interrupt request to the CPU module is not output.
• Even though the simulation is executed with the hardware logic where an SSI encoder block has been
arranged, the communication with an SSI encoder will not be performed. Thus, position data of the SSI
encoder is not reflected to simulation execution results.
Window layout
The following describes the configurations of the "Simulation Settings" window. In this window, "simulation input data" can be
created and written into the flexible high-speed I/O control module or simulation is executed.
(Simulation input data is composed of external input signal data and "Simulation step unit time setting" in this window.)
[Debug] [Simulation]
8
8 FUNCTIONS OF THE CONFIGURATION TOOL

8.10 Debug Function

95
The following table lists the items to be displayed in the "Simulation Settings" window.
Item Description
External input signal data setting area To verify the hardware logic, set the status of data to be imported as external
"Simulation step unit time setting" Set the cycle to switch external input signal data to the next step.
"Open from the file" button Reads the simulation input data saved in a CSV file to the "Simulation
"Save to File" button Saves the simulation input data in the "Simulation Settings" window into a
"Writing to Module" button Writes the simulation input data set in the "Simulation Settings" window into
"Simulation run" button Executes the simulation with the simulation input data and hardware logic
"Close" button Closes the "Simulation Settings" window.
input signals (IN 0 to IN B). The setting value 0 indicates that an external input signal is off, and the setting value 1 indicates that an external input signal is on. Click a cell and switch the value between 0 (OFF) to 1 (ON). Columns in the area indicate the 12 points of the external input signals (IN 0 to IN B) and rows indicate 2048 steps (0 to 2047). In the simulation, the hardware logic is executed one step by one step at every cycle which is set in "Simulation step unit time setting".
Sampling of simulation results is also executed at this set cycle.
Settings" window.
CSV file.
the module. The written data is held until the flexible high-speed I/O control module is powered off. To execute the simulation, write simulation input data into the module in advance.
written into the module. After the completion of the simulation, the "A simulation execution result is saved." dialog box is displayed. Save the simulation execution result.
Data that can be acquired as simulation execution results
Users can acquire the following data by executing simulation. The execution result data acquired after simulation can be
saved in a CSV format file. The file can be visually checked with GX LogViewer.
Window name Block name Term inal Data to be acquired
Hardware logic outline window
Multi function counter block detail window
*1
*1 Simulation results of the blocks arranged in the hardware logic outline window are acquired.
External input block IN 0 to IN B Output terminal High/Low state of a terminal
External output block OUT 0 to OUT 7 Input terminal
OUT 0_DIF to OUT 5_DIF Input terminal
Counter timer block Counter_Timer_0 to
Counter_Timer_7
RUN terminal Internal action state of the
STOP terminal
UP terminal
DOWN terminal
PRESET terminal
Count Value terminal Count value
counter timer block to an input terminal
96
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.10 Debug Function
How to use
The following describes how to use the simulation function.
1. Open the "Simulation Settings" window.
[Debug] [Simulation]
2. Click each cell in the external input signal data setting area and switch "0: External input signal OFF" and "1: External
input signal ON". By default, "0: External input signal OFF" have been set in all cells.
8
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.10 Debug Function
97
3. Set "Simulation step unit time setting".
Changing "Simulation step unit time setting" changes the following timing.
• Timing to move external input data to the next step (Data is changed one step by one step at the set unit time.)
• Acquisition interval of execution result data (An execution result for one step is acquired at the set unit time.)
Users can save the set simulation input data with the "Save to File" button (Data is saved only in CSV format).
The following shows the CSV file format specifications. When creating a CSV file with any method other than the one using
the "Simulation Settings" window, create the file in the same format.
Item name Character
Delimiter Comma (,)
Return code CRLF (0x0D, 0x0A)
Row Description
1st row The simulation step unit time setting is output.
Simulation step unit time setting Value output into a CSV file
1ms 8
100μs7
10μs6
1μs5
0.1μs4
50ns 3
25ns 2
2nd to 2049th row One row indicates one step, and external input signal data is output as "0: OFF" or "1: ON" in order of IN 0, IN 1 to IN B starting
from the left row.
Users can open a saved CSV file from "Open from the file" of "Open/Save the simulation input data from a file".
• The "Writing to Module" button only writes simulation input data into the module. Write the hardware logic
into the module in advance.
• The simulation input data written into the module is cleared when the module is powered off.
• When the external input signal data in the CSV file selected from "Open from the file" has less than 2048
steps or 12 rows, the data is not reflected in the "Simulation Settings" window. When the data has 2048
steps or more or 12 rows or more, the external input signal data of 2048 steps or 12 rows is read. The data
that is not the read target is discarded.
98
8 FUNCTIONS OF THE CONFIGURATION TOOL
8.10 Debug Function
Loading...