Resumen del contenido incluido en la página 1
FXCPU
Structured Programming Manual [Application Functions]
Resumen del contenido incluido en la página 2
Resumen del contenido incluido en la página 3
FXCPU Structured Programming Manual (Application Functions) FXCPU Structured Programming Manual (Application Functions) Manual number JY997D34801 Manual revision B Date 7/2009 Foreword This manual contains text, diagrams and explanations which will guide the reader through the safe and correct installation, use, and operation of the FX Series function for structured programs. It should be read and understood before attempting to install or use the unit. Store this manual in a safe place so tha
Resumen del contenido incluido en la página 4
FXCPU Structured Programming Manual (Application Functions) Outline Precautions • This manual provides information for the use of the FX 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 equipment using the product associated with this manual should be of a competent nature, trained and qual
Resumen del contenido incluido en la página 5
FXCPU Structured Programming Manual Table of Contents (Application Functions) Table of Contents Positioning of This Manual....................................................................................................... 7 Related Manuals...................................................................................................................... 10 Generic Names and Abbreviations Used in Manuals .......................................................... 13 1. Outline 14 1.1 Outli
Resumen del contenido incluido en la página 6
FXCPU Structured Programming Manual Table of Contents (Application Functions) 5. Applied Functions 36 5.1 Type Conversion Functions .......................................................................................................... 36 5.1.1 BOOL_TO_INT(_E)....................................................................................................................... 36 5.1.2 BOOL_TO_DINT(_E) .......................................................................................
Resumen del contenido incluido en la página 7
FXCPU Structured Programming Manual Table of Contents (Application Functions) 5.2 Standard Functions Of One Numeric Variable............................................................................ 134 5.2.1 ABS(_E)....................................................................................................................................... 134 5.3 Standard Arithmetic Functions.................................................................................................... 136 5
Resumen del contenido incluido en la página 8
FXCPU Structured Programming Manual Table of Contents (Application Functions) 6. Standard Function Blocks 206 6.1 R_TRIG(_E) ................................................................................................................................ 206 6.2 F_TRIG(_E)................................................................................................................................. 208 6.3 CTU(_E)...............................................................................
Resumen del contenido incluido en la página 9
FXCPU Structured Programming Manual (Application Functions) Positioning of This Manual This manual explains application functions for structured programs provided by GX Works2. Refer to other manuals for devices, parameters and sequence instructions. Refer to each corresponding manual for analog, communication, positioning control and special units and blocks. 1. When using FX3U/FX3UC/FX3G PLCs QCPU/FXCPU Structured Programming Manual (Fundamentals) (Additional Manual) This manual explains pro
Resumen del contenido incluido en la página 10
FXCPU Structured Programming Manual (Application Functions) 2. When using FX1S/FX1N/FXU/FX1NC/FX2NC PLCs QCPU/FXCPU Structured Programming Manual (Fundamentals) (Additional Manual) This manual explains programming methods, specifications, functions, etc. required to create Q/FX structured programs. Structured FXCPU Structured Programming Manual (Device & Common) (Additional Manual) FX This manual explains devices and parameters for structured programs provided by GX Works2. Structured FXCPU Str
Resumen del contenido incluido en la página 11
FXCPU Structured Programming Manual (Application Functions) 3. When using FX0/FX0S/FX0N/FXU/FX2C PLCs QCPU/FXCPU Structured Programming Manual (Fundamentals) (Additional Manual) This manual explains programming methods, specifications, functions, etc. required to create Q/FX structured programs. Structured FXCPU Structured Programming Manual (Device & Common) (Additional Manual) This manual explains devices and parameters for structured programs provided FX by GX Works2. Structured FXCPU Struct
Resumen del contenido incluido en la página 12
FXCPU Structured Programming Manual (Application Functions) Related Manuals This manual explains devices and parameters for structured programs provided by GX Works2. Refer to other manuals for sequence instructions and applied functions. This chapter introduces only reference manuals for this manual and manuals which describe the hardware information of PLC main units. Manuals not introduced here may be required in some applications. Refer to the manual of the used PLC main unit and manuals su
Resumen del contenido incluido en la página 13
FXCPU Structured Programming Manual (Application Functions) Supplied with product Model Manual name Manual number Contents or Additional Manual name code Programming Detaileds about the analog special function block FX3G/FX3U/FX3UC User's Manual- (FX3U-4AD, FX3U-4DA, FX3UC-4AD) and analog JY997D16701 Additional Manual 09R619 Analog Control Edition special adapter (FX3U-****-ADP). Details about simple N : N link, parallel link, FX Series User's Manual -Data JY997D16901 Additional Manual com
Resumen del contenido incluido en la página 14
FXCPU Structured Programming Manual (Application Functions) FX0/FX0S/FX0N/FXU/FX2C PLCs [whose production is finished] Supplied with product Model Manual name Manual number Contents or Additional Manual name code PLC main unit Details about the hardware including I/O FX0/FX0N HARDWARE MANUAL JY992D47501 Supplied with product specifications, wiring, installation and - maintenance of the FX0/FX0N PLC main unit. Details about the hardware including I/O FX0S HARDWARE MANUAL JY992D55301 Supplied w
Resumen del contenido incluido en la página 15
FXCPU Structured Programming Manual (Application Functions) Generic Names and Abbreviations Used in Manuals Abbreviation/generic name Name PLCs FX3U Series or FX3U PLC Generic name of FX3U Series PLCs FX3UC Series or FX3UC PLC Generic name of FX3UC Series PLCs FX3G Series or FX3G PLC Generic name of FX3G Series PLCs FX2N Series or FX2N PLC Generic name of FX2N Series PLCs FX2NC Series or FX2NC PLC Generic name of FX2NC Series PLCs FX1N Series or FX1N PLC Generic name of FX1N Series PLCs Generic
Resumen del contenido incluido en la página 16
1 Outline FXCPU Structured Programming Manual 1.1 Outline of Structured Programs and Programming (Application Functions) 1. Outline This manual explains applied functions for structured programs provided by GX Works2. Refer to a different manual for devices, parameters and sequence instructions. Refer to the following manual for labels, data types and programming languages for structured programs: → Q/FX Structured Programming Manual (Fundamentals) 1.1 Outline of Structured Programs and Programm
Resumen del contenido incluido en la página 17
Outline Function List Function How to Read Applied Standard Correspondence Construction Explanation of Functions Function Blocks between Devices Functions and Addresses 1 Outline FXCPU Structured Programming Manual 1.2 PLC Series and Programming Software Version (Application Functions) 1 1.1.2 Programming languages The following programming languages can be used in each program block. Graphic languages 2 1. Structured ladder language This graphic language is created based on the relay circuit
Resumen del contenido incluido en la página 18
1 Outline FXCPU Structured Programming Manual 1.3 Cautions on Creation of Fundamental Programs (Application Functions) 1.3 Cautions on Creation of Fundamental Programs This section explains cautions on programming. Refer to the following manual for cautions on structured programs and programming languages: → Q/FX Structured Programming Manual (Fundamentals) Refer to the following programming manual for detailed operations of and cautions on devices and parameters: → FX Structured Programming Man
Resumen del contenido incluido en la página 19
Outline Function List Function How to Read Applied Standard Correspondence Construction Explanation of Functions Function Blocks between Devices Functions and Addresses 1 Outline FXCPU Structured Programming Manual 1.3 Cautions on Creation of Fundamental Programs (Application Functions) 1 1.3.2 Double output (double coil) operation and countermeasures This subsection explains the double output (double coil) operation and countermeasures. 1. Operation of double outputs When a coil (output varia
Resumen del contenido incluido en la página 20
1 Outline FXCPU Structured Programming Manual 1.3 Cautions on Creation of Fundamental Programs (Application Functions) 1.3.3 Circuits not available in structured ladder programs and countermeasures 1. Bridge circuit A circuit in which the current flows in both directions should be changed as shown in the right figure (so that a circuit without D and a circuit without B are connected in parallel). F F A B C E B A E A E D C D C 2. Coil connection position • You can program a contact on the right s