Manual Mitsubishi Electronics FXCPU

236 pages 3.65 mb
Download

Go to site of 236

Summary
  • Mitsubishi Electronics FXCPU - page 1

    FXCPU Structured Programming Manu al [Application Functions] ...

  • Mitsubishi Electronics FXCPU - page 2

    ...

  • Mitsubishi Electronics FXCPU - page 3

    1 FXCPU Structured Programming Manual (Application Functions) FXCPU Structured Programming Manual (Application Functions) 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 und ...

  • Mitsubishi Electronics FXCPU - page 4

    2 FXCPU Structured Programming Manual (Application Functions) Outline Precautions • This manual provides information for the use of the FX Se ries 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 th ...

  • Mitsubishi Electronics FXCPU - page 5

    3 Table of Contents FXCPU Structured Programming Manual (Application Functions) Table of Contents Positioning of This Manual..... .............. .............. ........... .............. .............. ........... .............. .... .. 7 Related Manuals ............. ............ .............. ........... .............. .............. ........... ...

  • Mitsubishi Electronics FXCPU - page 6

    4 Table of Contents FXCPU Structured Programming Manual (Application Functions) 5. Applied Functions 36 5.1 Type Conversion Functions ................................................................................................. ......... 36 5.1.1 BOOL_TO_INT(_E) ............. ........... .............. .............. ........... .............. ...

  • Mitsubishi Electronics FXCPU - page 7

    5 Table of Contents FXCPU Structured Programming Manual (Application Functions) 5.2 Standard Functions Of One Numeric Variable ............................................................................ 134 5.2.1 ABS(_E).............. .......................................... ............................................... .......... .......... . ...

  • Mitsubishi Electronics FXCPU - page 8

    6 Table of Contents FXCPU Structured Programming Manual (Application Functions) 6. Standard Function Blocks 206 6.1 R_TRIG(_E) ............................................................................. ................................... ................ 206 6.2 F_TRIG(_E).......................................................................... ...

  • Mitsubishi Electronics FXCPU - page 9

    7 FXCPU Structured Programming Manual (Application Functions) Positioning of This Manual This manual explains application functions for struct ured 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 un ...

  • Mitsubishi Electronics FXCPU - page 10

    8 FXCPU Structured Programming Manual (Application Functions) 2. When using FX 1S /FX 1N /FX U /FX 1NC /FX 2NC PLCs (Additional Manual) (Additional Manual) (Additional Manual) (Additional Manual) QCPU/FXCPU Structured Programming Manual (Fundamentals) This manual explains programming methods, specifications, functions, etc. required to create struc ...

  • Mitsubishi Electronics FXCPU - page 11

    9 FXCPU Structured Programming Manual (Application Functions) 3. When using FX 0 /FX 0S /FX 0N /FX U /FX 2C PLCs (Additional Manual) (Additional Manual) (Additional Manual) (Additional Manual) (Additional Manual) QCPU/FXCPU Structured Programming Manual (Fundamentals) This manual explains programming methods, specifications, functions, etc. require ...

  • Mitsubishi Electronics FXCPU - page 12

    10 FXCPU Structured Programming Manual (Application Functions) Related Manuals This manual explains devices and parameters fo r 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 info ...

  • Mitsubishi Electronics FXCPU - page 13

    11 FXCPU Structured Programming Manual (Application Functions) FX 1S /FX 1N /FX 2N /FX 1NC /FX 2NC PLCs Programming FX 3G /FX 3U /FX 3UC User's Manual- Analog Cont rol Edit ion JY997D16701 Additiona l Manual Detaileds a bout the anal og special fu nction bloc k (FX 3U -4AD, FX 3U -4DA, FX 3UC -4AD) a nd analog special adap ter (FX 3U -****- AD ...

  • Mitsubishi Electronics FXCPU - page 14

    12 FXCPU Structured Programming Manual (Application Functions) FX 0 /FX 0S /FX 0N /FX U /FX 2C PLCs [whose production is finished] Manuals of models whose prod uction is finished Production is finished for FX 0 /FX 0S /FX 0N /FX U /FX 2C PLCs. Manual name Manual number Supplie d with produ ct or Additional Manual Contents Model name code PLC main u ...

  • Mitsubishi Electronics FXCPU - page 15

    13 FXCPU Structured Programming Manual (Application Functions) Generic Names and Abbreviations Used in Manuals Abbreviation /generic name Name PLCs FX 3U Series o r FX 3U PLC Generic name of FX 3U Series PLCs FX 3UC Series or F X 3UC PLC Generic name of FX 3UC Series PLCs FX 3G Series or FX 3G PLC Generic name of FX 3G Series PLCs FX 2N Series o r ...

  • Mitsubishi Electronics FXCPU - page 16

    1 Outline 1.1 Outline of Structured Pro grams and Programming 14 FXCPU Structured Programming Manual (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 ty ...

  • Mitsubishi Electronics FXCPU - page 17

    1 Outline 1.2 PLC Series and Programming Soft ware Version 15 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 1.1.2 Programming languages The following p ...

  • Mitsubishi Electronics FXCPU - page 18

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 16 FXCPU Structured Programming Manual (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 Progr amming Manua ...

  • Mitsubishi Electronics FXCPU - page 19

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 17 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 1.3.2 Double output (double coil) operatio ...

  • Mitsubishi Electronics FXCPU - page 20

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 18 FXCPU Structured Programming Manual (Application Functions) 1.3.3 Circuits not available in struct ured ladder programs and countermeasures 1. Bridge circui t A circuit in which the current flows in both directions should be changed as shown in the right figure (so that a circuit withou ...

  • Mitsubishi Electronics FXCPU - page 21

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 19 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 1. Program containing many flags (Example ...

  • Mitsubishi Electronics FXCPU - page 22

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 20 FXCPU Structured Programming Manual (Application Functions) 2. Introduction of a method to use flags in an y positions other than positions just under sequence instructions If two or more sequence instructions are programmed, general flags turn ON or OFF when each corresponding instruct ...

  • Mitsubishi Electronics FXCPU - page 23

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 21 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 1.3.5 Handling of operation error flag Whe ...

  • Mitsubishi Electronics FXCPU - page 24

    2 Function List 2.1 Type Conversion Functions 22 FXCPU Structured Programming Manual (Application Functions) 2. Function List This chapter introduces a list of functions available in programming. 2.1 Type Conversion Functions Function name Function Applicable PLC Reference FX 3U(C) FX 3G FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) BOOL_TO_INT ...

  • Mitsubishi Electronics FXCPU - page 25

    2 Function List 2.1 Type Conversion Functions 23 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses REAL_TO _INT(_E) Converts float (si ngle precis ion) dat ...

  • Mitsubishi Electronics FXCPU - page 26

    2 Function List 2.2 Standard Fu nctions Of One Numeric Variable 24 FXCPU Structured Programming Manual (Application Functions) 2.2 Standard Functions Of One Numeric Variable 2.3 Standard Arithmetic Functions Function name Function Applicable PLC Reference FX 3U(C) FX 3G FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) ABS(_E) O btains t he absolu ...

  • Mitsubishi Electronics FXCPU - page 27

    2 Function List 2.4 Standard Bit Sh ift Functions 25 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 2.4 Standard Bit Shift Functions 2.5 Standard Bitwis ...

  • Mitsubishi Electronics FXCPU - page 28

    2 Function List 2.7 Standard Comparison Functions 26 FXCPU Structured Programming Manual (Application Functions) 2.7 Standard Comparison Functions 2.8 Standard Character String Functions 2.9 Functions Of Time Data Types Function name Function Applicable PLC Reference FX 3U(C) FX 3G FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) GT_E Compares d a ...

  • Mitsubishi Electronics FXCPU - page 29

    2 Function List 2.10 Standard Function Blocks 27 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 2.10 Standard Function Blocks Function name Function App ...

  • Mitsubishi Electronics FXCPU - page 30

    3 Function Constr uction 3.1 Applied Functi on Expression and Execution Type 28 FXCPU Structured Programming Manual (Application Functions) 3. Function Construction This chapter explains the construction of applied functions. 3.1 Applied Function Expression and Execution Type Applied function and argument • The name expressing the contents is giv ...

  • Mitsubishi Electronics FXCPU - page 31

    3 Function Constr uction 3.2 Labels 29 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 3.2 Labels Label types Labels are classified into two types, globa ...

  • Mitsubishi Electronics FXCPU - page 32

    3 Function Constr uction 3.2 Labels 30 FXCPU Structured Programming Manual (Application Functions) Constant description method The table below the description method required to set a constant to a label. Data type The label data type is basic or universal. • The table below shows a list of basic data types. Constant type Description method Examp ...

  • Mitsubishi Electronics FXCPU - page 33

    3 Function Constr uction 3.2 Labels 31 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses • The universal data type indicates data type of a label which c ...

  • Mitsubishi Electronics FXCPU - page 34

    3 Function Constr uction 3.3 Device and Add ress 32 FXCPU Structured Programming Manual (Application Functions) 3.3 Device and Address Devices can be described in two methods, device method and address method. Device method In this method, a device is described using the device name and device number. Address method This method is defined in IEC611 ...

  • Mitsubishi Electronics FXCPU - page 35

    3 Function Constr uction 3.4 EN and ENO 33 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 3.4 EN and ENO Execution of an instruction can be controlled w ...

  • Mitsubishi Electronics FXCPU - page 36

    4 How to Read Explana tion of Function s 34 FXCPU Structured Programming Manual (Application Functions) 4. How to Read Explanation of Functions Function explanation pages have the following configuration. 1) 2) 3) 4) * The above page is prepared for explanation, and is dif ferent from the actual page. 6) 7) 5) ...

  • Mitsubishi Electronics FXCPU - page 37

    4 How to Read Explana tion of Function s 35 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 1) Indicates the chapter/section/subsection number and instru ...

  • Mitsubishi Electronics FXCPU - page 38

    5 Applied Functions 5.1 Type Conversion Functions 36 FXCPU Structured Programming Manual (Application Functions) 5. Applied Functions This chapter explains the operation outline of each appli ed function, symbols, I/O data type, equivalent circuit in sequence instructions, target models, cautions and program examples. Refer to the following manual ...

  • Mitsubishi Electronics FXCPU - page 39

    5 Applied Functions 5.1 Type Conversion Functions 37 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, bit data stored in ...

  • Mitsubishi Electronics FXCPU - page 40

    5 Applied Functions 5.1 Type Conversion Functions 38 FXCPU Structured Programming Manual (Application Functions) 5.1.2 BOOL_TO_DINT(_E) Outline This function converts bit data into double word [signed] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) ...

  • Mitsubishi Electronics FXCPU - page 41

    5 Applied Functions 5.1 Type Conversion Functions 39 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this prog ram, bit data st ored i ...

  • Mitsubishi Electronics FXCPU - page 42

    5 Applied Functions 5.1 Type Conversion Functions 40 FXCPU Structured Programming Manual (Application Functions) 5.1.3 BOOL_TO_STR(_E) Outline This function converts bit data into string data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. ...

  • Mitsubishi Electronics FXCPU - page 43

    5 Applied Functions 5.1 Type Conversion Functions 41 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, bit data stored in ...

  • Mitsubishi Electronics FXCPU - page 44

    5 Applied Functions 5.1 Type Conversion Functions 42 FXCPU Structured Programming Manual (Application Functions) 5.1.4 BOOL_TO_WORD(_E) Outline This function converts bit data into word [unsigned]/bit st ring [16-bit] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O varia ...

  • Mitsubishi Electronics FXCPU - page 45

    5 Applied Functions 5.1 Type Conversion Functions 43 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, bit data stored in ...

  • Mitsubishi Electronics FXCPU - page 46

    5 Applied Functions 5.1 Type Conversion Functions 44 FXCPU Structured Programming Manual (Application Functions) 5.1.5 BOOL_TO_DWORD(_E) Outline This function conv erts bit data in to double word [unsig ned]/bit str ing [32-bit] data , and output s the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functio ...

  • Mitsubishi Electronics FXCPU - page 47

    5 Applied Functions 5.1 Type Conversion Functions 45 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, bit data stored in ...

  • Mitsubishi Electronics FXCPU - page 48

    5 Applied Functions 5.1 Type Conversion Functions 46 FXCPU Structured Programming Manual (Application Functions) 5.1.6 BOOL_TO_TIME(_E) Outline This function converts bit data into time data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. E ...

  • Mitsubishi Electronics FXCPU - page 49

    5 Applied Functions 5.1 Type Conversion Functions 47 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, bit data stored in ...

  • Mitsubishi Electronics FXCPU - page 50

    5 Applied Functions 5.1 Type Conversion Functions 48 FXCPU Structured Programming Manual (Application Functions) 5.1.7 INT_TO_DINT(_E) Outline This function converts wo rd [signed] da ta into double word [signed] data, and outputs the dat a obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables ...

  • Mitsubishi Electronics FXCPU - page 51

    5 Applied Functions 5.1 Type Conversion Functions 49 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, word [signed] data ...

  • Mitsubishi Electronics FXCPU - page 52

    5 Applied Functions 5.1 Type Conversion Functions 50 FXCPU Structured Programming Manual (Application Functions) 5.1.8 DINT_TO_INT(_E) Outline This function converts d ouble word [signed] data into word [signed] data, and outputs the dat a obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables ...

  • Mitsubishi Electronics FXCPU - page 53

    5 Applied Functions 5.1 Type Conversion Functions 51 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, double word [signed ...

  • Mitsubishi Electronics FXCPU - page 54

    5 Applied Functions 5.1 Type Conversion Functions 52 FXCPU Structured Programming Manual (Application Functions) 5.1.9 INT_TO_BOOL(_E) Outline This function converts word [signed] data into bit data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are desc ...

  • Mitsubishi Electronics FXCPU - page 55

    5 Applied Functions 5.1 Type Conversion Functions 53 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, word [signed] data ...

  • Mitsubishi Electronics FXCPU - page 56

    5 Applied Functions 5.1 Type Conversion Functions 54 FXCPU Structured Programming Manual (Application Functions) 5.1.10 DINT_TO_BOOL(_E) Outline This function converts double word [signed] data into bit data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) ...

  • Mitsubishi Electronics FXCPU - page 57

    5 Applied Functions 5.1 Type Conversion Functions 55 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this pro gram, double word [signe ...

  • Mitsubishi Electronics FXCPU - page 58

    5 Applied Functions 5.1 Type Conversion Functions 56 FXCPU Structured Programming Manual (Application Functions) 5.1.11 INT_TO_REAL(_E) Outline This function converts word [signed] data into float (single precision) data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variabl ...

  • Mitsubishi Electronics FXCPU - page 59

    5 Applied Functions 5.1 Type Conversion Functions 57 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this pr ogram, word [signed] data ...

  • Mitsubishi Electronics FXCPU - page 60

    5 Applied Functions 5.1 Type Conversion Functions 58 FXCPU Structured Programming Manual (Application Functions) 5.1.12 DINT_TO_REA L(_E) Outline This function co nverts double word [signed] dat a into float (sin gle precision) da ta, and output s the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of function ...

  • Mitsubishi Electronics FXCPU - page 61

    5 Applied Functions 5.1 Type Conversion Functions 59 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, double word [signed ...

  • Mitsubishi Electronics FXCPU - page 62

    5 Applied Functions 5.1 Type Conversion Functions 60 FXCPU Structured Programming Manual (Application Functions) 5.1.13 INT_TO_STR(_E) Outline This function converts word [signed] data into string data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are d ...

  • Mitsubishi Electronics FXCPU - page 63

    5 Applied Functions 5.1 Type Conversion Functions 61 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Error An operation error occurs in the follo wing ca ...

  • Mitsubishi Electronics FXCPU - page 64

    5 Applied Functions 5.1 Type Conversion Functions 62 FXCPU Structured Programming Manual (Application Functions) 5.1.14 DINT_TO_STR(_E) Outline This function converts doubl e word [signed ] data into string da ta, and output s the data obtain ed by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables ins ...

  • Mitsubishi Electronics FXCPU - page 65

    5 Applied Functions 5.1 Type Conversion Functions 63 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" i ...

  • Mitsubishi Electronics FXCPU - page 66

    5 Applied Functions 5.1 Type Conversion Functions 64 FXCPU Structured Programming Manual (Application Functions) 5.1.15 INT_TO_WORD(_E) Outline This function converts word [signed] data into word [unsigned]/bit string [16-bit] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, ...

  • Mitsubishi Electronics FXCPU - page 67

    5 Applied Functions 5.1 Type Conversion Functions 65 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, word [signed ] data ...

  • Mitsubishi Electronics FXCPU - page 68

    5 Applied Functions 5.1 Type Conversion Functions 66 FXCPU Structured Programming Manual (Application Functions) 5.1.16 DINT_TO_WORD(_E) Outline This function conve rts double word [sig ned] data into word [u nsigned]/b it string [16-bit] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of ...

  • Mitsubishi Electronics FXCPU - page 69

    5 Applied Functions 5.1 Type Conversion Functions 67 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, double word [signed ...

  • Mitsubishi Electronics FXCPU - page 70

    5 Applied Functions 5.1 Type Conversion Functions 68 FXCPU Structured Programming Manual (Application Functions) 5.1.17 INT_TO_DWORD(_E) Outline This function conve rts word [signed] da ta into double word [uns igned]/bit string [32-bit] data, an d outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of ...

  • Mitsubishi Electronics FXCPU - page 71

    5 Applied Functions 5.1 Type Conversion Functions 69 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, word [signed] data ...

  • Mitsubishi Electronics FXCPU - page 72

    5 Applied Functions 5.1 Type Conversion Functions 70 FXCPU Structured Programming Manual (Application Functions) 5.1.18 DINT_TO_DWORD(_E) Outline This functio n converts d ouble word [signed] da ta into doub le word [ unsigned]/bi t string [32 -bit] data , and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In ex ...

  • Mitsubishi Electronics FXCPU - page 73

    5 Applied Functions 5.1 Type Conversion Functions 71 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, do uble word [sig n ...

  • Mitsubishi Electronics FXCPU - page 74

    5 Applied Functions 5.1 Type Conversion Functions 72 FXCPU Structured Programming Manual (Application Functions) 5.1.19 INT_TO_BCD(_E) Outline This function converts word [signed] data into BCD data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are desc ...

  • Mitsubishi Electronics FXCPU - page 75

    5 Applied Functions 5.1 Type Conversion Functions 73 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this progra m, word [signed] data ...

  • Mitsubishi Electronics FXCPU - page 76

    5 Applied Functions 5.1 Type Conversion Functions 74 FXCPU Structured Programming Manual (Application Functions) 5.1.20 DINT_TO_BCD(_E) Outline This function converts double word [signed] data into BCD data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) ...

  • Mitsubishi Electronics FXCPU - page 77

    5 Applied Functions 5.1 Type Conversion Functions 75 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Error An operation error occurs when the value store ...

  • Mitsubishi Electronics FXCPU - page 78

    5 Applied Functions 5.1 Type Conversion Functions 76 FXCPU Structured Programming Manual (Application Functions) 5.1.21 INT_TO_TIME(_E ) Outline This function converts word [signed] data into time data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are d ...

  • Mitsubishi Electronics FXCPU - page 79

    5 Applied Functions 5.1 Type Conversion Functions 77 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, word [sign ed] data ...

  • Mitsubishi Electronics FXCPU - page 80

    5 Applied Functions 5.1 Type Conversion Functions 78 FXCPU Structured Programming Manual (Application Functions) 5.1.22 DINT_TO_TIME(_E) Outline This function converts double word [signed] data into time data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ...

  • Mitsubishi Electronics FXCPU - page 81

    5 Applied Functions 5.1 Type Conversion Functions 79 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, double word [signed ...

  • Mitsubishi Electronics FXCPU - page 82

    5 Applied Functions 5.1 Type Conversion Functions 80 FXCPU Structured Programming Manual (Application Functions) 5.1.23 REAL_TO_INT(_E) Outline This function converts float (single precision) data into word [signed] data, and outputs the data ob tained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variab ...

  • Mitsubishi Electronics FXCPU - page 83

    5 Applied Functions 5.1 Type Conversion Functions 81 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, float (single preci ...

  • Mitsubishi Electronics FXCPU - page 84

    5 Applied Functions 5.1 Type Conversion Functions 82 FXCPU Structured Programming Manual (Application Functions) 5.1.24 REAL_TO_DINT(_ E) Outline This function co nverts float (sing le precision) data into double wo rd [signed] da ta, and outputs t he data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of function ...

  • Mitsubishi Electronics FXCPU - page 85

    5 Applied Functions 5.1 Type Conversion Functions 83 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, float (single preci ...

  • Mitsubishi Electronics FXCPU - page 86

    5 Applied Functions 5.1 Type Conversion Functions 84 FXCPU Structured Programming Manual (Application Functions) 5.1.25 REAL_TO_STR(_E) Outline This function c onverts float (single precision ) data into st ring data, a nd outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables ...

  • Mitsubishi Electronics FXCPU - page 87

    5 Applied Functions 5.1 Type Conversion Functions 85 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 2) The string data obtained by conversion is output ...

  • Mitsubishi Electronics FXCPU - page 88

    5 Applied Functions 5.1 Type Conversion Functions 86 FXCPU Structured Programming Manual (Application Functions) Error An operation error occurs in the following cases. T he error flag M8067 turns ON, and D8067 st ores the error code. 1) When the value stored in a device specified in is outside the following range: 0, ±2 -126 ≤ (Value of device ...

  • Mitsubishi Electronics FXCPU - page 89

    5 Applied Functions 5.1 Type Conversion Functions 87 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.26 WORD_TO_BOOL(_E) Outline This function conver ...

  • Mitsubishi Electronics FXCPU - page 90

    5 Applied Functions 5.1 Type Conversion Functions 88 FXCPU Structured Programming Manual (Application Functions) Program example In this program, word [unsigned]/bit string [16-bit] data stored in a device specified in is converted into bit data, and the data obtained by conversion is output to a device specified in . 1) Function without EN/ENO(WOR ...

  • Mitsubishi Electronics FXCPU - page 91

    5 Applied Functions 5.1 Type Conversion Functions 89 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.27 DWORD_TO_BOOL(_E) Outline This function conv ...

  • Mitsubishi Electronics FXCPU - page 92

    5 Applied Functions 5.1 Type Conversion Functions 90 FXCPU Structured Programming Manual (Application Functions) Program example In this program, double word [unsigned]/bit string [32-bit] data stored in a device specified in is converted into bit data, and the data obtained by conversion is output to a device specified in . 1) Function without EN/ ...

  • Mitsubishi Electronics FXCPU - page 93

    5 Applied Functions 5.1 Type Conversion Functions 91 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.28 WORD_TO_INT(_E) Outline This function convert ...

  • Mitsubishi Electronics FXCPU - page 94

    5 Applied Functions 5.1 Type Conversion Functions 92 FXCPU Structured Programming Manual (Application Functions) Program example In this progr am, word [uns igned]/bit str ing [16-bit] data stored in a device spec ified in is converted int o word [signed] data, and the data obtained by conversion is output to a device specified in . 1) Function wit ...

  • Mitsubishi Electronics FXCPU - page 95

    5 Applied Functions 5.1 Type Conversion Functions 93 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.29 WORD_TO_DIN T(_E) Outline This function conve ...

  • Mitsubishi Electronics FXCPU - page 96

    5 Applied Functions 5.1 Type Conversion Functions 94 FXCPU Structured Programming Manual (Application Functions) Program example In this progr am, word [uns igned]/bit str ing [16-bit] data stored in a device spec ified in is converted int o double word [signed] data, and the data obtained by conversion is output to a device specified in . 1) Funct ...

  • Mitsubishi Electronics FXCPU - page 97

    5 Applied Functions 5.1 Type Conversion Functions 95 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.30 DWORD_TO_INT(_ E) Outline This function conve ...

  • Mitsubishi Electronics FXCPU - page 98

    5 Applied Functions 5.1 Type Conversion Functions 96 FXCPU Structured Programming Manual (Application Functions) Program example In this program, double word [unsigned]/bit string [32-bit] data stored in a device specified in is converted into word [signed] data, and the data obtained by conversion is output to a device specified in . 1) Function w ...

  • Mitsubishi Electronics FXCPU - page 99

    5 Applied Functions 5.1 Type Conversion Functions 97 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.31 DWORD_TO_DINT(_E) Outline This functio n conv ...

  • Mitsubishi Electronics FXCPU - page 100

    5 Applied Functions 5.1 Type Conversion Functions 98 FXCPU Structured Programming Manual (Application Functions) Program example In this program, double word [unsigned]/bit string [32-bit] data stored in a device specified in is converted into double word [signed] data, and the data obtained by conversion is output to a device specified in . 1) Fun ...

  • Mitsubishi Electronics FXCPU - page 101

    5 Applied Functions 5.1 Type Conversion Functions 99 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.32 WORD_TO_DWORD(_E) Outline This function conve ...

  • Mitsubishi Electronics FXCPU - page 102

    5 Applied Functions 5.1 Type Conversion Functions 100 FXCPU Structured Programming Manual (Application Functions) Program example In this progr am, word [uns igned]/bit str ing [16-bit] data stored in a device spec ified in is converted int o double word [unsigned] /bit string [32-bit] data , and the data ob tained by conversio n is output to a dev ...

  • Mitsubishi Electronics FXCPU - page 103

    5 Applied Functions 5.1 Type Conversion Functions 101 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.33 DWORD_TO_WORD(_E) Outline This function con ...

  • Mitsubishi Electronics FXCPU - page 104

    5 Applied Functions 5.1 Type Conversion Functions 102 FXCPU Structured Programming Manual (Application Functions) Program example In this program, double word [unsigned]/bit string [32-bit] data stored in a device specified in is converted into word [ unsigned]/b it string [16-b it] data, and the data obtained by c onversion is o utput to a d evice ...

  • Mitsubishi Electronics FXCPU - page 105

    5 Applied Functions 5.1 Type Conversion Functions 103 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.34 WORD_TO_TIM E(_E) Outline This function conv ...

  • Mitsubishi Electronics FXCPU - page 106

    5 Applied Functions 5.1 Type Conversion Functions 104 FXCPU Structured Programming Manual (Application Functions) Program example In this progr am, word [uns igned]/bit str ing [16-bit] data stored in a device spec ified in is converted int o time data, and the data obtained by conversion is output to a device specified in . 1) Function without EN/ ...

  • Mitsubishi Electronics FXCPU - page 107

    5 Applied Functions 5.1 Type Conversion Functions 105 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.35 DWORD_TO_TIME(_E ) Outline This function con ...

  • Mitsubishi Electronics FXCPU - page 108

    5 Applied Functions 5.1 Type Conversion Functions 106 FXCPU Structured Programming Manual (Application Functions) Program example In this program, double word [unsigned]/bit string [32-bit] data stored in a device specified in is converted into time data, and the data obtained by conversion is output to a device specified in . 1) Function without E ...

  • Mitsubishi Electronics FXCPU - page 109

    5 Applied Functions 5.1 Type Conversion Functions 107 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.36 STR_TO_BOOL(_E) Outline This function conver ...

  • Mitsubishi Electronics FXCPU - page 110

    5 Applied Functions 5.1 Type Conversion Functions 108 FXCPU Structured Programming Manual (Application Functions) Program example In this program, string data stored in a d evice specified in is converted into bit data, and t he data obtained by conversion is output to a device specified in . 1) Function without EN/ENO(STR_TO_BOOL) 2) Function with ...

  • Mitsubishi Electronics FXCPU - page 111

    5 Applied Functions 5.1 Type Conversion Functions 109 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.37 STR_TO_INT(_E) Outline This function convert ...

  • Mitsubishi Electronics FXCPU - page 112

    5 Applied Functions 5.1 Type Conversion Functions 110 FXCPU Structured Programming Manual (Application Functions) Error 1) When the sign data (low-order byte) of the 1st word stored in a device specified in is any other than "20H (space)" or "2DH (-)" (Error code: K6706) 2) When the ASCII code for each place (digit) stored in to ...

  • Mitsubishi Electronics FXCPU - page 113

    5 Applied Functions 5.1 Type Conversion Functions 111 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.38 STR_TO_DINT(_E ) Outline This function conve ...

  • Mitsubishi Electronics FXCPU - page 114

    5 Applied Functions 5.1 Type Conversion Functions 112 FXCPU Structured Programming Manual (Application Functions) Error 1) When the sign data (low-order byte) of the 1st word stored in a device specified in is any other than "20H (space)" or "2DH (-)" (Error code: K6706) 2) When the ASCII code for each place (digit) stored in to ...

  • Mitsubishi Electronics FXCPU - page 115

    5 Applied Functions 5.1 Type Conversion Functions 113 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.1.39 STR_TO_REAL(_E) Outline This function c onve ...

  • Mitsubishi Electronics FXCPU - page 116

    5 Applied Functions 5.1 Type Conversion Functions 114 FXCPU Structured Programming Manual (Application Functions) b) In the case of exponent format 3) With regard to string data, six digits excluding the sign, decimal point and exponent part are valid, and the 7th and later digits are discarded during conversion. a) In the case of decimal format b) ...

  • Mitsubishi Electronics FXCPU - page 117

    5 Applied Functions 5.1 Type Conversion Functions 115 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Error An operatio n error occurs in the following c ...

  • Mitsubishi Electronics FXCPU - page 118

    5 Applied Functions 5.1 Type Conversion Functions 116 FXCPU Structured Programming Manual (Application Functions) 5.1.40 STR_TO_TIME(_E) Outline This function converts string data into time data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are describe ...

  • Mitsubishi Electronics FXCPU - page 119

    5 Applied Functions 5.1 Type Conversion Functions 117 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Error An operatio n error occurs in the following c ...

  • Mitsubishi Electronics FXCPU - page 120

    5 Applied Functions 5.1 Type Conversion Functions 118 FXCPU Structured Programming Manual (Application Functions) 5.1.41 BCD_TO_INT(_E) Outline This function converts BCD data into word [signed] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are des ...

  • Mitsubishi Electronics FXCPU - page 121

    5 Applied Functions 5.1 Type Conversion Functions 119 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this example , BCD data stored i ...

  • Mitsubishi Electronics FXCPU - page 122

    5 Applied Functions 5.1 Type Conversion Functions 120 FXCPU Structured Programming Manual (Application Functions) 5.1.42 BCD_TO_DINT(_E) Outline This function converts BCD data into double word [signed] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) ...

  • Mitsubishi Electronics FXCPU - page 123

    5 Applied Functions 5.1 Type Conversion Functions 121 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this example, BCD data stored in ...

  • Mitsubishi Electronics FXCPU - page 124

    5 Applied Functions 5.1 Type Conversion Functions 122 FXCPU Structured Programming Manual (Application Functions) 5.1.43 TIME_TO_BOOL(_E) Outline This function converts time data into bit data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. ...

  • Mitsubishi Electronics FXCPU - page 125

    5 Applied Functions 5.1 Type Conversion Functions 123 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, time data stored i ...

  • Mitsubishi Electronics FXCPU - page 126

    5 Applied Functions 5.1 Type Conversion Functions 124 FXCPU Structured Programming Manual (Application Functions) 5.1.44 TIME_TO_INT(_E) Outline This function converts time data into word [signed] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are d ...

  • Mitsubishi Electronics FXCPU - page 127

    5 Applied Functions 5.1 Type Conversion Functions 125 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, time data stored i ...

  • Mitsubishi Electronics FXCPU - page 128

    5 Applied Functions 5.1 Type Conversion Functions 126 FXCPU Structured Programming Manual (Application Functions) 5.1.45 TIME_TO_DINT(_E) Outline This function converts time data into double word [signed] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ...

  • Mitsubishi Electronics FXCPU - page 129

    5 Applied Functions 5.1 Type Conversion Functions 127 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, time data stored i ...

  • Mitsubishi Electronics FXCPU - page 130

    5 Applied Functions 5.1 Type Conversion Functions 128 FXCPU Structured Programming Manual (Application Functions) 5.1.46 TIME_TO_STR(_E) Outline This function converts time data into string data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are describe ...

  • Mitsubishi Electronics FXCPU - page 131

    5 Applied Functions 5.1 Type Conversion Functions 129 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, time data stored i ...

  • Mitsubishi Electronics FXCPU - page 132

    5 Applied Functions 5.1 Type Conversion Functions 130 FXCPU Structured Programming Manual (Application Functions) 5.1.47 TIME_TO_WORD(_E) Outline This function converts time data into word [unsigned]/bit string [16-bit] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O var ...

  • Mitsubishi Electronics FXCPU - page 133

    5 Applied Functions 5.1 Type Conversion Functions 131 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, time data stored i ...

  • Mitsubishi Electronics FXCPU - page 134

    5 Applied Functions 5.1 Type Conversion Functions 132 FXCPU Structured Programming Manual (Application Functions) 5.1.48 TIME_TO_DWORD(_E) Outline This function converts time data into doub le word [unsigned]/bit string [32-bit ] data, and outputs the data obtained by conversion. 1. Format *1. Output variable 2. Set da ta In explanation of function ...

  • Mitsubishi Electronics FXCPU - page 135

    5 Applied Functions 5.1 Type Conversion Functions 133 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, time data st ored ...

  • Mitsubishi Electronics FXCPU - page 136

    5.2 Standard Fu nctions Of One Numeric Variable 134 FXCPU Structured Programming Manual (Application Functions) 5.2 Standard Functions Of One Numeric Variable 5.2.1 ABS(_E) Outline This function obtains the absolute value, and outputs it. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. ...

  • Mitsubishi Electronics FXCPU - page 137

    5.2 Standard Fu nctions Of One Numeric Variable 135 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the absolute value i ...

  • Mitsubishi Electronics FXCPU - page 138

    5.3 Standard Arithmetic Functions 136 FXCPU Structured Programming Manual (Application Functions) 5.3 Standard Arithmetic Functions 5.3.1 ADD_E Outline This function performs addition using two values (A + B = C), and outputs the operation result. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are d ...

  • Mitsubishi Electronics FXCPU - page 139

    5.3 Standard Arithmetic Functions 137 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) When handling 32-bit data in structured programs, y ou ...

  • Mitsubishi Electronics FXCPU - page 140

    5.3 Standard Arithmetic Functions 138 FXCPU Structured Programming Manual (Application Functions) 5.3.2 SUB_E Outline This function performs subtraction using two values (A - B = C), and outputs the operation result. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of functi ...

  • Mitsubishi Electronics FXCPU - page 141

    5.3 Standard Arithmetic Functions 139 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) When handling 32-bit data in structured programs, y ou ...

  • Mitsubishi Electronics FXCPU - page 142

    5.3 Standard Arithmetic Functions 140 FXCPU Structured Programming Manual (Application Functions) 5.3.3 MUL_E Outline This function performs multiplication using two values (A × B = C), and outputs the operation result. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of fu ...

  • Mitsubishi Electronics FXCPU - page 143

    5.3 Standard Arithmetic Functions 141 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this progra m, multiplication is performed u sin ...

  • Mitsubishi Electronics FXCPU - page 144

    5.3 Standard Arithmetic Functions 142 FXCPU Structured Programming Manual (Application Functions) 5.3.4 DIV_E Outline This function performs division using two values (A / B = C … remainder), and outputs the quotient. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of fun ...

  • Mitsubishi Electronics FXCPU - page 145

    5.3 Standard Arithmetic Functions 143 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, division is performed using double ...

  • Mitsubishi Electronics FXCPU - page 146

    5.3 Standard Arithmetic Functions 144 FXCPU Structured Programming Manual (Application Functions) 5.3.5 MOD(_E) Outline This function performs division using two values (A / B = C … remainder), and outputs the remainder. 1. Format *1. Output variable *2. Refer to the Cautions 2. Set da ta In explanation of functions, I/O variables inside ( ) are ...

  • Mitsubishi Electronics FXCPU - page 147

    5.3 Standard Arithmetic Functions 145 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Error 1) An operation error occurs when the divisor stored in a dev ...

  • Mitsubishi Electronics FXCPU - page 148

    5.3 Standard Arithmetic Functions 146 FXCPU Structured Programming Manual (Application Functions) 5.3.6 EXPT(_E) Outline This function obtains raised result, and outputs it. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation This function raises float ...

  • Mitsubishi Electronics FXCPU - page 149

    5.3 Standard Arithmetic Functions 147 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Error An operatio n error occurs in the following c ases. The erro ...

  • Mitsubishi Electronics FXCPU - page 150

    5.3 Standard Arithmetic Functions 148 FXCPU Structured Programming Manual (Application Functions) 5.3.7 MOVE(_E) Outline This function transfers data stored in a device to another device. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation This functio ...

  • Mitsubishi Electronics FXCPU - page 151

    5.3 Standard Arithmetic Functions 149 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, word [signed] d ata stored in a de ...

  • Mitsubishi Electronics FXCPU - page 152

    5.4 Standard Bit Sh ift Functions 150 FXCPU Structured Programming Manual (Application Functions) 5.4 Standard Bit Shift Functions 5.4.1 SHL(_E) Outline This function shifts data of specified bit leng th leftward by the specified number of bits. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are des ...

  • Mitsubishi Electronics FXCPU - page 153

    5.4 Standard Bit Sh ift Functions 151 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to c ...

  • Mitsubishi Electronics FXCPU - page 154

    5.4 Standard Bit Sh ift Functions 152 FXCPU Structured Programming Manual (Application Functions) 5.4.2 SHR(_E) Outline This function shifts data of specified bit length rightward by the specified numbe r of bits. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function ...

  • Mitsubishi Electronics FXCPU - page 155

    5.4 Standard Bit Sh ift Functions 153 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to c ...

  • Mitsubishi Electronics FXCPU - page 156

    5.5 Standard Bitwise Boolean Funct ions 154 FXCPU Structured Programming Manual (Application Functions) 5.5 Standard Bitwise Boolean Functions 5.5.1 AND_E Outline This function obtains the logical product of two or more bits, and outputs it. 1. Format *1. Output variable 2. Variable In explanation of functions, I/O variables inside ( ) are describe ...

  • Mitsubishi Electronics FXCPU - page 157

    5.5 Standard Bitwise Boolean Funct ions 155 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the logical product is obtai ...

  • Mitsubishi Electronics FXCPU - page 158

    5.5 Standard Bitwise Boolean Funct ions 156 FXCPU Structured Programming Manual (Application Functions) 5.5.2 OR_E Outline This function obtains the logical sum of two or more bits, and outputs it. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) ...

  • Mitsubishi Electronics FXCPU - page 159

    5.5 Standard Bitwise Boolean Funct ions 157 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this pro gram, the logical sum is obt aine ...

  • Mitsubishi Electronics FXCPU - page 160

    5.5 Standard Bitwise Boolean Funct ions 158 FXCPU Structured Programming Manual (Application Functions) 5.5.3 XOR_E Outline This function obtains the exclusive logical sum of two or more bits, and outputs it. 1. Format *1. Output variable 2. .Set dat a In explanation of functions, I/O variables inside ( ) are described. Explanation of function and ...

  • Mitsubishi Electronics FXCPU - page 161

    5.5 Standard Bitwise Boolean Funct ions 159 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 3) If there are 3 or more , the exclusive logical sum is obta ...

  • Mitsubishi Electronics FXCPU - page 162

    5.5 Standard Bitwise Boolean Funct ions 160 FXCPU Structured Programming Manual (Application Functions) 5.5.4 NOT(_E) Outline This function obtains the logical negation of bits, and outputs it. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation This f ...

  • Mitsubishi Electronics FXCPU - page 163

    5.5 Standard Bitwise Boolean Funct ions 161 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the logical negation is obta ...

  • Mitsubishi Electronics FXCPU - page 164

    5.6 Standard Selection Functions 162 FXCPU Structured Programming Manual (Application Functions) 5.6 Standard Selection Functions 5.6.1 SEL(_E) Outline This function selects either one b etween two data in accordance with the input condi tion, and out puts the selection result. 1. Format *1. Output variable 2. Set da ta In explanation of functions, ...

  • Mitsubishi Electronics FXCPU - page 165

    5.6 Standard Selection Functions 163 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to co ...

  • Mitsubishi Electronics FXCPU - page 166

    5.6 Standard Selection Functions 164 FXCPU Structured Programming Manual (Application Functions) 5.6.2 MAXIMUM(_E) Outline This function searches the maximum value among data, and outputs the maximum value. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and ope ...

  • Mitsubishi Electronics FXCPU - page 167

    5.6 Standard Selection Functions 165 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the maximum value among word [signe ...

  • Mitsubishi Electronics FXCPU - page 168

    5.6 Standard Selection Functions 166 FXCPU Structured Programming Manual (Application Functions) 5.6.3 MINIMUM(_E) Outline This function searches the minimum value among data, and outputs the minimum value. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and ope ...

  • Mitsubishi Electronics FXCPU - page 169

    5.6 Standard Selection Functions 167 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the minimum value among word [signe ...

  • Mitsubishi Electronics FXCPU - page 170

    5.6 Standard Selection Functions 168 FXCPU Structured Programming Manual (Application Functions) 5.6.4 LIMITATION(_E) Outline This function judges whether data is located within the range between the upper limit value and the lower limit value. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are desc ...

  • Mitsubishi Electronics FXCPU - page 171

    5.6 Standard Selection Functions 169 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to co ...

  • Mitsubishi Electronics FXCPU - page 172

    5.6 Standard Selection Functions 170 FXCPU Structured Programming Manual (Application Functions) 5.6.5 MUX(_E) Outline This function selects data, and outputs the selected data. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) This function outpu ...

  • Mitsubishi Electronics FXCPU - page 173

    5.6 Standard Selection Functions 171 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to co ...

  • Mitsubishi Electronics FXCPU - page 174

    5.7 Standard Comparison Functions 172 FXCPU Structured Programming Manual (Application Functions) 5.7 Standard Comparison Functions 5.7.1 GT_E Outline This function compares data with regard to " > (larger)". 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of f ...

  • Mitsubishi Electronics FXCPU - page 175

    5.7 Standard Comparison Functions 173 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the contents of devices specified ...

  • Mitsubishi Electronics FXCPU - page 176

    5.7 Standard Comparison Functions 174 FXCPU Structured Programming Manual (Application Functions) 5.7.2 GE_E Outline This function compares data with regard to " ≥ (larger or equal)". 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) T ...

  • Mitsubishi Electronics FXCPU - page 177

    5.7 Standard Comparison Functions 175 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.7.3 EQ_E Outline This function compares data with regard to " ...

  • Mitsubishi Electronics FXCPU - page 178

    5.7 Standard Comparison Functions 176 FXCPU Structured Programming Manual (Application Functions) 5.7.4 LE_E Outline This function compares data with regard to " ≤ (smaller or equal)". 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) ...

  • Mitsubishi Electronics FXCPU - page 179

    5.7 Standard Comparison Functions 177 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the contents of devices specified ...

  • Mitsubishi Electronics FXCPU - page 180

    5.7 Standard Comparison Functions 178 FXCPU Structured Programming Manual (Application Functions) 5.7.5 LT_E Outline This function compares data with regard to " < (smaller)". 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) This fun ...

  • Mitsubishi Electronics FXCPU - page 181

    5.7 Standard Comparison Functions 179 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.7.6 NE_E Outline This function compares data with regard to " ...

  • Mitsubishi Electronics FXCPU - page 182

    5.7 Standard Comparison Functions 180 FXCPU Structured Programming Manual (Application Functions) Program example In this program, the contents of devices specified in and are compared, and the operation result is output to a device specified in . [Structu red ladder] [ST] s1 s2 d NE_E EN ENO g_bool2 g_bool1 g_int1 g_int2 _IN1 _IN2 g_bool3 g_bool3: ...

  • Mitsubishi Electronics FXCPU - page 183

    5.8 Standard Character Stri ng Functions 181 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.8 Standard Character String Functions 5.8.1 MID(_E) Outlin ...

  • Mitsubishi Electronics FXCPU - page 184

    5.8 Standard Character Stri ng Functions 182 FXCPU Structured Programming Manual (Application Functions) Explanation of function and operation 1) This function extracts specified number of charac ters from an arbitrary position of a character string stored in devices specified in , and outputs the obtained data to devices specified in . The value s ...

  • Mitsubishi Electronics FXCPU - page 185

    5.8 Standard Character Stri ng Functions 183 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, specified number of charact ...

  • Mitsubishi Electronics FXCPU - page 186

    5.8 Standard Character Stri ng Functions 184 FXCPU Structured Programming Manual (Application Functions) 5.8.2 CONCAT(_E) Outline This function connects character strings. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. FX 3U(C) FX 3G FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) F ...

  • Mitsubishi Electronics FXCPU - page 187

    5.8 Standard Character Stri ng Functions 185 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Explanation of function and operation 1) This function conne ...

  • Mitsubishi Electronics FXCPU - page 188

    5.8 Standard Character Stri ng Functions 186 FXCPU Structured Programming Manual (Application Functions) Program example In this program, a charac ter string stored in devic es specified in is connect ed after a character string stored in devices specif ied in , and the ch aracter string ob tained by connection is output to devices specified in . 1 ...

  • Mitsubishi Electronics FXCPU - page 189

    5.8 Standard Character Stri ng Functions 187 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.8.3 INSERT(_E) Outline This function inserts a character s ...

  • Mitsubishi Electronics FXCPU - page 190

    5.8 Standard Character Stri ng Functions 188 FXCPU Structured Programming Manual (Application Functions) Explanation of function and operation 1) This function inserts a character string stored in devices specified in into an arbitrary position (counted from th e head) of a character string stored in devic es specified in , a nd outputs the charact ...

  • Mitsubishi Electronics FXCPU - page 191

    5.8 Standard Character Stri ng Functions 189 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, a character string stored i ...

  • Mitsubishi Electronics FXCPU - page 192

    5.8 Standard Character Stri ng Functions 190 FXCPU Structured Programming Manual (Application Functions) 5.8.4 DELETE(_E) Outline This function deletes a character string. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) This function deletes spe ...

  • Mitsubishi Electronics FXCPU - page 193

    5.8 Standard Character Stri ng Functions 191 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its na ...

  • Mitsubishi Electronics FXCPU - page 194

    5.8 Standard Character Stri ng Functions 192 FXCPU Structured Programming Manual (Application Functions) 5.8.5 REPLACE(_E) Outline This function replaces a character string. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. FX 3U(C) FX 3G FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) ...

  • Mitsubishi Electronics FXCPU - page 195

    5.8 Standard Character Stri ng Functions 193 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Explanation of function and operation 1) This function repla ...

  • Mitsubishi Electronics FXCPU - page 196

    5.8 Standard Character Stri ng Functions 194 FXCPU Structured Programming Manual (Application Functions) Error An operatio n error occurs in the following c ases. The erro r flag M806 7 turns ON, and D8067 stores the error code. 1) When "00H" does not exist in the corresponding device range after the devices specified in and (Error code: ...

  • Mitsubishi Electronics FXCPU - page 197

    5.8 Standard Character Stri ng Functions 195 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 5.8.6 FIND(_E) Outline This function searches a character st ...

  • Mitsubishi Electronics FXCPU - page 198

    5.8 Standard Character Stri ng Functions 196 FXCPU Structured Programming Manual (Application Functions) Explanation of function and operation 1) This function searches a character string stored in devices specified in from the beginning of a character string stored in devices specified in , and outputs the search result to devices specified in . T ...

  • Mitsubishi Electronics FXCPU - page 199

    5.8 Standard Character Stri ng Functions 197 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, a character string stored i ...

  • Mitsubishi Electronics FXCPU - page 200

    5.9 Function s Of Time Data Typ es 198 FXCPU Structured Programming Manual (Application Functions) 5.9 Functions Of Time Data Types 5.9.1 ADD_TIME(_E) Outline This function adds time data. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation This functi ...

  • Mitsubishi Electronics FXCPU - page 201

    5.9 Function s Of Time Data Typ es 199 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to ...

  • Mitsubishi Electronics FXCPU - page 202

    5.9 Function s Of Time Data Typ es 200 FXCPU Structured Programming Manual (Application Functions) 5.9.2 SUB_TIME(_E) Outline This function performs subtraction of time data. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation This function performs su ...

  • Mitsubishi Electronics FXCPU - page 203

    5.9 Function s Of Time Data Typ es 201 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Use the function having "_E" in its name to ...

  • Mitsubishi Electronics FXCPU - page 204

    5.9 Function s Of Time Data Typ es 202 FXCPU Structured Programming Manual (Application Functions) 5.9.3 MUL_TIME(_E) Outline This function performs multiplication of time data. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation This function performs ...

  • Mitsubishi Electronics FXCPU - page 205

    5.9 Function s Of Time Data Typ es 203 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, multiplication ( × ) is performe ...

  • Mitsubishi Electronics FXCPU - page 206

    5.9 Function s Of Time Data Typ es 204 FXCPU Structured Programming Manual (Application Functions) 5.9.4 DIV_TIME(_E) Outline This function performs division using time data. 1. Format *1. Output variable 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and operation 1) This function performs ...

  • Mitsubishi Electronics FXCPU - page 207

    5.9 Function s Of Time Data Typ es 205 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, division ( / ) is performed using ...

  • Mitsubishi Electronics FXCPU - page 208

    6 Standard Functio n Blocks 6.1 R_TRIG (_E) 206 FXCPU Structured Programming Manual (Application Functions) 6. Standard Function Blocks 6.1 R_TRIG(_E) Outline This function block detects the rising edge of a signal, and outputs pulse signal. 1. Format *1. Refer to caution points. 2. Set da ta In explanation of functions, I/O variables inside ( ) ar ...

  • Mitsubishi Electronics FXCPU - page 209

    6 Standard Functio n Blocks 6.1 R_TRIG (_E) 207 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, a device specified in tu ...

  • Mitsubishi Electronics FXCPU - page 210

    6 Standard Functio n Blocks 6.2 F_TRIG(_E) 208 FXCPU Structured Programming Manual (Application Functions) 6.2 F_TRIG(_E) Outline This function block detects the falling edge of a signal, and outputs pulse signal. 1. Format *1. Refer to caution points. 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of ...

  • Mitsubishi Electronics FXCPU - page 211

    6 Standard Functio n Blocks 6.2 F_TRIG(_E) 209 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, a device specified in tur ...

  • Mitsubishi Electronics FXCPU - page 212

    6 Standard Functio n Blocks 6.3 CTU(_E) 210 FXCPU Structured Programming Manual (Application Functions) 6.3 CTU(_E) Outline This function block counts up the number of times of rising of a signal. 1. Format *1. Refer to caution points. 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and oper ...

  • Mitsubishi Electronics FXCPU - page 213

    6 Standard Functio n Blocks 6.3 CTU(_E) 211 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the number of times the bit ...

  • Mitsubishi Electronics FXCPU - page 214

    6 Standard Functio n Blocks 6.4 CTD(_E) 212 FXCPU Structured Programming Manual (Application Functions) 6.4 CTD(_E) Outline This function block counts down the number of times of rising of a signal. 1. Format *1. Refer to caution points. 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function and op ...

  • Mitsubishi Electronics FXCPU - page 215

    6 Standard Functio n Blocks 6.4 CTD(_E) 213 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Program example In this program, the number of times the bit ...

  • Mitsubishi Electronics FXCPU - page 216

    6 Standard Functio n Blocks 6.5 CTUD(_E) 214 FXCPU Structured Programming Manual (Application Functions) 6.5 CTUD(_E) Outline This function block counts up/down the number of times of rising of a signal. 1. Format *1. Refer to caution points. 2. Set da ta In explanation of functions, I/O variables inside ( ) are described. Explanation of function a ...

  • Mitsubishi Electronics FXCPU - page 217

    6 Standard Functio n Blocks 6.5 CTUD(_E) 215 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses This function block re sets the count value of a de vice spe ...

  • Mitsubishi Electronics FXCPU - page 218

    6 Standard Functio n Blocks 6.5 CTUD(_E) 216 FXCPU Structured Programming Manual (Application Functions) Program example In this program, the number of times the bit data store d in a device specified in turns ON from OFF is counted up (added by "1"). When the value stored in a device specified in reaches the value specified in , a device ...

  • Mitsubishi Electronics FXCPU - page 219

    6 Standard Functio n Blocks 6.6 TP(_E) 217 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 6.6 TP(_E) Outline This function block keeps ON a signal for s ...

  • Mitsubishi Electronics FXCPU - page 220

    6 Standard Functio n Blocks 6.6 TP(_E) 218 FXCPU Structured Programming Manual (Application Functions) Program example In this program, when bit data stored in a dev ice specified in turns ON, bit data stor ed in a device specified in turns ON and remains ON for 10 seconds. 1) Function without EN/ENO(TP) 2) Function with EN/ENO(TP_E) [Structu red l ...

  • Mitsubishi Electronics FXCPU - page 221

    6 Standard Functio n Blocks 6.7 TON(_E) 219 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 6.7 TON(_E) Outline This function block turns ON after specif ...

  • Mitsubishi Electronics FXCPU - page 222

    6 Standard Functio n Blocks 6.7 TON(_E) 220 FXCPU Structured Programming Manual (Application Functions) Program example In this program, when bit data stored in a dev ice specified in turns ON, bit data stor ed in a device specified in turns ON 10 seconds later. 1) Function without EN/ENO(TON) 2) Function with EN/ENO(TON_E) [Structu red ladder] [ST ...

  • Mitsubishi Electronics FXCPU - page 223

    6 Standard Functio n Blocks 6.8 TOF(_E) 221 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 6.8 TOF(_E) Outline When the input signal turns OFF, this fun ...

  • Mitsubishi Electronics FXCPU - page 224

    6 Standard Functio n Blocks 6.8 TOF(_E) 222 FXCPU Structured Programming Manual (Application Functions) Program example In this program, when bit data stored in a dev ice specified in turns ON, bit data stor ed in a device specified in turns ON. When bit data stored in a device specified in turns OFF, bit dat a stored in a device specified in turns ...

  • Mitsubishi Electronics FXCPU - page 225

    6 Standard Functio n Blocks 6.9 COUNTER_FB_M 223 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 6.9 COUNTER_FB_M Outline This counter starts counting wh ...

  • Mitsubishi Electronics FXCPU - page 226

    6 Standard Functio n Blocks 6.9 COUNTER_FB_M 224 FXCPU Structured Programming Manual (Application Functions) Cautions 1) Expression in each language of function block *1. Set the instance when using the function block. Describe the instance name when programming the function block. 2) For the function block, the automatic allocation device needs to ...

  • Mitsubishi Electronics FXCPU - page 227

    6 Standard Functio n Blocks 6.10 TIMER_10_FB_M 225 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses 6.10 TIMER_10_FB_M Outline This function block generat ...

  • Mitsubishi Electronics FXCPU - page 228

    6 Standard Functio n Blocks 6.11 TIMER_CONT_FB_M 226 FXCPU Structured Programming Manual (Application Functions) 6.11 TIMER_CONT_FB_M Outline This functio n block coun ts the pe riod of time while the c ondition i s satisfied, and generat es an outpu t when the timer counts up the specified time. 1. Format *1. Refer to "Cautions". 2. Set ...

  • Mitsubishi Electronics FXCPU - page 229

    6 Standard Functio n Blocks 6.11 TIMER_CONT_FB_M 227 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Cautions 1) Expression in each language of function ...

  • Mitsubishi Electronics FXCPU - page 230

    6 Standard Functio n Blocks 6.12 TIMER_100_FB_M 228 FXCPU Structured Programming Manual (Application Functions) 6.12 TIMER_100_FB_M Outline This function block generates an output when the condition continues for the specified time. The initial value and setting value of the timer is multiplied by 100 ms. 1. Format *1. Refer to "Cautions" ...

  • Mitsubishi Electronics FXCPU - page 231

    Appendix A: Corres pondence be tween Devices an d 229 FXCPU Structured Programming Manual (Application Functions) 1 Outline 2 Function List 3 Function Construction 4 How to R ead Explanation of Functions 5 Applied Functions 6 S tandard Function Blocks A Correspondence between Devices and Addresses Appendix A: Correspondence between Devices and Addr ...

  • Mitsubishi Electronics FXCPU - page 232

    230 FXCPU Structured Programming Manual (Application Functions) Warranty Warranty Please confirm the following product warra nty details before using this product. 1. Gratis Warranty Term and Gratis Warran ty Range If any faults or defects (he reinafter "Failure") found to be the responsibility of M itsubis hi occurs during use of the pro ...

  • Mitsubishi Electronics FXCPU - page 233

    231 FXCPU Structured Programming Manual (Application Functions) Revision History Revision History Date of prepar ation Revision Desc ription 1/2009 A First Edition. 7/2009 B • Equival ent circuits are deleted. • Followin g instructions ar e not supported in FX 0 ,FX 0S and FX 0N PLCs. CTD(_E), CTU( _E), CTUD(_E) , TOF(_E), TON(_ E), TP(_E) • ...

  • Mitsubishi Electronics FXCPU - page 234

    232 FXCPU Structured Programming Manual (Application Functions) Revision History MEMO ...

  • Mitsubishi Electronics FXCPU - page 235

    ...

  • Mitsubishi Electronics FXCPU - page 236

    HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN HIMEJI WORKS: 840, CHIYO DA CHO, HIMEJI, JAPAN JY997D34801B (MEE) Effective Jul. 2009 Specifications are subject to chang e without notice. FXCPU Structured Programming Manual [Application Functions] MODEL FX-KP-OK-E MODEL CODE 09R927 ...

