Fx programing

  • View
    286

  • Download
    9

Embed Size (px)

Text of Fx programing

  • MELSEC FX Serie

    Programmable Logic Control

    Programming Manual(Basic & Applied Instructions Ed

    FX3U

    MITSUBIS

    MITSUBISHI ELECTRIC

    Art. no. 16859116 07 2009JY997D16601Version F/FX3UC/F

    HI ELECTRIC INDUSTRX3GIAL AUTOMATs

    lers

    ition)ION

  • FX3G/FX3U/FX3UC Series Programmable Controllers

    Programming Manual - Basic & Applied Instruction Edition

    FX3G/FX3U/FX3UC Series Programmable Controllers

    Programming Manual - Basic & Applied Instruction Edition

    Foreword

    This manual contains text, diagrams and explanations which will guide the reader through the safe and correct installation, use, and operation of the FX3G/FX3U/FX3UC Series programmable controller. It should be read and understood before attempting to install or use the unit.Store this manual in a safe place so that you can take it out and read it whenever necessary. Always forward it to the end user.

    Manual No. JY997D16601

    Revision F

    Date 6 / 2009

    This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses.Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights whichmay occur as a result of using the contents noted in this manual.1

    2005 MITSUBISHI ELECTRIC CORPORATION

  • FX3G/FX3U/FX3UC Series Programmable Controllers

    Programming Manual - Basic & Applied Instruction Edition

    Outline Precautions This manual provides information for the use of the FX3U Series Programmable Controllers. The manual

    has been written to be used by trained and competent personnel. The definition of such a person or persons is as follows;

    a) Any engineer who is responsible for the planning, design and construction of automatic equipmentusing the product associated with this manual should be of a competent nature, trained and qualifiedto the local and national standards required to fulfill that role. These engineers should be fully aware ofall aspects of safety with regards to automated equipment.

    b) Any commissioning or service engineer must be of a competent nature, trained and qualified to thelocal and national standards required to fulfill that job. These engineers should also be trained in theuse and maintenance of the completed product. This includes being completely familiar with allassociated documentation for the said product. All maintenance should be carried out in accordancewith established safety practices.

    c) All operators of the completed equipment should be trained to use that product in a safe andcoordinated manner in compliance to established safety practices. The operators should also befamiliar with documentation which is connected with the actual operation of the completed equipment.

    Note: the term 'completed equipment' refers to a third party constructed device which contains or uses the product associated with this manual

    This product has been manufactured as a general-purpose part for general industries, and has not been designed or manufactured to be incorporated in a device or system used in purposes related to human life.

    Before using the product for special purposes such as nuclear power, electric power, aerospace, medicine or passenger movement vehicles, consult with Mitsubishi Electric.

    This product has been manufactured under strict quality control. However when installing the product where major accidents or losses could occur if the product fails, install appropriate backup or failsafe functions in the system.

    When combining this product with other products, please confirm the standard and the code, or regulations with which the user should follow. Moreover, please confirm the compatibility of this product to the system, machine, and apparatus with which a user is using.

    If in doubt at any stage during the installation of the product, always consult a professional electrical engineer who is qualified and trained to the local and national standards. If in doubt about the operation or use, please consult the nearest Mitsubishi Electric distributor.

    Since the examples indicated by this manual, technical bulletin, catalog, etc. are used as a reference, please use it after confirming the function and safety of the equipment and system. Mitsubishi Electric will accept no responsibility for actual use of the product based on these illustrative examples.

    This manual content, specification etc. may be changed without a notice for improvement. The information in this manual has been carefully checked and is believed to be accurate; however, you

    have noticed a doubtful point, a doubtful error, etc., please contact the nearest Mitsubishi Electric distributor.

    Registration

    Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

    CompactFlash is a trademark of SanDisk Corporation in the United States and other countries. The company name and the product name to be described in this manual are the registered trademarks or

    trademarks of each company.2

  • FX3G/FX3U/FX3UC Series Programmable Controllers

    Programming Manual - Basic & Applied Instructions Edition Table of Contents

    Table of ContentsRelated manuals...................................................................................................................... 14Generic Names and Abbreviations Used in Manuals .......................................................... 21

    1. Introduction 23

    1.1 Programming Language in PLCs.................................................................................................. 231.1.1 Types of programming languages ................................................................................................. 231.1.2 Compatibility among programs...................................................................................................... 24

    2. Overview (Sequence Program) 25

    2.1 Introduction of Convenient Functions............................................................................................ 252.1.1 Convenient functions for input processing..................................................................................... 252.1.2 Convenient functions for output processing .................................................................................. 262.1.3 Functions for supporting sequence control.................................................................................... 26

    2.2 Introduction of Applied Instructions ............................................................................................... 272.2.1 Major applied instructions.............................................................................................................. 28

    2.3 Analog/Positioning Special Control ............................................................................................... 292.4 Link and Communication............................................................................................................... 302.5 Introduction of Devices Constructing PLC .................................................................................... 31

    2.5.1 Relationship among devices.......................................................................................................... 312.5.2 Device list ...................................................................................................................................... 32

    2.6 Program Memory and Devices...................................................................................................... 342.6.1 Memory structure........................................................................................................................... 342.6.2 Memory operations and latched (battery backed) (power ON/OFF and RUN/STOP)................... 362.6.3 Types of backup methods against power failure ........................................................................... 412.6.4 Change between general devices and latched (battery backed) devices ..................................... 422.6.5 How to initialize devices (battery backed) ..................................................................................... 42

    2.7 Types and Setting of Parameters.................................................................................................. 432.7.1 Parameter list ................................................................................................................................ 432.7.2 Parameter initial values and available tools for changing parameter values................................. 452.7.3 Memory capacity setting range...................................................................................................... 472.7.4 Compatible optional memory model .............................................................................................. 482.7.5 Keyword (entry code) .................................................................................................................... 492.7.6 Special unit initial value setting [GX Developer Ver.8.23Z or later] ............................................... 552.7.7 Positioning setting [for TBL (FNC152) instruction] [GX Developer Ver.8.23Z or later].................. 552.7.8 Built-in CC-Link/LT Setup (dedicated to FX3UC-32MT-LT-2)......................................................... 552.7.9 Parameter settings by GX Developer ............................................................................................ 55

    3. Instruction List 68

    3.1 Basic Instructions ....................................................................................