Manufacturer Mitsubishi Electronics Category Welding System

Documents that we receive from a manufacturer of a Mitsubishi Electronics FXCPU can be divided into several groups. They are, among others:
- Mitsubishi Electronics technical drawings
- FXCPU manuals
- Mitsubishi Electronics product data sheets
- information booklets
- or energy labels Mitsubishi Electronics FXCPU
All of them are important, but the most important information from the point of view of use of the device are in the user manual Mitsubishi Electronics FXCPU.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Mitsubishi Electronics FXCPU, service manual, brief instructions and user manuals Mitsubishi Electronics FXCPU. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Mitsubishi Electronics FXCPU.

A complete manual for the device Mitsubishi Electronics FXCPU, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Mitsubishi Electronics FXCPU by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Mitsubishi Electronics FXCPU.

A complete Mitsubishi Electronics manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Mitsubishi Electronics FXCPU - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Mitsubishi Electronics FXCPU, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Mitsubishi Electronics FXCPU, that we can find in the current document
3. Tips how to use the basic functions of the device Mitsubishi Electronics FXCPU - which should help us in our first steps of using Mitsubishi Electronics FXCPU
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Mitsubishi Electronics FXCPU
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Mitsubishi Electronics FXCPU in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Mitsubishi Electronics FXCPU?

Use the form below

If you did not solve your problem by using a manual Mitsubishi Electronics FXCPU, ask a question using the form below. If a user had a similar problem with Mitsubishi Electronics FXCPU it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)