Manual Mitsubishi Electronics FXCPU

838 pages 27.81 mb
Download

Go to site of 838

Summary
  • Mitsubishi Electronics FXCPU - page 1

    FXCPU Structured Programming Manual Basic & Applied Instruction ...

  • Mitsubishi Electronics FXCPU - page 2

    ...

  • Mitsubishi Electronics FXCPU - page 3

    1 FXCPU Structured Programming Manual [Basic & Applied Instruction] FXCPU Structured Programming Manual [Basic & Applied Instruction] 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 programmable controller function for st ...

  • Mitsubishi Electronics FXCPU - page 4

    2 FXCPU Structured Programming Manual [Basic & Applied Instruction] 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; 1) Any engineer who is responsi ...

  • Mitsubishi Electronics FXCPU - page 5

    3 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] Table of Contents Positioning of This Manual..... .............. .............. ........... .............. .............. ........... .............. .... 11 Related Manuals ............. ............ .............. ........... .............. .............. ... ...

  • Mitsubishi Electronics FXCPU - page 6

    4 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 5.13 END...................................................................................................................... ....................... 91 5.14 NOP (for simple project only) ....................................................................... ...

  • Mitsubishi Electronics FXCPU - page 7

    5 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 10. Applied Instructions (Rotation and Shift Operation) 195 10.1 ROR / Rotation Right ..................................................................................................... ......... 196 10.2 ROL / Rotation Left ................................. ...

  • Mitsubishi Electronics FXCPU - page 8

    6 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.5 TTMR / Teaching Timer.................................................................................................... ....... 334 13.6 STMR / Special Timer................................................................................................ ...

  • Mitsubishi Electronics FXCPU - page 9

    7 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 18. Applied Instructions (Floating Point) 439 18.1 DECMP / Floating Point Compare.......................................................................................... 4 41 18.2 DEZCP / Floating Point Zone Compare .......................................... ...

  • Mitsubishi Electronics FXCPU - page 10

    8 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 21. Applied Instructions (Real Time Clock Co ntrol) 540 21.1 TCMP / RTC Data Compare .................................................................................................. .. 541 21.2 TZCP / RTC Data Zone Compare ................................... ...

  • Mitsubishi Electronics FXCPU - page 11

    9 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 27. Applied Instructions (Data Operation 3) 653 27.1 FDEL / Deleting Data from Tables ......................................................................................... 654 27.2 FINS / Inserting Data to Tables ........................................... ...

  • Mitsubishi Electronics FXCPU - page 12

    10 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 33.4 LOGR / Logging R and ER.................................................................................................. .... 761 33.5 RWER / Rewrite to ER ................................................................................................. ...

  • Mitsubishi Electronics FXCPU - page 13

    11 FXCPU Structured Programming Manual [Basic & Applied Instruction] Positioning of This Manual This manual explains sequence instructions for struct ured programs provided by GX Works2. Refer to other manuals for devices, parameters and application functions. Refer to each corresponding manual for analog, communication, positioning control and ...

  • Mitsubishi Electronics FXCPU - page 14

    12 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. When using FX 1S /FX 1N /FX 1NC /FX 2N /FX 2NC PLCs (Additional Manual) (Additional Manual) (Additional Manual) (Additional Manual) MELSEC-Q/L/F Structured Programming Manual (Fundamentals) This manual explains programming methods, specifications, functions, etc. required t ...

  • Mitsubishi Electronics FXCPU - page 15

    13 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. When using FX 0S /FX 0 /FX 0N /FX U /FX 2C PLCs (Additional Manual) (Additional Manual) (Additional Manual) (Additional Manual) (Additional Manual) MELSEC-Q/L/F Structured Programming Manual (Fundamentals) This manual explains programming methods, specifications, functions, ...

  • Mitsubishi Electronics FXCPU - page 16

    14 FXCPU Structured Programming Manual [Basic & Applied Instruction] 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 har ...

  • Mitsubishi Electronics FXCPU - page 17

    15 FXCPU Structured Programming Manual [Basic & Applied Instruction] FX 1S /FX 1N /FX 1NC PLCs FX 2N /FX 2NC PLCs [who se production is finished] PLC main unit FX 3S Series Ha rdware Manual JY997D48301 Supplied with prod uct I/O specifi cations , wiring and in stallation of the PLC main unit FX 3S extracted from the FX 3S Series User's Ma ...

  • Mitsubishi Electronics FXCPU - page 18

    16 FXCPU Structured Programming Manual [Basic & Applied Instruction] FX 0S /FX 0 /FX 0N /FX U /FX 2C PLCs [whose production is finished] Manuals of models whose prod uction is finished Production is finished for FX 0S /FX 0 /FX 0N /FX U /FX 2C /FX 2N /FX 2NC PLCs. Manual name Manual number Supplied wi th product or Additional Manual Contents Mo ...

  • Mitsubishi Electronics FXCPU - page 19

    17 FXCPU Structured Programming Manual [Basic & Applied Instruction] 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 3GC ...

  • Mitsubishi Electronics FXCPU - page 20

    18 1 Outline 1.1 Outline of Structured Pro grams and Programming languag es FXCPU Structured Programming Manual [Basic & Applied Instruction] 1. Outline This manual explains setting of sequence instructions for structured programs provided by GX Works2. Refer to another manuals for device, parameter, and application functions for structured pro ...

  • Mitsubishi Electronics FXCPU - page 21

    1 Outline 1.1 Outline of Structured Pro grams and Programming languag es 19 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 22

    20 1 Outline 1.2 PLC Series and Programming Soft ware Version FXCPU Structured Programming Manual [Basic & Applied Instruction] 1.2 PLC Series and Progra mming Software Version 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 pro ...

  • Mitsubishi Electronics FXCPU - page 23

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 21 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Mo ...

  • Mitsubishi Electronics FXCPU - page 24

    22 1 Outline 1.3 Cautions on Creati on of Fundamental Programs FXCPU Structured Programming Manual [Basic & Applied Instruction] 1.3.3 Circuits which cannot be create d by structured ladder programs and countermeasures 1. Bridge circui t A circuit in which the current flows in both directions should be changed as s hown in the figure on the rig ...

  • Mitsubishi Electronics FXCPU - page 25

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 23 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Mo ...

  • Mitsubishi Electronics FXCPU - page 26

    24 1 Outline 1.3 Cautions on Creati on of Fundamental Programs FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Introduction of method for using flags in an y positions other than directly under sequence instructions. When two or more s equence instruction s are programmed, general flags turn ON o r OFF when each sequence in ...

  • Mitsubishi Electronics FXCPU - page 27

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 25 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Mo ...

  • Mitsubishi Electronics FXCPU - page 28

    26 1 Outline 1.3 Cautions on Creati on of Fundamental Programs FXCPU Structured Programming Manual [Basic & Applied Instruction] 1.3.7 Limitation in the number of instructions and limitation in simultaneous instruction ins tances Each sequence instruction has a limitation in the number of using the instruction and the number of simultaneous ins ...

  • Mitsubishi Electronics FXCPU - page 29

    1 Outline 1.3 Cautions on Creati on of Fundamental Programs 27 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Mo ...

  • Mitsubishi Electronics FXCPU - page 30

    2 Instruction List 2.1 Basic Instructions 28 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Instruction List This chapter introduces a list of instructions available in programming. 2.1 Basic Instructions *1. The instruction is provided in the FX 3U and FX 3UC PLCs Ver. 2.30 or later. Instructio n name Function Applicable ...

  • Mitsubishi Electronics FXCPU - page 31

    2 Instruction List 2.2 Step Ladder Instructions 29 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compa ...

  • Mitsubishi Electronics FXCPU - page 32

    2 Instruction List 2.3 Applie d Instructions 30 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. The instruction is provided in the FX U PLC Ver. 2.30 or later. Instructio n name Execution condition Function Applicable PLCs Reference FX 3U(C) FX 3G(C) FX 3S FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) Move and Compare ...

  • Mitsubishi Electronics FXCPU - page 33

    2 Instruction List 2.3 Applie d Instructions 31 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 34

    2 Instruction List 2.3 Applie d Instructions 32 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. The instruction is provided in the FX U PLC Ver. 2.30 or later. *2. The instruction is provided in the FX 3G PLC Ver. 1.10 or later. *3. The instruction is provided in the FX U PLC Ver. 3.07 or later. *4. The 32-bit operations a ...

  • Mitsubishi Electronics FXCPU - page 35

    2 Instruction List 2.3 Applie d Instructions 33 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 36

    2 Instruction List 2.3 Applie d Instructions 34 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. The instruction is provided in the FX 3U and FX 3UC PLCs Ver. 2.70 or later. *2. Though programmed, this instruction is not valid because the FX 1NC , FX 2NC or FX 3GC PLC does not have a volume to read out under this instructio ...

  • Mitsubishi Electronics FXCPU - page 37

    2 Instruction List 2.3 Applie d Instructions 35 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 38

    2 Instruction List 2.3 Applie d Instructions 36 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. The instruction is provided in the FX 3UC PLC Ver. 2.20 or later. *2. The instruction is provided in the FX 2N and FX 2NC PLCs Ver. 3.00 or later. Instructio n name Execution condition Function Applicable PLCs Reference FX 3U(C) ...

  • Mitsubishi Electronics FXCPU - page 39

    2 Instruction List 2.3 Applie d Instructions 37 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 40

    2 Instruction List 2.3 Applie d Instructions 38 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. The instruction is provided in the FX 3UC PLC Ver. 2.20 or later. Instructio n name Execution condition Function Applicable PLCs Reference FX 3U(C) FX 3G(C) FX 3S FX 2N(C) FX 1N(C) FX 1S FX U /FX 2C FX 0N FX 0(S) Block Data Oper ...

  • Mitsubishi Electronics FXCPU - page 41

    2 Instruction List 2.3 Applie d Instructions 39 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 42

    2 Instruction List 2.3 Applie d Instructions 40 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. The instruction is provided in the FX 3UC PLC Ver. 2.20 or later. *2. The instruction is provided in the FX 3G PLC Ver. 1.10 or later. *3. The instruction is provided in the FX 3U and FX 3UC PLCs Ver. 2.70 or later. *4. The inst ...

  • Mitsubishi Electronics FXCPU - page 43

    2 Instruction List 2.3 Applie d Instructions 41 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 44

    42 3 Configuration of Instru ction 3.1 Expression and Operation Fo rm of Sequence Instructions FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Configuration of Instruction This chapter explains the configuration of sequence instructions. 3.1 Expression and Operation Form of Sequence Instructions Instructions and arguments ? ...

  • Mitsubishi Electronics FXCPU - page 45

    3 Configuration of Instru ction 3.1 Expression and Operation Fo rm of Sequence Instructions 43 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program F ...

  • Mitsubishi Electronics FXCPU - page 46

    44 3 Configuration of Instru ction 3.2 Labels FXCPU Structured Programming Manual [Basic & Applied Instruction] 3.2 Labels Types of labels Labels are either global labels or local labels. • Global labels are available for use in program blocks and function blocks. • Local labels are available for use only in a declared program part. Label c ...

  • Mitsubishi Electronics FXCPU - page 47

    3 Configuration of Instru ction 3.2 Labels 45 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 ...

  • Mitsubishi Electronics FXCPU - page 48

    46 3 Configuration of Instru ction 3.2 Labels FXCPU Structured Programming Manual [Basic & Applied Instruction] • The universal data type is the data type of a label that puts together several b asic data types. The data type name starts with "ANY". ANY ANY_SIMPLE Wor d [unsigned]/ Bit String [16-bit] Double Word [unsigned]/ Bit Str ...

  • Mitsubishi Electronics FXCPU - page 49

    3 Configuration of Instru ction 3.3 Devices and Addresses 47 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move ...

  • Mitsubishi Electronics FXCPU - page 50

    48 3 Configuration of Instru ction 3.4 EN and ENO FXCPU Structured Programming Manual [Basic & Applied Instruction] 3.4 EN and ENO The execution control is available for an instruction with "EN". • EN is for entering an execution condition of instruction. • ENO is for outputting the state of execution of instruction. • The table ...

  • Mitsubishi Electronics FXCPU - page 51

    3 Configuration of Instru ction 3.4 EN and ENO 49 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compar ...

  • Mitsubishi Electronics FXCPU - page 52

    4 How to R ead Explanation of Instructions 50 FXCPU Structured Programming Manual [Basic & Applied Instruction] 4. How to Read Explanation of Instructions The following shows one of the pages that explains the instructions. * The above is different from the actual page, as it is provided for explanation only. ...

  • Mitsubishi Electronics FXCPU - page 53

    4 How to R ead Explanation of Instructions 51 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 ...

  • Mitsubishi Electronics FXCPU - page 54

    5 Basic Instru ction 52 FXCPU Structured Programming Manual [Basic & Applied Instruction] 5. Basic Instruction This chapter introduces the instructions for the s tructured project corresponding to the basic instructions fo r the simple project. Instruction name Function Refere nce LD Ini tial logic al operatio n of NO (normally op en) contac ts ...

  • Mitsubishi Electronics FXCPU - page 55

    5 Basic Instru ction 5.1 LD, LDI, AND, ANI, OR, ORI 53 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and C ...

  • Mitsubishi Electronics FXCPU - page 56

    5 Basic Instru ction 5.1 LD, LDI, AND, ANI, OR, ORI 54 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. LD (Initial logical operation of NO (normally open) contacts) 2. LDI (Initial logical operation of NC (normally closed) contact type) 3. AND (Serial connection of NO (normally open) conta ...

  • Mitsubishi Electronics FXCPU - page 57

    5 Basic Instru ction 5.1 LD, LDI, AND, ANI, OR, ORI 55 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and C ...

  • Mitsubishi Electronics FXCPU - page 58

    5 Basic Instru ction 5.1 LD, LDI, AND, ANI, OR, ORI 56 FXCPU Structured Programming Manual [Basic & Applied Instruction] 7. Relationship with AND (...) The parallel connection by OR or ORI instruction is connected to the preceding LD or LDI instruction in principle. The "AND (... ) after" instruction, however, the parallel connection ...

  • Mitsubishi Electronics FXCPU - page 59

    5 Basic Instru ction 5.2 LDP, LDF, ANDP, ANDF, ORP, ORF 57 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move a ...

  • Mitsubishi Electronics FXCPU - page 60

    5 Basic Instru ction 5.2 LDP, LDF, ANDP, ANDF, ORP, ORF 58 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Applicable devices S : Refer to "Cautions". Function and operation explanation 1. LDP, ANDP, ORP (Initial logical operation of rising edg e pulse, serial connection and parallel connection) In the example sho ...

  • Mitsubishi Electronics FXCPU - page 61

    5 Basic Instru ction 5.2 LDP, LDF, ANDP, ANDF, ORP, ORF 59 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move a ...

  • Mitsubishi Electronics FXCPU - page 62

    5 Basic Instru ction 5.2 LDP, LDF, ANDP, ANDF, ORP, ORF 60 FXCPU Structured Programming Manual [Basic & Applied Instruction] 5. Differences in the ope ration caused by auxiliary r elay (M) numbers Not supported by the FX 1S , FX 1N or FX 1NC PLC. When an auxiliary relay (M) is specified as a device in LDP, LDF, A NDP, ANDF, ORP and ORF instruct ...

  • Mitsubishi Electronics FXCPU - page 63

    5 Basic Instru ction 5.2 LDP, LDF, ANDP, ANDF, ORP, ORF 61 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move a ...

  • Mitsubishi Electronics FXCPU - page 64

    5 Basic Instru ction 5.3 OUT (Excluding timers and counters) 62 FXCPU Structured Programming Manual [Basic & Applied Instruction] 5.3 OUT (Excluding timers and counters) Outline This instruction outputs the operation result up to the execution of the OUT instruction to the specified device. 1. Format and operation, execution form 2. Set da ta 3 ...

  • Mitsubishi Electronics FXCPU - page 65

    5 Basic Instru ction 5.3 OUT (Excluding timers and counters) 63 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (M ...

  • Mitsubishi Electronics FXCPU - page 66

    5 Basic Instru ction 5.3 OUT (Excluding timers and counters) 64 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Some restrictions to applicable devices S 1: The FX 3U and FX 3UC PLCs only are applicable. S 2: Only the FX 3U and FX 3UC PLCs are capable of indexing applicable devices. The following devices cannot be ...

  • Mitsubishi Electronics FXCPU - page 67

    5 Basic Instru ction 5.4 Operating Ti mer 65 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 ...

  • Mitsubishi Electronics FXCPU - page 68

    5 Basic Instru ction 5.4 Operating Ti mer 66 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. OUT_T operation 1) When the operation result up to the OUT_T instruction operation is ON, the timer coils is ON and counts until the set value is reached. When the set time expires (or reaches the ...

  • Mitsubishi Electronics FXCPU - page 69

    5 Basic Instru ction 5.4 Operating Ti mer 67 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 ...

  • Mitsubishi Electronics FXCPU - page 70

    5 Basic Instru ction 5.4 Operating Ti mer 68 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example 1. Program that turns ON Y010 and Y014 in 10 seconds after X000 turns ON. 2. Program that sets the BCD data of X010 to X01F to a timer. 3. Program that turns ON Y010 in 250 milliseconds after X000 turns ON. OUT_T EN ENO ...

  • Mitsubishi Electronics FXCPU - page 71

    5 Basic Instru ction 5.5 Operating Counters 69 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 72

    5 Basic Instru ction 5.5 Operating Counters 70 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Counter reset After comp leting to co unt, the co unt value and contact condition does not cha nge until the RST instruct ion is executed. 3. Counter set value The set value of t he counter can be sp ecified directly by a decimal ...

  • Mitsubishi Electronics FXCPU - page 73

    5 Basic Instru ction 5.6 AND(...), OR(...) 71 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 ...

  • Mitsubishi Electronics FXCPU - page 74

    5 Basic Instru ction 5.6 AND(...), OR(...) 72 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. AND( ... )(Serial connection of circuit blocks) AND (...) is an independent instruction not associated with any device number in the same way as the OR (... ) instruction described later. When the ...

  • Mitsubishi Electronics FXCPU - page 75

    5 Basic Instru ction 5.7 MPS, MRD, MPP 73 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 App ...

  • Mitsubishi Electronics FXCPU - page 76

    5 Basic Instru ction 5.7 MPS, MRD, MPP 74 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation These instructions are convenient in programming branched multi-output circuits. 1. MPS, MRD, MPP (Stack push down, stack read and stack popup) 1) Use MPS instruction to store the intermediate result of ...

  • Mitsubishi Electronics FXCPU - page 77

    5 Basic Instru ction 5.7 MPS, MRD, MPP 75 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 App ...

  • Mitsubishi Electronics FXCPU - page 78

    5 Basic Instru ction 5.7 MPS, MRD, MPP 76 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Program example 3 (Two stacks) 4. Program example 4 (Four stacks) In programming a circuit on the upper side, it is necessary to use MPS instruction three times. By changing the circuit on t he upper side into the circuit on the lower ...

  • Mitsubishi Electronics FXCPU - page 79

    5 Basic Instru ction 5.8 INV 77 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 80

    5 Basic Instru ction 5.8 INV 78 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Operation range of INV instruction When INV instruction is used in a complica ted circui t containing ORB and ANB ins tructions, the ope ration range of INV instruction is as shown in the figure below: INV instruction inverts the operation resul ...

  • Mitsubishi Electronics FXCPU - page 81

    5 Basic Instru ction 5.9 MEP, MEF 79 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied ...

  • Mitsubishi Electronics FXCPU - page 82

    5 Basic Instru ction 5.9 MEP, MEF 80 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. MEP(ON during rising edge of driving contacts results) 2. MEF(ON during falling edge of driving contacts results) Cautions 1) MEP and MEF instructions are provided in the FX 3U and FX3 UC PLCs Ver. 2.30 or ...

  • Mitsubishi Electronics FXCPU - page 83

    5 Basic Instru ction 5.10 SET, RST 81 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied ...

  • Mitsubishi Electronics FXCPU - page 84

    5 Basic Instru ction 5.10 SET, RST 82 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation SET instruction drives the coil for an output relay (Y), auxiliary relay (M), state relay (S) and bit specification of data register (D). 1. When using a bit device SET instructions located in parallel can b ...

  • Mitsubishi Electronics FXCPU - page 85

    5 Basic Instru ction 5.10 SET, RST 83 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied ...

  • Mitsubishi Electronics FXCPU - page 86

    5 Basic Instru ction 5.10 SET, RST 84 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Indexing Devices used in SET and RST instructions can be indexed with index registers (V, Z). (State relays (S), special auxiliary relays (M), 32-bit counters, "D  .b" and word devices cannot be indexed.) This is applicable on ...

  • Mitsubishi Electronics FXCPU - page 87

    5 Basic Instru ction 5.11 PLS, PLF 85 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied ...

  • Mitsubishi Electronics FXCPU - page 88

    5 Basic Instru ction 5.11 PLS, PLF 86 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Output drive side The following two circuits cause a same operation. In each case, M0 is ON during only one operation cycle when X000 changes from OFF to ON. In each case, MOV instruction is executed only once when X000 changes from OFF to ...

  • Mitsubishi Electronics FXCPU - page 89

    5 Basic Instru ction 5.12 MC, MCR 87 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied ...

  • Mitsubishi Electronics FXCPU - page 90

    5 Basic Instru ction 5.12 MC, MCR 88 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation When MC instruc tion is exec uted, inst ructions from MC t o MCR are exe cuted. When MC instruction is not executed, the operation with the contact OFF is executed. In the prog ram exampl e below, t he instru ...

  • Mitsubishi Electronics FXCPU - page 91

    5 Basic Instru ction 5.12 MC, MCR 89 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied ...

  • Mitsubishi Electronics FXCPU - page 92

    5 Basic Instru ction 5.12 MC, MCR 90 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. When the nesting structure is adopted. When using MC instructions inside MC instruction, increase the nesting level "N" in turn in the way "N0 → N1 → N2 → N3 → N4 → N5 → N6 → N7". For returning from the ne ...

  • Mitsubishi Electronics FXCPU - page 93

    5 Basic Instru ction 5.13 END 91 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 94

    6 Step Ladder Inst ructions 6.1 Step Ladder 92 FXCPU Structured Programming Manual [Basic & Applied Instruction] 6. Step Ladder Instructions 6.1 Step Ladder This chapt er introduces the instruc tions of struc tured proj ect that co rrespond to th e MELSEC-LD step ladder instructions. 6.1.1 Outline In programs usin g step ladder ins tructions, a ...

  • Mitsubishi Electronics FXCPU - page 95

    6 Step Ladder Inst ructions 6.1 Step Ladder 93 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 96

    6 Step Ladder Inst ructions 6.1 Step Ladder 94 FXCPU Structured Programming Manual [Basic & Applied Instruction] • Special auxiliary relays For efficiently creating step ladder programs, it is nece ssary to use some special auxiliary relays. The table below shows major ones. *1. Processed when END instruction is executed. •B l o c k When th ...

  • Mitsubishi Electronics FXCPU - page 97

    6 Step Ladder Inst ructions 6.1 Step Ladder 95 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 98

    6 Step Ladder Inst ructions 6.1 Step Ladder 96 FXCPU Structured Programming Manual [Basic & Applied Instruction] • Example of selective recombination Do not use MPS, MRD, MPP, AND ( … ) and OR ( … ) instructions in a transfer processing program with branches and recombination. Even in a load driving circuit, MPS instructions cannot be use ...

  • Mitsubishi Electronics FXCPU - page 99

    6 Step Ladder Inst ructions 6.1 Step Ladder 97 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 100

    6 Step Ladder Inst ructions 6.1 Step Ladder 98 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) Parallel recombination and parallel branch 3) Selective recombination and parallel branch 4) Parallel recombination and selective branch S20 STL EN ENO s S30 STL EN ENO s SET EN ENO d S101 X00 0 S101 STL EN ENO s SET EN ENO d S50 ...

  • Mitsubishi Electronics FXCPU - page 101

    6 Step Ladder Inst ructions 6.1 Step Ladder 99 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) ...

  • Mitsubishi Electronics FXCPU - page 102

    6 Step Ladder Inst ructions 6.2 STL 100 FXCPU Structured Programming Manual [Basic & Applied Instruction] 6.2 STL Outline In programs using step ladder instru ctions, a s tate relay Sta te S is assig ned to each process based on machine operation s, and input conditio n and output con trol are programme d as sequence s connecte d to the state o ...

  • Mitsubishi Electronics FXCPU - page 103

    6 Step Ladder Inst ructions 6.3 RET 101 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Appli ...

  • Mitsubishi Electronics FXCPU - page 104

    6 Step Ladder Inst ructions 6.3 RET 102 FXCPU Structured Programming Manual [Basic & Applied Instruction] 4. Caution The following examples show how MELSEC-LD step ladders are expressed in the structured programs. Reference: MELSEC-LD step ladder expression Expressing step ladder in structured program 1) Structured ladder/FBD 1) When expressing ...

  • Mitsubishi Electronics FXCPU - page 105

    7 Applied Instructions (Program F low) 103 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move and Compare) 9 Ap ...

  • Mitsubishi Electronics FXCPU - page 106

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 104 FXCPU Structured Programming Manual [Basic & Applied Instruction] 7.1 CJ / Conditional Jump Outline CJ or CJP instruction jumps to the specified pointer number or ladder block label. The sequence program steps between CJ or CJP instruction and the pointer are not executed. 1. ...

  • Mitsubishi Electronics FXCPU - page 107

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 105 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi o ...

  • Mitsubishi Electronics FXCPU - page 108

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 106 FXCPU Structured Programming Manual [Basic & Applied Instruction] 4) When the pointer number or ladder block label specified by is same and there is one jump destination, the following operation is caused. When X020 turns ON, the program execution jumps from CJ instruction cor ...

  • Mitsubishi Electronics FXCPU - page 109

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 107 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi o ...

  • Mitsubishi Electronics FXCPU - page 110

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 108 FXCPU Structured Programming Manual [Basic & Applied Instruction] CJ instruction and operations of contact and coil In the program example shown below, when X000 turns ON , the program execution jumps from CJ instruction in the first circuit to the pointe r P8. While X000 is O ...

  • Mitsubishi Electronics FXCPU - page 111

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 109 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi o ...

  • Mitsubishi Electronics FXCPU - page 112

    7 Applied Instructions (Program F low) 7.1 CJ / Conditional Jump 110 FXCPU Structured Programming Manual [Basic & Applied Instruction] Timing chart Relationship between mast er control instruction and jump instruction The figure below shows the contents of operation and the relationship between the master control instruction. Avoid using 2), 4) ...

  • Mitsubishi Electronics FXCPU - page 113

    7 Applied Instructions (Program F low) 7.2 CALL / Call Subroutine 111 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 114

    7 Applied Instructions (Program F low) 7.2 CALL / Call Subroutine 112 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation While the command input is ON, CALL instruction is executed and the program execution jumps to a step with a specified pointer number or ladder block label ...

  • Mitsubishi Electronics FXCPU - page 115

    7 Applied Instructions (Program F low) 7.2 CALL / Call Subroutine 113 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 116

    7 Applied Instructions (Program F low) 7.2 CALL / Call Subroutine 114 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions on subroutines and interrupt routines This section explains cautions on creating pr ograms in subroutines and interrupt routines. The explanation below is given for subroutines, but the situation also ...

  • Mitsubishi Electronics FXCPU - page 117

    7 Applied Instructions (Program F low) 7.2 CALL / Call Subroutine 115 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 118

    7 Applied Instructions (Program F low) 7.3 SRET / Subro utine Return 116 FXCPU Structured Programming Manual [Basic & Applied Instruction] 7.3 SRET / Subroutine Return Outline This instruction returns the program execut ion from a subroutine to the main program. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices Function ...

  • Mitsubishi Electronics FXCPU - page 119

    7 Applied Instructions (Program F low) 7.4 IRET / Interrupt Return 117 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 120

    7 Applied Instructions (Program F low) 7.4 IRET / Interrupt Return 118 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Create a task for the interrupt program and the main program. 2) Use "Event" to specify the interrupt pointer to be used for the task for the interrupt program. → For the interrupt po i ...

  • Mitsubishi Electronics FXCPU - page 121

    7 Applied Instructions (Program F low) 7.4 IRET / Interrupt Return 119 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 122

    7 Applied Instructions (Program F low) 7.5 DI / Disable Interrupt 120 FXCPU Structured Programming Manual [Basic & Applied Instruction] 7.5 DI / Disable Interrupt Outline This instruction disables interrupts after interrupts were enabled by EI instruction. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices Function and o ...

  • Mitsubishi Electronics FXCPU - page 123

    7 Applied Instructions (Program F low) 7.6 EI / Enable Int errupt 121 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 124

    7 Applied Instructions (Program F low) 7.6 EI / Enable Int errupt 122 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Refer to the following items for the cautions on the interrupt program. → Refer to Section 7.4. 2) Use the EI instruction as follows when the FX U , FX 2C , FX 2N , FX 2NC , FX 3U and FX 3UC PLCs ...

  • Mitsubishi Electronics FXCPU - page 125

    7 Applied Instructions (Program F low) 7.7 FEND / Main Routine Program End 123 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied I ...

  • Mitsubishi Electronics FXCPU - page 126

    7 Applied Instructions (Program F low) 7.7 FEND / Main Routine Program End 124 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. In the case of CALL instruction *1. If task names other than "MELSEC_MAIN" are used, FEND instruction is added automatically, and cause an error. Refer to item 6 of "Cautions". C ...

  • Mitsubishi Electronics FXCPU - page 127

    7 Applied Instructions (Program F low) 7.8 WDT / Watchdog Time r Refresh 125 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 128

    7 Applied Instructions (Program F low) 7.8 WDT / Watchdog Time r Refresh 126 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Instructions of pulse operation type are not provided in the FX 0S , FX 0 or FX 0N PLC. To execute pulse operation, make the instruction execution condition pulse type. 2) A watchdog timer er ...

  • Mitsubishi Electronics FXCPU - page 129

    7 Applied Instructions (Program F low) 7.8 WDT / Watchdog Time r Refresh 127 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 130

    7 Applied Instructions (Program F low) 7.9 FOR / Start a FOR/NEXT Loop 128 FXCPU Structured Programming Manual [Basic & Applied Instruction] 7.9 FOR / Start a FOR/NEXT Loop Outline FOR instruction specifies the number of repetition of the loop between FOR and NEXT instructions. 1. Format and operation, execution form 2. Set da ta 3. Applicable ...

  • Mitsubishi Electronics FXCPU - page 131

    7 Applied Instructions (Program F low) 7.10 NEXT / End a FOR/NEXT Loop 129 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 132

    7 Applied Instructions (Program F low) 7.10 NEXT / End a FOR/NEXT Loop 130 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions FOR-NEXT loop can be nested up to 5 levels. Error 1) When FOR-NEXT loop is repeated many times, the operation cycle (D8010) is too long, and a watchdog timer error may occur. In such a case, chang ...

  • Mitsubishi Electronics FXCPU - page 133

    7 Applied Instructions (Program F low) 7.10 NEXT / End a FOR/NEXT Loop 131 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 134

    8 Applied Instructions (Move and Compare) 132 FXCPU Structured Programming Manual [Basic & Applied Instruction] 8. Applied Instructions (Move and Compare) This chapter introduces fundamental data processing instructions such as data transfer and data comparison which are regarded as most important in applied instructions. Instruction name Funct ...

  • Mitsubishi Electronics FXCPU - page 135

    8 Applied Instructions (Move and Compare) 8.1 CMP / Compare 133 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (M ...

  • Mitsubishi Electronics FXCPU - page 136

    8 Applied Instructions (Move and Compare) 8.1 CMP / Compare 134 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(CMP, CMPP) The comparison value specifie d by and the comparison source s pecified by are compared with each other. According to the result (sma ller, equal or l ...

  • Mitsubishi Electronics FXCPU - page 137

    8 Applied Instructions (Move and Compare) 8.1 CMP / Compare 135 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (M ...

  • Mitsubishi Electronics FXCPU - page 138

    8 Applied Instructions (Move and Compare) 8.2 ZC P / Zone C ompare 136 FXCPU Structured Programming Manual [Basic & Applied Instruction] 8.2 ZCP / Zone Compare Outline This instruction compares two values (zone) with the comparison source, and outputs the result (upper, equal or lower) to bit devices (3 points). 1. Format and operation, executi ...

  • Mitsubishi Electronics FXCPU - page 139

    8 Applied Instructions (Move and Compare) 8.2 ZC P / Zone C ompare 137 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ...

  • Mitsubishi Electronics FXCPU - page 140

    8 Applied Instructions (Move and Compare) 8.2 ZC P / Zone C ompare 138 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Some restrictions to applicable devices S 1:The FX 3U and FX 3UC PLCs only are applicable. Not indexed (V,Z). S 2:The FX 3G , FX 3GC , FX 3U and FX 3UC PLCs only are applicable. S 3:The FX 3U and F ...

  • Mitsubishi Electronics FXCPU - page 141

    8 Applied Instructions (Move and Compare) 8.3 MOV / Move 139 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move ...

  • Mitsubishi Electronics FXCPU - page 142

    8 Applied Instructions (Move and Compare) 8.3 MOV / Move 140 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(MOV, MOVP) The contents of the transfer source specified by ar e transferred to the transfer destination spec ified by . • While the command input is OFF, the tra ...

  • Mitsubishi Electronics FXCPU - page 143

    8 Applied Instructions (Move and Compare) 8.3 MOV / Move 141 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move ...

  • Mitsubishi Electronics FXCPU - page 144

    8 Applied Instructions (Move and Compare) 8.3 MOV / Move 142 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. When reading the current value of a timer and counter 2. When indirectly specifying the set value of a timer or counter As the set value of the timer T20, two values can be specified by turning ON or ...

  • Mitsubishi Electronics FXCPU - page 145

    8 Applied Instructions (Move and Compare) 8.4 SMOV / Shift Move 143 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi on ...

  • Mitsubishi Electronics FXCPU - page 146

    8 Applied Instructions (Move and Compare) 8.4 SMOV / Shift Move 144 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(SMOV, SMOVP) The contents of the transfer source specified by and transfer destination specified by are converted into 4-digit BCD (0000 to 9999) respectivel ...

  • Mitsubishi Electronics FXCPU - page 147

    8 Applied Instructions (Move and Compare) 8.4 SMOV / Shift Move 145 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi on ...

  • Mitsubishi Electronics FXCPU - page 148

    8 Applied Instructions (Move and Compare) 8.5 CML / Complement 146 FXCPU Structured Programming Manual [Basic & Applied Instruction] 8.5 CML / Complement Outline This instruction inverts data in units of bit, and then transfers (copies) the inverted data. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refer to &q ...

  • Mitsubishi Electronics FXCPU - page 149

    8 Applied Instructions (Move and Compare) 8.5 CML / Complement 147 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons ...

  • Mitsubishi Electronics FXCPU - page 150

    8 Applied Instructions (Move and Compare) 8.5 CML / Complement 148 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. When receiving an inverted input The sequence program can be written by CML instruction. 2. When four bits are specif ied for a device with digit sp ecification X000 X001 X002 X003 X000 X001 X0 ...

  • Mitsubishi Electronics FXCPU - page 151

    8 Applied Instructions (Move and Compare) 8.6 BMOV / Block Move 149 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi on ...

  • Mitsubishi Electronics FXCPU - page 152

    8 Applied Instructions (Move and Compare) 8.6 BMOV / Block Move 150 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation BMOV instruction transfe rs "n" points of dat a from the device specified by to the device specified by at one time. • If the device number range is exceeded, data i ...

  • Mitsubishi Electronics FXCPU - page 153

    8 Applied Instructions (Move and Compare) 8.6 BMOV / Block Move 151 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi on ...

  • Mitsubishi Electronics FXCPU - page 154

    8 Applied Instructions (Move and Compare) 8.6 BMOV / Block Move 152 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function of transfer between file registers and data registers BMOV instruction has a special function to file registers (D1000 and late r). The maximum number of file register differs from one PLC to another. Th ...

  • Mitsubishi Electronics FXCPU - page 155

    8 Applied Instructions (Move and Compare) 8.6 BMOV / Block Move 153 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi on ...

  • Mitsubishi Electronics FXCPU - page 156

    8 Applied Instructions (Move and Compare) 8.7 FMO V / Fill M ove 154 FXCPU Structured Programming Manual [Basic & Applied Instruction] 8.7 FMOV / Fill Move Outline This instruction transfers same data to specified number of devices. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refer to "Cautions". FX ...

  • Mitsubishi Electronics FXCPU - page 157

    8 Applied Instructions (Move and Compare) 8.7 FMO V / Fill M ove 155 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi o ...

  • Mitsubishi Electronics FXCPU - page 158

    8 Applied Instructions (Move and Compare) 8.7 FMO V / Fill M ove 156 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. When writing specified data to two or more devices X000 K0 D0 FMOV EN s n ENO d K5 K 0 K 0 D 0 K 0 D 1 K 0 D 2 K 0 D 3 K 0 D 4 Before execution After execution K 3 K 0 K 5 K 0 K 65 K 0 K 7 K ...

  • Mitsubishi Electronics FXCPU - page 159

    8 Applied Instructions (Move and Compare) 8.8 XCH / Exchange 157 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons ( ...

  • Mitsubishi Electronics FXCPU - page 160

    8 Applied Instructions (Move and Compare) 8.8 XCH / Exchange 158 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(XCH, XCHP) Data is exchanged between the device specified by and the device specified by . 2. 32-bit operati on(DXCH , DXCHP) Data is exchanged between the devi ...

  • Mitsubishi Electronics FXCPU - page 161

    8 Applied Instructions (Move and Compare) 8.9 BCD / Conversion to Binary Coded De cimal 159 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow ...

  • Mitsubishi Electronics FXCPU - page 162

    8 Applied Instructions (Move and Compare) 8.9 BCD / Conversion to Binary Coded De cimal 160 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(BCD, BCDP) This instruction converts the binary (BIN) data spec ified by into binary-coded decimal (BCD) data, and transfers the conv ...

  • Mitsubishi Electronics FXCPU - page 163

    8 Applied Instructions (Move and Compare) 8.9 BCD / Conversion to Binary Coded De cimal 161 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow ...

  • Mitsubishi Electronics FXCPU - page 164

    8 Applied Instructions (Move and Compare) 8.9 BCD / Conversion to Binary Coded De cimal 162 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. When the seven-segment display unit has 1 digit 2. When the seven-segment display unit has 2 to 4 digits 3. When the seven-segment display unit has 5 to 8 digits PLC BC ...

  • Mitsubishi Electronics FXCPU - page 165

    8 Applied Instructions (Move and Compare) 8.10 BIN / Conversion to Binary 163 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied In ...

  • Mitsubishi Electronics FXCPU - page 166

    8 Applied Instructions (Move and Compare) 8.10 BIN / Conversion to Binary 164 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(BIN, BINP) This instruction converts the binary-coded decimal (BCD) data specified by into binary (BIN) data, and transfers the converted binary da ...

  • Mitsubishi Electronics FXCPU - page 167

    8 Applied Instructions (Move and Compare) 8.10 BIN / Conversion to Binary 165 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied In ...

  • Mitsubishi Electronics FXCPU - page 168

    8 Applied Instructions (Move and Compare) 8.10 BIN / Conversion to Binary 166 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. When the digital switch has 1 digit 2. When the digital switch has 2 to 4 digits 3. When the digital switch has 5 to 8 digits MOV instruction can be used instead. X000 D0 BIN EN s EN ...

  • Mitsubishi Electronics FXCPU - page 169

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 167 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons ...

  • Mitsubishi Electronics FXCPU - page 170

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.1 ADDP / Addition 168 FXCPU Structured Programming Manual [Basic & Applied Instruction] 9.1 ADDP / Addition Outline This instruction executes addition by two values to obtain the result (A + B = C) → For the floating point addition instru ction [DEADD], refer to Section 18.8. 1. ...

  • Mitsubishi Electronics FXCPU - page 171

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.1 ADDP / Addition 169 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 172

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.1 ADDP / Addition 170 FXCPU Structured Programming Manual [Basic & Applied Instruction] Extension function(FX U and FX 2C PLCs) The FX U PLC of V2.30 or earlier does not support the extension function. When executing an instruction with M8023 ON, a binary float operation takes plac ...

  • Mitsubishi Electronics FXCPU - page 173

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.2 SUBP / Subtracti on 171 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) ...

  • Mitsubishi Electronics FXCPU - page 174

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.2 SUBP / Subtracti on 172 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(SUBP) The data specified by is subtracted from the dat a specified by in the binary format, and the subtraction result is transferred t ...

  • Mitsubishi Electronics FXCPU - page 175

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.2 SUBP / Subtracti on 173 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) ...

  • Mitsubishi Electronics FXCPU - page 176

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.3 MULP / Multi plication 174 FXCPU Structured Programming Manual [Basic & Applied Instruction] 9.3 MULP / Multiplication Outline This instruction executes multiplication by two values to obtain the result (A × B = C). → For the floating point m ultiplication inst ruction [DEMUL] ...

  • Mitsubishi Electronics FXCPU - page 177

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.3 MULP / Multi plication 175 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flo ...

  • Mitsubishi Electronics FXCPU - page 178

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.3 MULP / Multi plication 176 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. 32-bit operation(DMUL, DMULP) The data specified by is multiplied b y the data specified b y in the binary format, and the multiplication result is transferred to 64-bit (four word dev ...

  • Mitsubishi Electronics FXCPU - page 179

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.3 MULP / Multi plication 177 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flo ...

  • Mitsubishi Electronics FXCPU - page 180

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.4 DIVP / Division 178 FXCPU Structured Programming Manual [Basic & Applied Instruction] 9.4 DIVP / Division Outline This instruction executes division by two values to obtain the result [A ÷ B =C...(remainder)]. → For the floating p oint division instru ction [DEDIV], refer to S ...

  • Mitsubishi Electronics FXCPU - page 181

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.4 DIVP / Division 179 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 182

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.4 DIVP / Division 180 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Some restrictions to applicable devices S 1:The FX 3G , FX 3GC , FX 3U and FX 3UC PLCs only are applicable. S 2:The FX 3U and FX 3UC PLCs only are applicable. S 3:Available only for ...

  • Mitsubishi Electronics FXCPU - page 183

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.5 INC / Increment 181 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 184

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.5 INC / Increment 182 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Instructions of pulse operation type are not provided in the FX 0S , FX 0 or FX 0N PLC. To execute pulse operation, make the instruction execution condition pulse type. 2) Note that ...

  • Mitsubishi Electronics FXCPU - page 185

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.6 DEC / Decrement 183 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 186

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.6 DEC / Decrement 184 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Instructions of pulse operation type are not provided in the FX 0S , FX 0 or FX 0N PLC. To execute pulse operation, make the instruction execution condition pulse type. 2) In a 16-bi ...

  • Mitsubishi Electronics FXCPU - page 187

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.7 WAND / Logical Word AND 185 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Fl ...

  • Mitsubishi Electronics FXCPU - page 188

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.7 WAND / Logical Word AND 186 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(WAND, WANDP) The logical product (AND) operation is executed to the contents specified by and in units of bit, and the result is tr ...

  • Mitsubishi Electronics FXCPU - page 189

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.8 WOR / Logical Word OR 187 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow ...

  • Mitsubishi Electronics FXCPU - page 190

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.8 WOR / Logical Word OR 188 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(WOR, WORP) The logical sum (OR) operation is executed to the contents specified by and in units of bit, and the result is transferred ...

  • Mitsubishi Electronics FXCPU - page 191

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.9 WXOR / Logical Exclusive OR 189 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Progra ...

  • Mitsubishi Electronics FXCPU - page 192

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.9 WXOR / Logical Exclusive OR 190 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(WXOR, WXORP) The exclusive logic al sum (XOR) ope ration is executed to the contents spe cified by and in units of bit, and the ...

  • Mitsubishi Electronics FXCPU - page 193

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.9 WXOR / Logical Exclusive OR 191 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Progra ...

  • Mitsubishi Electronics FXCPU - page 194

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.10 NEG / Negation 192 FXCPU Structured Programming Manual [Basic & Applied Instruction] 9.10 NEG / Negation Outline This instruction obtains the 2's complement of a numeric value (by inverting each bit and adding "1"). A sign of a numeric value can be converted by th ...

  • Mitsubishi Electronics FXCPU - page 195

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.10 NEG / Negation 193 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 196

    9 Applied In structions (Arithmeti c and Lo gical Oper ation) 9.10 NEG / Negation 194 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Obtaining the absolute value by SUB (subtract ion) instruction Even if NEG instruction (complement operation) is not used, D30 always stores the a bsolute value of the difference. Negative va ...

  • Mitsubishi Electronics FXCPU - page 197

    10 Applied Inst ructions (R otation and Shift Operation) 195 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Applied Instructi ons (Move ...

  • Mitsubishi Electronics FXCPU - page 198

    10 Applied Inst ructions (R otation and Shift Operation) 10.1 ROR / Rotation Ri ght 196 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10.1 ROR / Rotation Right Outline This instruction shifts and rotates the bit inf ormation rightward by the specified number of bits without the carry flag. 1. Format and operation, execution ...

  • Mitsubishi Electronics FXCPU - page 199

    10 Applied Inst ructions (R otation and Shift Operation) 10.1 ROR / Rotation Ri ght 197 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 ...

  • Mitsubishi Electronics FXCPU - page 200

    10 Applied Inst ructions (R otation and Shift Operation) 10.1 ROR / Rotation Ri ght 198 FXCPU Structured Programming Manual [Basic & Applied Instruction] Related device → For the carry flag use met hod, refer to Section 1.3.4. Cautions 1) Some restrictions to applicable devices S 1:K4Y , K4M and K4S are valid for a 16-bit operation. K8Y , K8M ...

  • Mitsubishi Electronics FXCPU - page 201

    10 Applied Inst ructions (R otation and Shift Operation) 10.2 ROL / Rotation Left 199 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 202

    10 Applied Inst ructions (R otation and Shift Operation) 10.2 ROL / Rotation Left 200 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (ROL, ROLP) "n" bits out of 16 bits of the device specified by are rotated leftward. • The final bit is stored in the carry fla ...

  • Mitsubishi Electronics FXCPU - page 203

    10 Applied Inst ructions (R otation and Shift Operation) 10.2 ROL / Rotation Left 201 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 Ap ...

  • Mitsubishi Electronics FXCPU - page 204

    10 Applied Inst ructions (R otation and Shift Operation) 10.3 RCR / Rotation Right with Carry 202 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10.3 RCR / Rotation Right with Carry Outline This instruction shifts and rotates the bit informatio n rightward b y the specified n umber of bits together with the carry flag. 1. For ...

  • Mitsubishi Electronics FXCPU - page 205

    10 Applied Inst ructions (R otation and Shift Operation) 10.3 RCR / Rotation Right with Carry 203 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Progra ...

  • Mitsubishi Electronics FXCPU - page 206

    10 Applied Inst ructions (R otation and Shift Operation) 10.3 RCR / Rotation Right with Carry 204 FXCPU Structured Programming Manual [Basic & Applied Instruction] Related device → For the carry flag use met hod, refer to Section 1.3.4. Cautions 1) Some restrictions to applicable devices S 1:K4Y , K4M and K4S are valid for a 16-bit operation. ...

  • Mitsubishi Electronics FXCPU - page 207

    10 Applied Inst ructions (R otation and Shift Operation) 10.4 RCL / Rotation Left with Carry 205 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program ...

  • Mitsubishi Electronics FXCPU - page 208

    10 Applied Inst ructions (R otation and Shift Operation) 10.4 RCL / Rotation Left with Carry 206 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (RCL, RCLP) "n" bits out of 16 bits of the device specified by and 1 bit (carry flag M8022) are rotated leftward. The ...

  • Mitsubishi Electronics FXCPU - page 209

    10 Applied Inst ructions (R otation and Shift Operation) 10.4 RCL / Rotation Left with Carry 207 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program ...

  • Mitsubishi Electronics FXCPU - page 210

    10 Applied Inst ructions (R otation and Shift Operation) 10.5 SFTR / Bit Shif t Right 208 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10.5 SFTR / Bit Shift Right Outline This instruction shifts bit devices of the specified bit length rightward by the specified number of bits. After shift, the bit device specified by is tra ...

  • Mitsubishi Electronics FXCPU - page 211

    10 Applied Inst ructions (R otation and Shift Operation) 10.5 SFTR / Bit Shif t Right 209 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) ...

  • Mitsubishi Electronics FXCPU - page 212

    10 Applied Inst ructions (R otation and Shift Operation) 10.6 SFT L / Bit Shift L eft 210 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10.6 SFTL / Bit Shift Left Outline This instruction shifts bit devices of the specified bit length leftward by the specified number of bits. After shift, the bit device specified by is trans ...

  • Mitsubishi Electronics FXCPU - page 213

    10 Applied Inst ructions (R otation and Shift Operation) 10.6 SFT L / Bit Shift L eft 211 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) ...

  • Mitsubishi Electronics FXCPU - page 214

    10 Applied Inst ructions (R otation and Shift Operation) 10.6 SFT L / Bit Shift L eft 212 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples(Conditional stepping of 1-bit data) By setting X000 to X007 to ON in turn, Y000 to Y007 are activated in turn. If the order is wrong, activation is disabled. X000 S 0 M8046 ...

  • Mitsubishi Electronics FXCPU - page 215

    10 Applied Inst ructions (R otation and Shift Operation) 10.7 WSFR / Word Shift Right 213 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) ...

  • Mitsubishi Electronics FXCPU - page 216

    10 Applied Inst ructions (R otation and Shift Operation) 10.7 WSFR / Word Shift Right 214 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (WSFR, WSFRP) For "n1" word devices starting from the device specified by , "n2" words are shif ted rightward (1) a ...

  • Mitsubishi Electronics FXCPU - page 217

    10 Applied Inst ructions (R otation and Shift Operation) 10.7 WSFR / Word Shift Right 215 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) ...

  • Mitsubishi Electronics FXCPU - page 218

    10 Applied Inst ructions (R otation and Shift Operation) 10.8 WSFL / Word Shift Left 216 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10.8 WSFL / Word Shift Left Outline This instruction shifts the word data information leftward by the specified number of words. 1. Format and operation, execution form 2. Set da ta 3. Applic ...

  • Mitsubishi Electronics FXCPU - page 219

    10 Applied Inst ructions (R otation and Shift Operation) 10.8 WSFL / Word Shift Left 217 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Program Flow) 8 ...

  • Mitsubishi Electronics FXCPU - page 220

    10 Applied Inst ructions (R otation and Shift Operation) 10.8 WSFL / Word Shift Left 218 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. Shifting devices with digit specification 3) 2) Y017 Y016 Y015 Y014 Y013 Y012 Y011 Y010 Y007 Y006 Y005 Y004 Y003 Y002 Y001 Y000 Specify a same digit for devices with digit ...

  • Mitsubishi Electronics FXCPU - page 221

    10 Applied Inst ructions (R otation and Shift Operation) 10.9 SFWR / Shift Writ e [FIFO/FILO Control] 219 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 222

    10 Applied Inst ructions (R otation and Shift Operation) 10.9 SFWR / Shift Writ e [FIFO/FILO Control] 220 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (SFWR, SFWRP) The contents of the device specified by are written to "n-1" devices from the device specified ...

  • Mitsubishi Electronics FXCPU - page 223

    10 Applied Inst ructions (R otation and Shift Operation) 10.9 SFWR / Shift Writ e [FIFO/FILO Control] 221 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 224

    10 Applied Inst ructions (R otation and Shift Operation) 10.10 SFRD / Shift Read [FIFO Control] 222 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10.10 SFRD / Shift R ead [FIFO Control] Outline This instruction reads data for first-in first-out control. 1. Format and operation, execution form 2. Set da ta 3. Applicable devic ...

  • Mitsubishi Electronics FXCPU - page 225

    10 Applied Inst ructions (R otation and Shift Operation) 10.10 SFRD / Shift Read [FIFO Control] 223 FXCPU Structured Programming Manual [Basic & Applied Instruction] 1 Outline 2 Instruction List 3 Configuration of Instruction 4 How to R ead Explanation of Instructions 5 Basic Instruction 6 S tep Ladder Instructions 7 Applied Instruct ions (Prog ...

  • Mitsubishi Electronics FXCPU - page 226

    11 Applied Instructions (D ata Operation) 224 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11. Applied Instructions (Data Operation) This chapter introduces the instructions for executing complicated processing for applied instructions move, compare, arithmetic operations, rotation and shift operation instructions. Instruct ...

  • Mitsubishi Electronics FXCPU - page 227

    11 Applied Instructions (D ata Operation) 11.1 ZRST / Zone Reset 225 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctio ...

  • Mitsubishi Electronics FXCPU - page 228

    11 Applied Instructions (D ata Operation) 11.1 ZRST / Zone Reset 226 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (ZRST, ZRSTP) Same type of devices specified by to are reset at one time. When the devices specified by and are bit devices "OFF (reset)" is writt ...

  • Mitsubishi Electronics FXCPU - page 229

    11 Applied Instructions (D ata Operation) 11.1 ZRST / Zone Reset 227 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctio ...

  • Mitsubishi Electronics FXCPU - page 230

    11 Applied Instructions (D ata Operation) 11.1 ZRST / Zone Reset 228 FXCPU Structured Programming Manual [Basic & Applied Instruction] 5) Caution on simultaneous instances of the ZRST instruction and a counter The ZRST instruction resets also the last stage and reset state of T and C coils. Accordingly, if the drive contact of X000 is ON in the ...

  • Mitsubishi Electronics FXCPU - page 231

    11 Applied Instructions (D ata Operation) 11.2 DECO / Decode 229 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 232

    11 Applied Instructions (D ata Operation) 11.2 DECO / Decode 230 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (DECO, DECOP) One bit among the devices specified by [ to +2 n -1] is set to O N according to the value of the device specified by . 1) When the device specifie ...

  • Mitsubishi Electronics FXCPU - page 233

    11 Applied Instructions (D ata Operation) 11.2 DECO / Decode 231 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 234

    11 Applied Instructions (D ata Operation) 11.2 DECO / Decode 232 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Turning ON the bit out of word devices ac cording to the contents of bit devices The value expressed by X00 0 to X002 is decoded to D0 (X000 and X001 are ON, and X002 is OFF in this example). • When the values ...

  • Mitsubishi Electronics FXCPU - page 235

    11 Applied Instructions (D ata Operation) 11.3 ENCO / Encode 233 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 236

    11 Applied Instructions (D ata Operation) 11.3 ENCO / Encode 234 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (ENCO, ENCOP) The 2 n bit of the data specified b y is encoded, and t he result value is s tored to the devic e specified by . This instruction converts data in ...

  • Mitsubishi Electronics FXCPU - page 237

    11 Applied Instructions (D ata Operation) 11.3 ENCO / Encode 235 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 238

    11 Applied Instructions (D ata Operation) 11.4 SUM / Sum of Active Bits 236 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11.4 SUM / Sum of Active Bits Outline This instruction counts the number of "1" (ON) bits in the data of a specified device. 1. Format and operation, execution form 2. Set da ta 3. Applicable de ...

  • Mitsubishi Electronics FXCPU - page 239

    11 Applied Instructions (D ata Operation) 11.4 SUM / Sum of Active Bits 237 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 240

    11 Applied Instructions (D ata Operation) 11.4 SUM / Sum of Active Bits 238 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Operation result of the device specifie d by according to the value specified by (in 16-bit operation) Cautions 1) While the command input is OFF, the instruction is not executed. The output of the num ...

  • Mitsubishi Electronics FXCPU - page 241

    11 Applied Instructions (D ata Operation) 11.5 BON / Chec k Specified Bit Status 239 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 242

    11 Applied Instructions (D ata Operation) 11.5 BON / Chec k Specified Bit Status 240 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(BON, BONP) The status (ON or OFF) of the bit "n" in the device specified by is output to the device specified by . [When the bit & ...

  • Mitsubishi Electronics FXCPU - page 243

    11 Applied Instructions (D ata Operation) 11.5 BON / Chec k Specified Bit Status 241 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 244

    11 Applied Instructions (D ata Operation) 11.6 MEAN / Mean 242 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11.6 MEAN / Mean Outline This instruction obtains the mean value of data. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refer to "Cautions". FX 3U(C) FX 3G(C) FX 3S FX 2N(C) ...

  • Mitsubishi Electronics FXCPU - page 245

    11 Applied Instructions (D ata Operation) 11.6 MEAN / Mean 243 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (Ex ...

  • Mitsubishi Electronics FXCPU - page 246

    11 Applied Instructions (D ata Operation) 11.7 ANS / Timed Annunciat or Set 244 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11.7 ANS / Timed Annunciator Set Outline This instruction sets a state relay as an annunciator. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refer to "Cautions&q ...

  • Mitsubishi Electronics FXCPU - page 247

    11 Applied Instructions (D ata Operation) 11.7 ANS / Timed Annunciat or Set 245 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied ...

  • Mitsubishi Electronics FXCPU - page 248

    11 Applied Instructions (D ata Operation) 11.8 ANR / Annunciator Reset 246 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11.8 ANR / Annunciator Reset Outline This instruction resets an annunciator in the ON status with the smallest number. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices Function an ...

  • Mitsubishi Electronics FXCPU - page 249

    11 Applied Instructions (D ata Operation) 11.8 ANR / Annunciator Reset 247 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 250

    11 Applied Instructions (D ata Operation) 11.9 SQR / Square Root 248 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11.9 SQR / Square Root Outline This instruction obtains the square root. The DESQR instruction obtains the square root in floating point operation. → For DESQR instruction, refer to Section 18.15. 1. Format an ...

  • Mitsubishi Electronics FXCPU - page 251

    11 Applied Instructions (D ata Operation) 11.9 SQR / Square Root 249 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctio ...

  • Mitsubishi Electronics FXCPU - page 252

    11 Applied Instructions (D ata Operation) 11.10 FLT / Conversi on to Floating Point 250 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11.10 FLT / Conversion to Floating Point Outline This instruction converts a binary integer into a binary floating point (real number). 1. Format and operation, execution form 2. Set da ta 3. ...

  • Mitsubishi Electronics FXCPU - page 253

    11 Applied Instructions (D ata Operation) 11.10 FLT / Conversi on to Floating Point 251 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 254

    11 Applied Instructions (D ata Operation) 11.10 FLT / Conversi on to Floating Point 252 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples 1. Arithmetic operations by binary floating point operations The sequence program shown below is constructed as follows: 1) Calculation example × K34.5 (D 0) (X017 to X010) 1 ...

  • Mitsubishi Electronics FXCPU - page 255

    11 Applied Instructions (D ata Operation) 11.10 FLT / Conversi on to Floating Point 253 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 256

    12 Applied Instructi ons (High S peed Proces sing) 254 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12. Applied Instructions (High Speed Processing) This chapter in troduces interrup t processing type high-speed instruc tions that exec ute sequence co ntrol using the latest I/O information and utilize the high-speed process ...

  • Mitsubishi Electronics FXCPU - page 257

    12 Applied Instructi ons (High S peed Proces sing) 255 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 258

    12 Applied Instructi ons (High S peed Proces sing) 256 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.1 REF / Refresh Function and operation explanation 1. 16-bit operation(REF, REFP) 1) When refreshing outputs (Y) "n" points are refreshed from the output of the device specified by . ("n" must be a mult ...

  • Mitsubishi Electronics FXCPU - page 259

    12 Applied Instructi ons (High S peed Proces sing) 257 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 260

    12 Applied Instructi ons (High S peed Proces sing) 258 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.1 REF / Refresh 12.1.1 What should be understood before using the REF instruction 1. Changing the input filter The input filter value is determined by the contents of D8020 (initial value: 10 ms). Use the MOV instruction, ...

  • Mitsubishi Electronics FXCPU - page 261

    12 Applied Instructi ons (High S peed Proces sing) 259 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 262

    12 Applied Instructi ons (High S peed Proces sing) 260 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.2 REFF / Refresh and Filter Adjust • When the input turns ON "n × 1 ms" before the instruction is executed, the input image memo ry is set to ON. When the input turns OFF "n × 1 ms" before the instr ...

  • Mitsubishi Electronics FXCPU - page 263

    12 Applied Instructi ons (High S peed Proces sing) 261 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 264

    12 Applied Instructi ons (High S peed Proces sing) 262 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.2 REFF / Refresh and Filter Adjust 12.2.1 What should be understood before using REFF instruction Generally, a C-R filter of approximat ely 10 ms is prov ided for inputs in PLCs as c ountermeasures ag ainst chattering and ...

  • Mitsubishi Electronics FXCPU - page 265

    12 Applied Instructi ons (High S peed Proces sing) 263 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 266

    12 Applied Instructi ons (High S peed Proces sing) 264 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.3 MTR / Input Matrix Function and operation explanation 1. 16-bit operation (MTR) An input signal of 8 points × "n" columns is con trolled in the time division method using 8 inputs of the device specified by an ...

  • Mitsubishi Electronics FXCPU - page 267

    12 Applied Instructi ons (High S peed Proces sing) 265 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 268

    12 Applied Instructi ons (High S peed Proces sing) 266 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.3 MTR / Input Matrix 12.3.1 Operation and cautions for MTR instruction 1. Command input 1) Setting the command input to normally ON For the MTR instruction, set the command input to normally ON. 2. Input numbers used in MT ...

  • Mitsubishi Electronics FXCPU - page 269

    12 Applied Instructi ons (High S peed Proces sing) 267 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 270

    12 Applied Instructi ons (High S peed Proces sing) 268 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.4 DHSCS, DHSCS_I / High Speed Coun ter Set, High Speed Interrupt Counter Set Function and operation explanation 1. 32-bit operation (DHSCS) When the current val ue of a high speed counter of t he device speci fied by becom ...

  • Mitsubishi Electronics FXCPU - page 271

    12 Applied Instructi ons (High S peed Proces sing) 269 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 272

    12 Applied Instructi ons (High S peed Proces sing) 270 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.4 DHSCS, DHSCS_I / High Speed Coun ter Set, High Speed Interrupt Counter Set 4. Some restrictions to applicable de vices S 1: The FX 3U and FX 3UC PLCs only are applicable. Not indexe d (V, Z). S 2: The FX 3G , FX 3GC , FX ...

  • Mitsubishi Electronics FXCPU - page 273

    12 Applied Instructi ons (High S peed Proces sing) 271 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 274

    12 Applied Instructi ons (High S peed Proces sing) 272 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.4 DHSCS, DHSCS_I / High Speed Coun ter Set, High Speed Interrupt Counter Set 2) Operation Even if the condition for set ting the output to ON or OFF is given as the comparison result, the comparison result does not change ...

  • Mitsubishi Electronics FXCPU - page 275

    12 Applied Instructi ons (High S peed Proces sing) 273 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 276

    12 Applied Instructi ons (High S peed Proces sing) 274 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.4 DHSCS, DHSCS_I / High Speed Coun ter Set, High Speed Interrupt Counter Set Operation of FX 3U and FX 3UC PLCs *1. To change the comparison results by the instructions (1) to (3) and (5) in the previous page, change the c ...

  • Mitsubishi Electronics FXCPU - page 277

    12 Applied Instructi ons (High S peed Proces sing) 275 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 278

    12 Applied Instructi ons (High S peed Proces sing) 276 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.5 DHSCR / High Speed Counter Reset Function and operation explanation 1. 32-bit operation (DHSCR) When the current v alue of the hig h speed counter of the device specif ied by becomes the comparis on value of the device s ...

  • Mitsubishi Electronics FXCPU - page 279

    12 Applied Instructi ons (High S peed Proces sing) 277 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 280

    12 Applied Instructi ons (High S peed Proces sing) 278 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.5 DHSCR / High Speed Counter Reset S 3: The FX 3U and FX 3UC PLCs only are applicable. S 4: The same counter of the device specified by can be used. (See the program example.) 4. Specifying input and output variables When ...

  • Mitsubishi Electronics FXCPU - page 281

    12 Applied Instructi ons (High S peed Proces sing) 279 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 282

    12 Applied Instructi ons (High S peed Proces sing) 280 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.6 DHSZ / High Speed Counter Zone Compare Function and operation explanation 1. 32-bit operation (DHSZ) The current value of the high speed counter of the device specified by is compared with two comparison points (comparis ...

  • Mitsubishi Electronics FXCPU - page 283

    12 Applied Instructi ons (High S peed Proces sing) 281 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 284

    12 Applied Instructi ons (High S peed Proces sing) 282 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.6 DHSZ / High Speed Counter Zone Compare For FX U and FX 2C PLCs 2. Device specificat ion range Only high speed counters can be specified as . For details, refer to the following manual. → FX Structured Prog rammin g Man ...

  • Mitsubishi Electronics FXCPU - page 285

    12 Applied Instructi ons (High S peed Proces sing) 283 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 286

    12 Applied Instructi ons (High S peed Proces sing) 284 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.6 DHSZ / High Speed Counter Zone Compare Timing chart In the part 1) in the tim ing chart, Y010 remains OFF if the current value of a high speed c ounter (C235 in the example below) is "0" when restoring the powe ...

  • Mitsubishi Electronics FXCPU - page 287

    12 Applied Instructi ons (High S peed Proces sing) 285 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 288

    12 Applied Instructi ons (High S peed Proces sing) 286 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.6 DHSZ / High Speed Counter Zone Compare 2. Operation M8002 K123 DMOV EN s ENO d D200 H10 MOV EN s ENO d D202 K1 MOV EN s ENO d D203 K234 DMOV EN s ENO d D204 H10 MOV EN s ENO d D206 K0 MOV EN s ENO d D207 K345 DMOV EN s E ...

  • Mitsubishi Electronics FXCPU - page 289

    12 Applied Instructi ons (High S peed Proces sing) 287 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 290

    12 Applied Instructi ons (High S peed Proces sing) 288 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.6 DHSZ / High Speed Counter Zone Compare Cautions 1. Limitation in the number of DHSZ instruction This instruction can be programmed only once in a program. With regard to the DHSCS, DHSCR, DHSZ a nd DHSCT instructions use ...

  • Mitsubishi Electronics FXCPU - page 291

    12 Applied Instructi ons (High S peed Proces sing) 289 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 292

    12 Applied Instructi ons (High S peed Proces sing) 290 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.6 DHSZ / High Speed Counter Zone Compare Command input K20 DMOVP EN s ENO d D300 DMOVP EN s ENO d DMOVP EN s ENO d K500 DMOVP EN s ENO d D306 DMOVP EN s ENO d DMOVP EN s ENO d K800 DMOVP EN s ENO d DMOVP EN s ENO d DMOVP E ...

  • Mitsubishi Electronics FXCPU - page 293

    12 Applied Instructi ons (High S peed Proces sing) 291 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 294

    12 Applied Instructi ons (High S peed Proces sing) 292 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.7 SPD / Speed Detection 12.7 SPD / Speed Detection Outline This instruction counts the input pulse for a specified period of time as interrupt input. The function of this instruction varies depending on the version. 1. For ...

  • Mitsubishi Electronics FXCPU - page 295

    12 Applied Instructi ons (High S peed Proces sing) 293 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 296

    12 Applied Instructi ons (High S peed Proces sing) 294 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.7 SPD / Speed Detection 2. 32-bit operation (DSPD) [FX 3GC PLCs Ver. 1.40 or later, FX 3UC PLCs Ver. 2.20 or later, and FX 3S /FX 3G /FX 3U PLCs] The input pulse specified by is counted only for the period of "time sp ...

  • Mitsubishi Electronics FXCPU - page 297

    12 Applied Instructi ons (High S peed Proces sing) 295 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 298

    12 Applied Instructi ons (High S peed Proces sing) 296 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.8 PLSY / Pulse Y Output 12.8 PLSY / Pulse Y Output Outline This instruction generates a pulse signal. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refer to "Cautions". FX 3U(C) F ...

  • Mitsubishi Electronics FXCPU - page 299

    12 Applied Instructi ons (High S peed Proces sing) 297 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 300

    12 Applied Instructi ons (High S peed Proces sing) 298 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.8 PLSY / Pulse Y Output 2. Monitoring the current num ber of generated pulses The number of pulses output from Y000 or Y001 is stored in the following special data resistors. *1. The FX 0S , FX 0 , FX 0N , FX U or FX 2C PL ...

  • Mitsubishi Electronics FXCPU - page 301

    12 Applied Instructi ons (High S peed Proces sing) 299 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 302

    12 Applied Instructi ons (High S peed Proces sing) 300 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.8 PLSY / Pulse Y Output 6. Handling of pulse output te rminals in the main units The outputs Y000 and Y001 are the high speed response type. When using a pulse output instruction or positioning instruction, ad just the loa ...

  • Mitsubishi Electronics FXCPU - page 303

    12 Applied Instructi ons (High S peed Proces sing) 301 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 304

    12 Applied Instructi ons (High S peed Proces sing) 302 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.8 PLSY / Pulse Y Output Program examples (When outputting pulses without any limitation) When the device specified by is set to K0, pulses are output without any limitation. No limitation (K0) 1000Hz Y000 Command input DPL ...

  • Mitsubishi Electronics FXCPU - page 305

    12 Applied Instructi ons (High S peed Proces sing) 303 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 306

    12 Applied Instructi ons (High S peed Proces sing) 304 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.9 PWM / Pulse Width Modulation Cautions about writing during RUN Avoid writing during RUN aft er either of the following op erations in a ci rcuit block including the pulse output instruction or positioning instruction. ? ...

  • Mitsubishi Electronics FXCPU - page 307

    12 Applied Instructi ons (High S peed Proces sing) 305 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 308

    12 Applied Instructi ons (High S peed Proces sing) 306 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.10 PLSR / Acceleration/Deceleration Setup 12.10 PLSR / Acceleratio n/Deceleration Setup Outline This pulse output instruction has the acceleration/deceleration function. 1. Format and operation, execution form 2. Set da ta ...

  • Mitsubishi Electronics FXCPU - page 309

    12 Applied Instructi ons (High S peed Proces sing) 307 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 310

    12 Applied Instructi ons (High S peed Proces sing) 308 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.10 PLSR / Acceleration/Deceleration Setup Related devices 1. Instruction execution complet e flag 2. Monitoring the number of generated pulses The number of pulses output from Y000 or Y001 is stored in the following specia ...

  • Mitsubishi Electronics FXCPU - page 311

    12 Applied Instructi ons (High S peed Proces sing) 309 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External D ...

  • Mitsubishi Electronics FXCPU - page 312

    12 Applied Instructi ons (High S peed Proces sing) 310 FXCPU Structured Programming Manual [Basic & Applied Instruction] 12.10 PLSR / Acceleration/Deceleration Setup • The pulse output is controlled by the dedicated hardware not affected by the sequence program (operation cycle). • If the command input is set to OFF during continuous pulse ...

  • Mitsubishi Electronics FXCPU - page 313

    13 Applied Instructio ns (Handy Ins truction) 311 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External Device ...

  • Mitsubishi Electronics FXCPU - page 314

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 312 FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.1 IST / Initial State Outline This is a comm and for cont rolling the init ial stat e and special a uxiliary relay aut omatically in a program by stepladder. 1. Format and operation, execution form 2. ...

  • Mitsubishi Electronics FXCPU - page 315

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 313 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 316

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 314 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. Devices designated in and sw itches to be used Not all mode selection switches are used. Vacant numbers (not usable in other applications) are designated in switches not in use. 2. Program seq ...

  • Mitsubishi Electronics FXCPU - page 317

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 315 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 318

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 316 FXCPU Structured Programming Manual [Basic & Applied Instruction] IST command introduction examples (examp les of work transfer mechanism) 1. Operation mode 2. Transfer mechanism The home positio n is the upper left corner , and the work is sequ entially trans ferred fr ...

  • Mitsubishi Electronics FXCPU - page 319

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 317 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 320

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 318 FXCPU Structured Programming Manual [Basic & Applied Instruction] 4. Special a uxiliary rela ys for IST c ommand(M) Auxiliary relays (M) used in IST co mmand are divided into those controlled automatically by the command depending on the circumstances, an d others that ...

  • Mitsubishi Electronics FXCPU - page 321

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 319 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 322

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 320 FXCPU Structured Programming Manual [Basic & Applied Instruction] c) Return to home position Program is not required when return home mode is not available. However, befo re automatic operation, return home end M8043 must be once set. SET EN ENO d M8043 [Structured ladd ...

  • Mitsubishi Electronics FXCPU - page 323

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 321 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 324

    13 Applied Instructio ns (Handy Ins truction) 13.1 IST / Init ial State 322 FXCPU Structured Programming Manual [Basic & Applied Instruction] SET EN ENO d [Structured ladder/FBD] X003 Y000 STL EN ENO SET EN ENO d SET EN ENO S24 STL EN s ENO S24 s d STL EN ENO RST EN ENO d Y002 X002 STL EN ENO SET EN ENO S25 Y001 S27 Right limit S26 d S23 Upper ...

  • Mitsubishi Electronics FXCPU - page 325

    13 Applied Instructio ns (Handy Ins truction) 13.2 SER / Search a Data Stack 323 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied ...

  • Mitsubishi Electronics FXCPU - page 326

    13 Applied Instructio ns (Handy Ins truction) 13.2 SER / Search a Data Stack 324 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation In n pieces of data beginning from the device designated in , same data as the device designated in is searched, and the result is stored in the ...

  • Mitsubishi Electronics FXCPU - page 327

    13 Applied Instructio ns (Handy Ins truction) 13.2 SER / Search a Data Stack 325 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied ...

  • Mitsubishi Electronics FXCPU - page 328

    13 Applied Instructio ns (Handy Ins truction) 13.2 SER / Search a Data Stack 326 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. Comparison of magnitude To be calculated algebraically. (-10 < 2) 2. When minimum value and maximum value are present in a plurality If there are a pluralit y of minimu m valu e and ma ...

  • Mitsubishi Electronics FXCPU - page 329

    13 Applied Instructio ns (Handy Ins truction) 13.3 ABSD / Absolute Drum Sequencer 327 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Ap ...

  • Mitsubishi Electronics FXCPU - page 330

    13 Applied Instructio ns (Handy Ins truction) 13.3 ABSD / Absolute Drum Sequencer 328 FXCPU Structured Programming Manual [Basic & Applied Instruction] IST command equivalent circuit 1. 16-bit operation(ABSD) This is an example for explaining t he ON/OFF control of the output by one revolutio n of table (0 to 360 degrees). (Rotation angle signa ...

  • Mitsubishi Electronics FXCPU - page 331

    13 Applied Instructio ns (Handy Ins truction) 13.3 ABSD / Absolute Drum Sequencer 329 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Ap ...

  • Mitsubishi Electronics FXCPU - page 332

    13 Applied Instructio ns (Handy Ins truction) 13.3 ABSD / Absolute Drum Sequencer 330 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. Designation of high speed counter DABSD command can designate a high-speed counter in the device designated in . When the high-speed counter is specified, as c ompared with the count ...

  • Mitsubishi Electronics FXCPU - page 333

    13 Applied Instructio ns (Handy Ins truction) 13.4 INCD / Incrementa l Drum Sequencer 331 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 1 ...

  • Mitsubishi Electronics FXCPU - page 334

    13 Applied Instructio ns (Handy Ins truction) 13.4 INCD / Incrementa l Drum Sequencer 332 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(INCD) Data table (n lines × 1 p oint occupied) of n lines from the device designated in is compared with th e present value o f the co ...

  • Mitsubishi Electronics FXCPU - page 335

    13 Applied Instructio ns (Handy Ins truction) 13.4 INCD / Incrementa l Drum Sequencer 333 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 1 ...

  • Mitsubishi Electronics FXCPU - page 336

    13 Applied Instructio ns (Handy Ins truction) 13.5 TTMR / Teaching Timer 334 FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.5 TTMR / Teaching Timer Outline This is a command for measuring the ON duration of TTMR command. This is used when adjusting the timer setting time by pushbutton. 1. Format and operation, execution fo ...

  • Mitsubishi Electronics FXCPU - page 337

    13 Applied Instructio ns (Handy Ins truction) 13.5 TTMR / Teaching Timer 335 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 338

    13 Applied Instructio ns (Handy Ins truction) 13.5 TTMR / Teaching Timer 336 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples Write teaching time in ten data registers. Set values should be preliminarily written in D400 to D409. M8000 RUN monitor Timer selection by digital switch The input of one-digit digital ...

  • Mitsubishi Electronics FXCPU - page 339

    13 Applied Instructio ns (Handy Ins truction) 13.6 STMR / Specia l Timer 337 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 340

    13 Applied Instructio ns (Handy Ins truction) 13.6 STMR / Specia l Timer 338 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(STMR) The value desi gnated in m is determ ined as the set valu e for the timer of the de vice designate d in , and is issued to four points from th ...

  • Mitsubishi Electronics FXCPU - page 341

    13 Applied Instructio ns (Handy Ins truction) 13.6 STMR / Specia l Timer 339 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 342

    13 Applied Instructio ns (Handy Ins truction) 13.7 ALT / Alternate State 340 FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.7 ALT / Alternate State Outline This is the command for inverting the bit device (ON to OFF, OFF to ON) when the input is turned ON. 1. Format and operation, execution form 2. Set da ta 3. Applicable ...

  • Mitsubishi Electronics FXCPU - page 343

    13 Applied Instructio ns (Handy Ins truction) 13.7 ALT / Alternate State 341 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 344

    13 Applied Instructio ns (Handy Ins truction) 13.7 ALT / Alternate State 342 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Flicker operation 1) When the input X006 is turned ON, the contact of timer T2 operates momentarily in every 5 seconds. 2) Every time the contact of T2 is turned ON, the output Y007 is alternately tur ...

  • Mitsubishi Electronics FXCPU - page 345

    13 Applied Instructio ns (Handy Ins truction) 13.8 RAMP / Ramp Varia ble Value 343 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 346

    13 Applied Instructio ns (Handy Ins truction) 13.8 RAMP / Ramp Varia ble Value 344 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(RAMP) The starting value and the desired end value are designated in and , and when the command input is turned ON, the value equ ally divided ...

  • Mitsubishi Electronics FXCPU - page 347

    13 Applied Instructio ns (Handy Ins truction) 13.8 RAMP / Ramp Varia ble Value 345 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 348

    13 Applied Instructio ns (Handy Ins truction) 13.9 ROTC / Rotary Tabl e Control 346 FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.9 ROTC / Rotary Table Control Outline This is a command suited for turning the table by a shortcut route depending on the demanding window when putting on or taking out articles on the rotary t ...

  • Mitsubishi Electronics FXCPU - page 349

    13 Applied Instructio ns (Handy Ins truction) 13.9 ROTC / Rotary Tabl e Control 347 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appl ...

  • Mitsubishi Electronics FXCPU - page 350

    13 Applied Instructio ns (Handy Ins truction) 13.9 ROTC / Rotary Tabl e Control 348 FXCPU Structured Programming Manual [Basic & Applied Instruction] Operation condition The condition necessary for using this command is as shown in the example below. 1) Rotation detection signal: X → a) Please install two-phase switch (X000, X001) for de tect ...

  • Mitsubishi Electronics FXCPU - page 351

    13 Applied Instructio ns (Handy Ins truction) 13.10 SORT / SORT Tabulated Data 349 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 352

    13 Applied Instructio ns (Handy Ins truction) 13.10 SORT / SORT Tabulated Data 350 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(SORT) This command reshuffles the data table (reshuffling origin) composed of (m1 × m2) points from the device designated in in the ascending ...

  • Mitsubishi Electronics FXCPU - page 353

    13 Applied Instructio ns (Handy Ins truction) 13.10 SORT / SORT Tabulated Data 351 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 354

    14 Applied Instruc tions (External FX I/O Device) 352 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14. Applied Instructions (External FX I/O Device) This chapter introduces t he instructions to rec eive data from and se nd data to extern al devices mainly using inputs and outputs in PLCs. Instruction name Function Refere nc ...

  • Mitsubishi Electronics FXCPU - page 355

    14 Applied Instruc tions (External FX I/O Device) 14.1 TKY / Ten Key Input 353 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied I ...

  • Mitsubishi Electronics FXCPU - page 356

    14 Applied Instruc tions (External FX I/O Device) 14.1 TKY / Ten Key Input 354 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(TKY) By pressing key from the input for connec ting the numeric keys ( device designated in ), the entered numerical value i s stored in the devic ...

  • Mitsubishi Electronics FXCPU - page 357

    14 Applied Instruc tions (External FX I/O Device) 14.1 TKY / Ten Key Input 355 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied I ...

  • Mitsubishi Electronics FXCPU - page 358

    14 Applied Instruc tions (External FX I/O Device) 14.1 TKY / Ten Key Input 356 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples This is an explanatio n of an example in which the in put X000 is the beginni ng, and numeric keys 0 to 9 are connected. 1. Program 2. Wiring diagram This wiring diagram is an example ...

  • Mitsubishi Electronics FXCPU - page 359

    14 Applied Instruc tions (External FX I/O Device) 14.2 HKY / Hexadecimal Input 357 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 360

    14 Applied Instruc tions (External FX I/O Device) 14.2 HKY / Hexadecimal Input 358 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(HKY) The numerical value scanned by the signals of the input for connecting 16 keys (0 to F) (device designated in ) and the row o utput (devi ...

  • Mitsubishi Electronics FXCPU - page 361

    14 Applied Instruc tions (External FX I/O Device) 14.2 HKY / Hexadecimal Input 359 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 362

    14 Applied Instruc tions (External FX I/O Device) 14.2 HKY / Hexadecimal Input 360 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. Limit of number of times of use of command Only one of HKY command and DHKY command can be used in the program. If desired to use plural times, you can progr am by the index modifier (V ...

  • Mitsubishi Electronics FXCPU - page 363

    14 Applied Instruc tions (External FX I/O Device) 14.3 DSW / Digital Switch (Thumb wheel Input) 361 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O ...

  • Mitsubishi Electronics FXCPU - page 364

    14 Applied Instruc tions (External FX I/O Device) 14.3 DSW / Digital Switch (Thumb wheel Input) 362 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(DSW) The value of digital switch connected to the device designated in is processed by time divisio n (entered sequentially f ...

  • Mitsubishi Electronics FXCPU - page 365

    14 Applied Instruc tions (External FX I/O Device) 14.3 DSW / Digital Switch (Thumb wheel Input) 363 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O ...

  • Mitsubishi Electronics FXCPU - page 366

    14 Applied Instruc tions (External FX I/O Device) 14.3 DSW / Digital Switch (Thumb wheel Input) 364 FXCPU Structured Programming Manual [Basic & Applied Instruction] 4. Method of using by relay output type You can also use the relay output type PLC by providing with "digital switch reading input." When pushbutton (X000) is pressed, th ...

  • Mitsubishi Electronics FXCPU - page 367

    14 Applied Instruc tions (External FX I/O Device) 14.4 SEGD / Sev en Segment Deco der 365 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 1 ...

  • Mitsubishi Electronics FXCPU - page 368

    14 Applied Instruc tions (External FX I/O Device) 14.4 SEGD / Sev en Segment Deco der 366 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. 7-segement decoding table Cautions 1) Number of bits occupied Lower 8 bits from the output of the device designated in are occupied, and the upper 8 bits are not changed. 2) Some restrict ...

  • Mitsubishi Electronics FXCPU - page 369

    14 Applied Instruc tions (External FX I/O Device) 14.5 SEGL / Seven Segment Wit h Latch 367 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 370

    14 Applied Instruc tions (External FX I/O Device) 14.5 SEGL / Seven Segment Wit h Latch 368 FXCPU Structured Programming Manual [Basic & Applied Instruction] When using 4 digits and 1 set(n=K0 to K3) → As for selection of "n", refer to section 14.5.2. 1) Data and strobe signal The 4-digit numerical value of is converte d from BIN t ...

  • Mitsubishi Electronics FXCPU - page 371

    14 Applied Instruc tions (External FX I/O Device) 14.5 SEGL / Seven Segment Wit h Latch 369 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 372

    14 Applied Instruc tions (External FX I/O Device) 14.5 SEGL / Seven Segment Wit h Latch 370 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14.5.1 Selection procedure of 7-segment display unit You can select the 7-s egment displa y unit depending on t he electric al content by referring to the examp le below. → As for the ac ...

  • Mitsubishi Electronics FXCPU - page 373

    14 Applied Instruc tions (External FX I/O Device) 14.5 SEGL / Seven Segment Wit h Latch 371 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 374

    14 Applied Instruc tions (External FX I/O Device) 14.6 ARWS / Arrow Switch 372 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14.6 ARWS / Arrow Switch Outline This instruction enters data by arrow switches for di git move and increase and decrease of numerical value of each digit. 1. Format and operation, execution form 2. Se ...

  • Mitsubishi Electronics FXCPU - page 375

    14 Applied Instruc tions (External FX I/O Device) 14.6 ARWS / Arrow Switch 373 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied I ...

  • Mitsubishi Electronics FXCPU - page 376

    14 Applied Instruc tions (External FX I/O Device) 14.6 ARWS / Arrow Switch 374 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. Setting of parameter n Refer to the parameter setting of SEGL instruction. However, the setting range is 0 to 3. 2. Output format of PLC Use the PLC of transistor output type. 3. Scan time ...

  • Mitsubishi Electronics FXCPU - page 377

    14 Applied Instruc tions (External FX I/O Device) 14.6 ARWS / Arrow Switch 375 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied I ...

  • Mitsubishi Electronics FXCPU - page 378

    14 Applied Instruc tions (External FX I/O Device) 14.7 ASC / ASCII Code Data I nput 376 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14.7 ASC / ASCII Code Data Input Outline This instruction converts the 1-byte alphanumeric character string into ASCII code. This is used when selecting and displaying plural messages in the e ...

  • Mitsubishi Electronics FXCPU - page 379

    14 Applied Instruc tions (External FX I/O Device) 14.7 ASC / ASCII Code Data I nput 377 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 380

    14 Applied Instruc tions (External FX I/O Device) 14.8 PR / Print (ASCII Code) 378 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14.8 PR / Print (ASCII Code) Outline This instruction performs parallel output of ASCII code data to the output (Y). 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : R ...

  • Mitsubishi Electronics FXCPU - page 381

    14 Applied Instruc tions (External FX I/O Device) 14.8 PR / Print (ASCII Code) 379 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 382

    14 Applied Instruc tions (External FX I/O Device) 14.8 PR / Print (ASCII Code) 380 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) Timing chart (When M8027=ON) Related devices *1. Cleared when changed from RUN to STOP. Cautions 1. Command input and operation of instruction Command input=ON : Even in the midst of continuous ...

  • Mitsubishi Electronics FXCPU - page 383

    14 Applied Instruc tions (External FX I/O Device) 14.9 FROM / Read From A Special Fu nction Block 381 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I ...

  • Mitsubishi Electronics FXCPU - page 384

    14 Applied Instruc tions (External FX I/O Device) 14.9 FROM / Read From A Special Fu nction Block 382 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Applicable devices S : Refer to "Cautions". Function and operation explanation 1. 16-bit operation (FROM, FROMP) → As for the common terms of FROM/TO instruction, ...

  • Mitsubishi Electronics FXCPU - page 385

    14 Applied Instruc tions (External FX I/O Device) 14.9 FROM / Read From A Special Fu nction Block 383 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I ...

  • Mitsubishi Electronics FXCPU - page 386

    14 Applied Instruc tions (External FX I/O Device) 14.9 FROM / Read From A Special Fu nction Block 384 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14.9.1 Common terms of FROM /TO instruction (detail) Specification content of operand 1. Unit number n1 of special extension unit/block Unit number is used for specifying which e ...

  • Mitsubishi Electronics FXCPU - page 387

    14 Applied Instruc tions (External FX I/O Device) 14.9 FROM / Read From A Special Fu nction Block 385 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I ...

  • Mitsubishi Electronics FXCPU - page 388

    14 Applied Instruc tions (External FX I/O Device) 14.10 TO / Write To A Special Funct ion Block 386 FXCPU Structured Programming Manual [Basic & Applied Instruction] 14.10 TO / Write To A Sp ecial Function Block Outline This instruction writes data from PLC into the buffer memory (BFM) of special extension unit/block. By this instruction, when ...

  • Mitsubishi Electronics FXCPU - page 389

    14 Applied Instruc tions (External FX I/O Device) 14.10 TO / Write To A Special Funct ion Block 387 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O ...

  • Mitsubishi Electronics FXCPU - page 390

    14 Applied Instruc tions (External FX I/O Device) 14.10 TO / Write To A Special Funct ion Block 388 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) About bit device digit specification to be specified by Specify K1 to K4 in the case of 16-bit operation instruction, or K1 to K8 in the case of 32-bit operation. 2) Th ...

  • Mitsubishi Electronics FXCPU - page 391

    15 Applied Instructions (E xter nal Device (optional device) ) 389 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions ...

  • Mitsubishi Electronics FXCPU - page 392

    15 Applied Instructions (E xter nal Device (optional device) ) 15.1 RS / Serial Communi cation 390 FXCPU Structured Programming Manual [Basic & Applied Instruction] 15.1 RS / Serial Communication Outline This instruction sends and receives data in no-protocol communication by way of a serial port (only the ch1) in accordance with RS-232C or RS- ...

  • Mitsubishi Electronics FXCPU - page 393

    15 Applied Instructions (E xter nal Device (optional device) ) 15.1 RS / Serial Communi cation 391 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O ...

  • Mitsubishi Electronics FXCPU - page 394

    15 Applied Instructions (E xter nal Device (optional device) ) 15.1 RS / Serial Communi cation 392 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions → For other cautions, ref er to the Data Comm unication Edition manual. 1) RS instruction can be used for ch1 only (cannot be used for ch0 *1 and ch2 *1 ). 2) Do not driv ...

  • Mitsubishi Electronics FXCPU - page 395

    15 Applied Instructions (E xter nal Device (optional device) ) 15.2 PRUN / Parallel Run (Octal Mode) 393 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External F ...

  • Mitsubishi Electronics FXCPU - page 396

    15 Applied Instructions (E xter nal Device (optional device) ) 15.2 PRUN / Parallel Run (Octal Mode) 394 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operati on(PRUN, PRUNP) From octal number bit d evice to decimal number bit device From decimal number bit device to octal number ...

  • Mitsubishi Electronics FXCPU - page 397

    15 Applied Instructions (E xter nal Device (optional device) ) 15.3 ASCI / Hexadecimal to ASCII Conversi on 395 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Ext ...

  • Mitsubishi Electronics FXCPU - page 398

    15 Applied Instructions (E xter nal Device (optional device) ) 15.3 ASCI / Hexadecimal to ASCII Conversi on 396 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. <16-bit conversion mode> When M816 1=OFF( M8161 is used commonly with RS, H EX, CCD, CRC instructions) Each digit of HEX data stored after the device specified ...

  • Mitsubishi Electronics FXCPU - page 399

    15 Applied Instructions (E xter nal Device (optional device) ) 15.3 ASCI / Hexadecimal to ASCII Conversi on 397 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Ext ...

  • Mitsubishi Electronics FXCPU - page 400

    15 Applied Instructions (E xter nal Device (optional device) ) 15.3 ASCI / Hexadecimal to ASCII Conversi on 398 FXCPU Structured Programming Manual [Basic & Applied Instruction] Devices after (D100)=0ABCH (D101)=1234H (D102)=5678H Number of digits (characters) sp ecified and result of conversion Bit composition in the case of n=K2 • When issu ...

  • Mitsubishi Electronics FXCPU - page 401

    15 Applied Instructions (E xter nal Device (optional device) ) 15.4 HEX / ASCII to Hexadecimal Conversi on 399 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Exte ...

  • Mitsubishi Electronics FXCPU - page 402

    15 Applied Instructions (E xter nal Device (optional device) ) 15.4 HEX / ASCII to Hexadecimal Conversi on 400 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. <16-bit conversion mode> When M8161=OFF(M8161 is used commonly with RS, ASCI, CCD, CRC instructions) ASCII characters stored in higher and lower 8 bits (bytes) ...

  • Mitsubishi Electronics FXCPU - page 403

    15 Applied Instructions (E xter nal Device (optional device) ) 15.4 HEX / ASCII to Hexadecimal Conversi on 401 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Exte ...

  • Mitsubishi Electronics FXCPU - page 404

    15 Applied Instructions (E xter nal Device (optional device) ) 15.4 HEX / ASCII to Hexadecimal Conversi on 402 FXCPU Structured Programming Manual [Basic & Applied Instruction] Conversion source data Number of characters specified and result of conversion "." is 0. • When the input data is BCD, after execution of this instruction, y ...

  • Mitsubishi Electronics FXCPU - page 405

    15 Applied Instructions (E xter nal Device (optional device) ) 15.5 CCD / Check Code 403 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 406

    15 Applied Instructions (E xter nal Device (optional device) ) 15.5 CCD / Check Code 404 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. <16-bit conversion mode> When M816 1=OFF(M8161 is used commonly with RS, A SCI, HEX, CRC instructions) Of the data of n points starting from the device specified by , the addition da ...

  • Mitsubishi Electronics FXCPU - page 407

    15 Applied Instructions (E xter nal Device (optional device) ) 15.5 CCD / Check Code 405 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 408

    15 Applied Instructions (E xter nal Device (optional device) ) 15.6 VRRD / Volume Read 406 FXCPU Structured Programming Manual [Basic & Applied Instruction] 15.6 VRRD / Volume Read Outline This instruction reads out the value determined by the variable resistor. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refe ...

  • Mitsubishi Electronics FXCPU - page 409

    15 Applied Instructions (E xter nal Device (optional device) ) 15.6 VRRD / Volume Read 407 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 410

    15 Applied Instructions (E xter nal Device (optional device) ) 15.6 VRRD / Volume Read 408 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example Variable resistor values are read out sequentially. Depending on variable resistors VR0 to VR7, the specified values of VRRD instruction are K0 to K7. In the example below, ...

  • Mitsubishi Electronics FXCPU - page 411

    15 Applied Instructions (E xter nal Device (optional device) ) 15.7 VRSC / Volume Scale 409 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 412

    15 Applied Instructions (E xter nal Device (optional device) ) 15.7 VRSC / Volume Scale 410 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) The FX 1NC , FX 2NC and FX 3GC PLCs are not provided with variable resistors for reading out by this instruction, and hence do not function even if programmed. 2) In FX 3S PLCs ...

  • Mitsubishi Electronics FXCPU - page 413

    15 Applied Instructions (E xter nal Device (optional device) ) 15.8 RS2 / Seria l Communic ation 2 411 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX ...

  • Mitsubishi Electronics FXCPU - page 414

    15 Applied Instructions (E xter nal Device (optional device) ) 15.8 RS2 / Seria l Communic ation 2 412 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation(RS2) This instruction transmits and receives data by no- procedure communication v ia serial port of RS-232C or RS-485 ins ...

  • Mitsubishi Electronics FXCPU - page 415

    15 Applied Instructions (E xter nal Device (optional device) ) 15.8 RS2 / Seria l Communic ation 2 413 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX ...

  • Mitsubishi Electronics FXCPU - page 416

    15 Applied Instructions (E xter nal Device (optional device) ) 15.9 PID / PID Control Loop 414 FXCPU Structured Programming Manual [Basic & Applied Instruction] 15.9 PID / PID Control Loop Outline This instruction executes PID control for changin g the output values de pending on the chang e value of the input. → As for the detail, refer to t ...

  • Mitsubishi Electronics FXCPU - page 417

    15 Applied Instructions (E xter nal Device (optional device) ) 15.9 PID / PID Control Loop 415 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devi ...

  • Mitsubishi Electronics FXCPU - page 418

    15 Applied Instructions (E xter nal Device (optional device) ) 15.9 PID / PID Control Loop 416 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. + 20 to + 24 will be occupied in the case of bit1 = 1, bit2 = 1, or bit5 = 1 of + 1 action setting (ACT) *2. FX 2N , FX 2NC , FX 1N , FX 1NC , FX 1S , FX U , FX 2C PLCs are not usab ...

  • Mitsubishi Electronics FXCPU - page 419

    15 Applied Instructions (E xter nal Device (optional device) ) 15.9 PID / PID Control Loop 417 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devi ...

  • Mitsubishi Electronics FXCPU - page 420

    16 Applied Instructio ns (External Device) 418 FXCPU Structured Programming Manual [Basic & Applied Instruction] 16. Applied Instructions (External Device) This chapter introduces the instructions for control of F 2 PLC special extension equipment. Instruction name Function Refere nce MNET F-16NP/NT co mmunication Section 16.1 MNETP ANRD Read f ...

  • Mitsubishi Electronics FXCPU - page 421

    16 Applied Instructio ns (External Device) 16.1 MNET / F-16NP/NT communication 419 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 422

    16 Applied Instructio ns (External Device) 16.1 MNET / F-16NP/NT communication 420 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) In the case of FX-16NP/NT, FX-16NP/NT-S3 type interface block, this instruction is not used, and FX 2 - 24EI is not needed. 2) The instruction is not provided in the FX U and FX 2C PLCs ...

  • Mitsubishi Electronics FXCPU - page 423

    16 Applied Instructio ns (External Device) 16.2 ANRD / Read from F2-6A 421 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 424

    16 Applied Instructio ns (External Device) 16.2 ANRD / Read from F2-6A 422 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example This is intended to determine the average of three poin ts of time series data in 100 ms unit in order to suppress fluctuations of the analog input. [Structured ladder/FBD] M8000 RUN monito ...

  • Mitsubishi Electronics FXCPU - page 425

    16 Applied Instructio ns (External Device) 16.3 ANWR / Write to F2-6A 423 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 426

    16 Applied Instructio ns (External Device) 16.4 RMST / F2-32RM start 424 FXCPU Structured Programming Manual [Basic & Applied Instruction] 16.4 RMST / F 2 -32RM start Outline This instruction gives sta rt signal from the PLC o r receives status info rmation, in the F 2 -32RM type programmable cam switch. 1. Format and operation, execution form ...

  • Mitsubishi Electronics FXCPU - page 427

    16 Applied Instructio ns (External Device) 16.5 RMWR / Wr ite to F2- 32RM 425 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied In ...

  • Mitsubishi Electronics FXCPU - page 428

    16 Applied Instructio ns (External Device) 16.5 RMWR / Wr ite to F2- 32RM 426 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation • This instruction sends output prohibit information from the PLC to the F 2 -32RM type programmable cam switch. • The content of the device specified by , is dete ...

  • Mitsubishi Electronics FXCPU - page 429

    16 Applied Instructio ns (External Device) 16.6 RMRD / Read from F2-32RM 427 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 430

    16 Applied Instructio ns (External Device) 16.6 RMRD / Read from F2-32RM 428 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation • This instruction reads out the ON/OFF state of output of the F 2 -32RM type programmable cam switch to the PLC. • The content of the device specified by , is dete ...

  • Mitsubishi Electronics FXCPU - page 431

    16 Applied Instructio ns (External Device) 16.7 RMMN / F2-32RM monitor 429 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 432

    16 Applied Instructio ns (External Device) 16.8 BLK / Specify F2-30GM 430 FXCPU Structured Programming Manual [Basic & Applied Instruction] 16.8 BLK / Specify F 2 -30GM Outline This instruction specifies the block number for the F 2 -30GM type pulse output unit from the PLC. 1. Format and operation, execution form 2. Set da ta 3. Applicable dev ...

  • Mitsubishi Electronics FXCPU - page 433

    16 Applied Instructio ns (External Device) 16.8 BLK / Specify F2-30GM 431 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 434

    16 Applied Instructio ns (External Device) 16.9 MCDE / F2-30GM code 432 FXCPU Structured Programming Manual [Basic & Applied Instruction] 16.9 MCDE / F 2 -30GM code Outline This instruction sends the M code numbers M0 to M77 to the PLC from the F 2 -30GM type pulse o utput unit. 1. Format and operation, execution form 2. Set da ta 3. Applicable ...

  • Mitsubishi Electronics FXCPU - page 435

    17 Applied Instructions (Data Transfer 2) 433 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External Device (op ...

  • Mitsubishi Electronics FXCPU - page 436

    17 Applied Instructions (Data Transfer 2) 17.1 ZPUSH / Batch St ore of Index Reg ister 434 FXCPU Structured Programming Manual [Basic & Applied Instruction] 17.1 ZPUSH / Batch Store of Index Register Outline This instruction temporarily retracts the present values of index registers V0 to V7, Z0 to Z7. To return the retracted present values to ...

  • Mitsubishi Electronics FXCPU - page 437

    17 Applied Instructions (Data Transfer 2) 17.1 ZPUSH / Batch St ore of Index Reg ister 435 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 438

    17 Applied Instructions (Data Transfer 2) 17.1 ZPUSH / Batch St ore of Index Reg ister 436 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example This is a program fo r retracting the contents of index registers Z0 t o Z7, V0 to V7 before e xecution of subroutine program after D0, when using the index register in the ...

  • Mitsubishi Electronics FXCPU - page 439

    17 Applied Instructions (Data Transfer 2) 17.2 ZPOP / Batch POP of Index Register 437 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Ap ...

  • Mitsubishi Electronics FXCPU - page 440

    17 Applied Instructions (Data Transfer 2) 17.2 ZPOP / Batch POP of Index Register 438 FXCPU Structured Programming Manual [Basic & Applied Instruction] Related instructions Caution • The instruction is provided in the FX 3UC PLC Ver. 2.20 or later. Error It is an op eration error in the following case , and error fla g M8067 is t urned ON, an ...

  • Mitsubishi Electronics FXCPU - page 441

    18 Applied Instructi ons (Float ing Point) 439 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External Device (o ...

  • Mitsubishi Electronics FXCPU - page 442

    440 18 Applied Instructi ons (Float ing Point) FXCPU Structured Programming Manual [Basic & Applied Instruction] DRAD Floating Point Degre es to Radians Co nversion Section 18. 24 DRADP DDEG Floating Point Radians to Degrees Conve rsion S ection 18.2 5 DDEGP Instruction name Function Refere nce ...

  • Mitsubishi Electronics FXCPU - page 443

    18 Applied Instructi ons (Float ing Point) 18.1 DECMP / Floating Po int Compare 441 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appl ...

  • Mitsubishi Electronics FXCPU - page 444

    442 18 Applied Instructi ons (Float ing Point) 18.1 DECMP / Floating Po int Compare FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DECMP, DECMPP) The compared value spec ified by a nd the comparison source sp ecified by are compared as floating decimal point data, and de ...

  • Mitsubishi Electronics FXCPU - page 445

    18 Applied Instructi ons (Float ing Point) 18.2 DEZCP / Floating Poin t Zone Compare 443 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 446

    444 18 Applied Instructi ons (Float ing Point) 18.2 DEZCP / Floating Poin t Zone Compare FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DEZCP, DEZCPP) The compared value specif ied by , and the compa rison source specifie d by are compared a s floating decimal point data ...

  • Mitsubishi Electronics FXCPU - page 447

    18 Applied Instructi ons (Float ing Point) 18.3 DEMOV / Floating Point Move 445 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied ...

  • Mitsubishi Electronics FXCPU - page 448

    446 18 Applied Instructi ons (Float ing Point) 18.3 DEMOV / Floating Point Move FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DEMOV/DEMOVP) The content (binary floating decimal point data) of tran sfer source of device specified by is transferred to the device specified ...

  • Mitsubishi Electronics FXCPU - page 449

    18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on 447 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Externa ...

  • Mitsubishi Electronics FXCPU - page 450

    448 18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DESTR/DESTRP) The content (binary floating decimal point data) of the device specified by is converted into characte ...

  • Mitsubishi Electronics FXCPU - page 451

    18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on 449 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Externa ...

  • Mitsubishi Electronics FXCPU - page 452

    450 18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. In the case of exponential type • The number of all digits that can be specifi ed by +1 is as follows. (Maximum: 24 digits) When the number of digits below decimal poi ...

  • Mitsubishi Electronics FXCPU - page 453

    18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on 451 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Externa ...

  • Mitsubishi Electronics FXCPU - page 454

    452 18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on FXCPU Structured Programming Manual [Basic & Applied Instruction] Error In the following cases, it is a n operation error, and error flag (M8067) is turned ON, and error code is stored in D8067. • When is not within the following range. ...

  • Mitsubishi Electronics FXCPU - page 455

    18 Applied Instructi ons (Float ing Point) 18.4 DESTR / Floating Po int to Character String Conversi on 453 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Externa ...

  • Mitsubishi Electronics FXCPU - page 456

    454 18 Applied Instructi ons (Float ing Point) 18.5 DEVAL / Character String to Float ing Point Conversion FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.5 DEVAL / Character String to Floating Point Conversion Outline This instruction converts the character string (A SCII code) into binary floating decimal point data. You ...

  • Mitsubishi Electronics FXCPU - page 457

    18 Applied Instructi ons (Float ing Point) 18.5 DEVAL / Character String to Float ing Point Conversion 455 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External ...

  • Mitsubishi Electronics FXCPU - page 458

    456 18 Applied Instructi ons (Float ing Point) 18.5 DEVAL / Character String to Float ing Point Conversion FXCPU Structured Programming Manual [Basic & Applied Instruction] b) In the case of exponential type • To be converted as positive value when "2BH" (+) is specified by the sign or the sign is omitted in the decimal point type. ...

  • Mitsubishi Electronics FXCPU - page 459

    18 Applied Instructi ons (Float ing Point) 18.5 DEVAL / Character String to Float ing Point Conversion 457 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External ...

  • Mitsubishi Electronics FXCPU - page 460

    458 18 Applied Instructi ons (Float ing Point) 18.5 DEVAL / Character String to Float ing Point Conversion FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example 1) This is a program for converting the character string stored after R0 when the X000 is turned ON, into binary floating decimal point, and storing in D0, D ...

  • Mitsubishi Electronics FXCPU - page 461

    18 Applied Instructi ons (Float ing Point) 18.6 DEBCD / Floa ting Point to Scien tific Notation Co nversion 459 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Ext ...

  • Mitsubishi Electronics FXCPU - page 462

    460 18 Applied Instructi ons (Float ing Point) 18.6 DEBCD / Floa ting Point to Scien tific Notation Co nversion FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DEBCD, DE BCDP) The binary floating decimal point of the device specified by is converted into decimal floating ...

  • Mitsubishi Electronics FXCPU - page 463

    18 Applied Instructi ons (Float ing Point) 18.7 DEBIN / Scient ific Notatio n to Floati ng Point Conversi on 461 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (Ex ...

  • Mitsubishi Electronics FXCPU - page 464

    462 18 Applied Instructi ons (Float ing Point) 18.7 DEBIN / Scient ific Notatio n to Floati ng Point Conversi on FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DEBIN, DEBINP) The decimal floating decimal point of the device specif ied by is converted into binary floating ...

  • Mitsubishi Electronics FXCPU - page 465

    18 Applied Instructi ons (Float ing Point) 18.8 DEADD / Floati ng Point Addit ion 463 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Ap ...

  • Mitsubishi Electronics FXCPU - page 466

    464 18 Applied Instructi ons (Float ing Point) 18.8 DEADD / Floati ng Point Addit ion FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) When the same devices are specified, the same device numbers can be specified in and and . In this case, when the continuous execution type instruction (DEADD) is used, it must be no ...

  • Mitsubishi Electronics FXCPU - page 467

    18 Applied Instructi ons (Float ing Point) 18.9 DESUB / Floating Po int Subtractio n 465 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 468

    466 18 Applied Instructi ons (Float ing Point) 18.9 DESUB / Floating Po int Subtractio n FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DESUB, DESUBP) The binary floating decimal point data in the device s pecified by are subtracted from the device specified by , and the ...

  • Mitsubishi Electronics FXCPU - page 469

    18 Applied Instructi ons (Float ing Point) 18.10 DEMUL / Floating Point Multiplication 467 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) ...

  • Mitsubishi Electronics FXCPU - page 470

    468 18 Applied Instructi ons (Float ing Point) 18.10 DEMUL / Floating Point Multiplication FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DEMUL, DEMULP) The binary floating decimal point data in the device specified by and in the device sp ecified by are multiplied, and ...

  • Mitsubishi Electronics FXCPU - page 471

    18 Applied Instructi ons (Float ing Point) 18.11 DEDIV / Floating Poin t Division 469 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Ap ...

  • Mitsubishi Electronics FXCPU - page 472

    470 18 Applied Instructi ons (Float ing Point) 18.11 DEDIV / Floating Poin t Division FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 32-bit operation (DEDIV, DEDIVP) The binary floating decimal point data in the device specified by and in the device sp ecified by are divided, and the resu ...

  • Mitsubishi Electronics FXCPU - page 473

    18 Applied Instructi ons (Float ing Point) 18.12 DEXP / Floating Po int Exponent 471 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 474

    472 18 Applied Instructi ons (Float ing Point) 18.12 DEXP / Floating Po int Exponent FXCPU Structured Programming Manual [Basic & Applied Instruction] Error In the following cases, it is an operation error, error flag (M8067) is turned ON, and error code is stored in D8067. • When the operation result is out of the following range. (Error cod ...

  • Mitsubishi Electronics FXCPU - page 475

    18 Applied Instructi ons (Float ing Point) 18.13 DLOGE / Floating Point Natu ral Logarithm 473 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devi ...

  • Mitsubishi Electronics FXCPU - page 476

    474 18 Applied Instructi ons (Float ing Point) 18.13 DLOGE / Floating Point Natu ral Logarithm FXCPU Structured Programming Manual [Basic & Applied Instruction] Error In the following cases, it is an operation error, error flag (M8067) is turned ON, and error code is stored in D8067. • When the value specified by is negative. (Error code: K67 ...

  • Mitsubishi Electronics FXCPU - page 477

    18 Applied Instructi ons (Float ing Point) 18.14 DLOG10 / Floating Point Common Log arithm 475 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devi ...

  • Mitsubishi Electronics FXCPU - page 478

    476 18 Applied Instructi ons (Float ing Point) 18.14 DLOG10 / Floating Point Common Log arithm FXCPU Structured Programming Manual [Basic & Applied Instruction] Error In the following cases, it is an operation error, error flag (M8067) is turned ON, and error code is stored in D8067. • When the value specified by is negative. (Error code: K67 ...

  • Mitsubishi Electronics FXCPU - page 479

    18 Applied Instructi ons (Float ing Point) 18.15 DESQR / Floating Poi nt Square Root 477 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 480

    478 18 Applied Instructi ons (Float ing Point) 18.15 DESQR / Floating Poi nt Square Root FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) The instruction is provided in the FX 3G PLC Ver. 1.10 or later. 2) Some restrictions to applicable devices. S 1: The FX 3G , FX 3GC , FX 3U and FX 3UC PLCs only are applicable. S ...

  • Mitsubishi Electronics FXCPU - page 481

    18 Applied Instructi ons (Float ing Point) 18.16 DENEG / Floating Point Negation 479 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 482

    480 18 Applied Instructi ons (Float ing Point) 18.17 INT / Floating Poi nt to Integer Conversion FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.17 INT / Floating Poin t to Integer Conversion Outline This instructi on converts the binary floati ng decimal point into BIN intege r in normal data type in th e PLC. (From binary ...

  • Mitsubishi Electronics FXCPU - page 483

    18 Applied Instructi ons (Float ing Point) 18.17 INT / Floating Poi nt to Integer Conversion 481 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O De ...

  • Mitsubishi Electronics FXCPU - page 484

    482 18 Applied Instructi ons (Float ing Point) 18.18 DSIN / Floati ng Point Sine FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.18 DSIN / Floating Point Sine Outline This instruction determines the SIN value of angle (RAD). → As for handling of floating d ecimal point, refer to FX Structured Prog ramming Manual [Device & ...

  • Mitsubishi Electronics FXCPU - page 485

    18 Applied Instructi ons (Float ing Point) 18.18 DSIN / Floati ng Point Sine 483 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied ...

  • Mitsubishi Electronics FXCPU - page 486

    484 18 Applied Instructi ons (Float ing Point) 18.19 DCOS / Floating Point Cosi ne FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.19 DCOS / Floating Point Cosine Outline This instruction determines the COS value of angle (RAD). → As for handling of floating d ecimal point, refer to FX Structured Prog ramming Manual [Devi ...

  • Mitsubishi Electronics FXCPU - page 487

    18 Applied Instructi ons (Float ing Point) 18.20 DTAN / Floating Point Tan gent 485 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appl ...

  • Mitsubishi Electronics FXCPU - page 488

    486 18 Applied Instructi ons (Float ing Point) 18.21 DASIN / Floating Point Arc Sine FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.21 DASIN / Floating Point Arc Sine Outline This instruction executes SIN -1 operation. → As for handling of floating d ecimal point, refer to FX Structured Prog ramming Manual [Device & ...

  • Mitsubishi Electronics FXCPU - page 489

    18 Applied Instructi ons (Float ing Point) 18.21 DASIN / Floating Point Arc Sine 487 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 490

    488 18 Applied Instructi ons (Float ing Point) 18.22 DACOS / Floating Poin t Arc Cosine FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.22 DACOS / Floating Point Arc Cosine Outline This instruction executes COS -1 operation. → As for handling of floating d ecimal point, refer to FX Structured Prog ramming Manual [Device & ...

  • Mitsubishi Electronics FXCPU - page 491

    18 Applied Instructi ons (Float ing Point) 18.22 DACOS / Floating Poin t Arc Cosine 489 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 492

    490 18 Applied Instructi ons (Float ing Point) 18.23 DATAN / Floating Point Arc Tangent FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.23 DATAN / Floating Point Arc Tangent Outline This instruction executes TAN -1 operation. → As for handling of floating d ecimal point, refer to FX Structured Prog ramming Manual [Device ...

  • Mitsubishi Electronics FXCPU - page 493

    18 Applied Instructi ons (Float ing Point) 18.23 DATAN / Floating Point Arc Tangent 491 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 494

    492 18 Applied Instructi ons (Float ing Point) 18.24 DRAD / Floating Po int Degrees to Radian s Conversion FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.24 DRAD / Floating Point De grees to Radians Conversion Outline This instruction converts the value of angle unit to the radian unit. → As for handling of floating d ec ...

  • Mitsubishi Electronics FXCPU - page 495

    18 Applied Instructi ons (Float ing Point) 18.24 DRAD / Floating Po int Degrees to Radian s Conversion 493 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External ...

  • Mitsubishi Electronics FXCPU - page 496

    494 18 Applied Instructi ons (Float ing Point) 18.25 DDEG / Floating Po int Radians to Degree s Conversion FXCPU Structured Programming Manual [Basic & Applied Instruction] 18.25 DDEG / Floating Point Ra dians to Degrees Conversion Outline This instruction converts the radian unit value into the angle (DEG) unit. → As for handling of floating ...

  • Mitsubishi Electronics FXCPU - page 497

    18 Applied Instructi ons (Float ing Point) 18.25 DDEG / Floating Po int Radians to Degree s Conversion 495 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External ...

  • Mitsubishi Electronics FXCPU - page 498

    19 Applied Instructio ns (Data Operation 2) 496 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19. Applied Instructions (Data Operation 2) This chapter introduces the instructions for executing comp licated processing for fundamental applied instructions and for executing special processing. Instruction name Function Refere n ...

  • Mitsubishi Electronics FXCPU - page 499

    19 Applied Instructio ns (Data Operation 2) 19.1 WSUM / Sum of Word Data 497 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 500

    19 Applied Instructio ns (Data Operation 2) 19.1 WSUM / Sum of Word Data 498 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (WSUM/WSUMP) The total value of n points of 16-bit data from the device specified by is stored in the device specified by as 32-bit data. 2. 32-bit ...

  • Mitsubishi Electronics FXCPU - page 501

    19 Applied Instructio ns (Data Operation 2) 19.1 WSUM / Sum of Word Data 499 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 502

    19 Applied Instructio ns (Data Operation 2) 19.2 WTOB / WORD to BYTE 500 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19.2 WTOB / WORD to BYTE Outline This instruction separates continuous 16-bit data in byte (8-bit) unit. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices FX 3U(C) FX 3G(C) FX 3S FX ...

  • Mitsubishi Electronics FXCPU - page 503

    19 Applied Instructio ns (Data Operation 2) 19.2 WTOB / WORD to BYTE 501 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 504

    19 Applied Instructio ns (Data Operation 2) 19.2 WTOB / WORD to BYTE 502 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error In the following case, it is an operation error, error fla g M8067 is turned ON, and error code is stored in D8067. 1) When devices to +n/2 of separation source exceed the device range of specified dev ...

  • Mitsubishi Electronics FXCPU - page 505

    19 Applied Instructio ns (Data Operation 2) 19.3 BTO W / BYTE to WORD 503 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 506

    19 Applied Instructio ns (Data Operation 2) 19.3 BTO W / BYTE to WORD 504 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) Higher byte (8 bits) of 16-bit data (after ) in the coupling source is ignored. 3) When n is an odd number, as shown below, higher byte (8 bits) of the data coupled in the last place is set to 00H. For e ...

  • Mitsubishi Electronics FXCPU - page 507

    19 Applied Instructio ns (Data Operation 2) 19.3 BTO W / BYTE to WORD 505 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 508

    19 Applied Instructio ns (Data Operation 2) 19.4 UNI / 4-bit Linkin g of Word Data 506 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19.4 UNI / 4-bit Linking of Word Data Outline This instruction couples lower 4 bits of continuous 16-bit data. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices Functio ...

  • Mitsubishi Electronics FXCPU - page 509

    19 Applied Instructio ns (Data Operation 2) 19.4 UNI / 4-bit Linkin g of Word Data 507 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 A ...

  • Mitsubishi Electronics FXCPU - page 510

    19 Applied Instructio ns (Data Operation 2) 19.5 DIS / 4-bit Groupin g of Word Data 508 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19.5 DIS / 4-bit Gro uping of Word Data Outline This instruction separates 16-bit data in 4-bit unit. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices FX 3U(C) FX 3G( ...

  • Mitsubishi Electronics FXCPU - page 511

    19 Applied Instructio ns (Data Operation 2) 19.5 DIS / 4-bit Groupin g of Word Data 509 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 512

    19 Applied Instructio ns (Data Operation 2) 19.6 SWAP / Byte Swap 510 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19.6 S WAP / Byte Swap Outline This instruction swaps higher 8 bits and lower 8 bits of word data. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices S : Refer to "Cautions". F ...

  • Mitsubishi Electronics FXCPU - page 513

    19 Applied Instructio ns (Data Operation 2) 19.6 SWAP / Byte Swap 511 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 514

    19 Applied Instructio ns (Data Operation 2) 19.7 SORT2 / So rt Tabula ted Data 2 512 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19.7 SORT2 / Sort Tabulated Data 2 Outline This instruction sorts the da ta table composed of data (rows ) and group data (columns) in the ascen ding order/descending order in row unit on the bas ...

  • Mitsubishi Electronics FXCPU - page 515

    19 Applied Instructio ns (Data Operation 2) 19.7 SORT2 / So rt Tabula ted Data 2 513 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 516

    19 Applied Instructio ns (Data Operation 2) 19.7 SORT2 / So rt Tabula ted Data 2 514 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. 32-bit operation (DSORT2) This instruction sorts the data rows of data table (sorting source) of (m1 × m2) points from the device specified by in the ascending order/descendin g order on the ...

  • Mitsubishi Electronics FXCPU - page 517

    19 Applied Instructio ns (Data Operation 2) 19.7 SORT2 / So rt Tabula ted Data 2 515 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 App ...

  • Mitsubishi Electronics FXCPU - page 518

    19 Applied Instructio ns (Data Operation 2) 19.7 SORT2 / So rt Tabula ted Data 2 516 FXCPU Structured Programming Manual [Basic & Applied Instruction] Related devices → As for the manner of using th e instruction execution complete flag, refer to section 1.3.4. Related instructions Cautions 1) During operation, do not change the content of th ...

  • Mitsubishi Electronics FXCPU - page 519

    20 Applied Instructio ns (Positio ning Contro l) 517 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Instru ctions (External Dev ...

  • Mitsubishi Electronics FXCPU - page 520

    20 Applied Instructio ns (Positio ning Contro l) 20.1 DSZR / Dog Search Zero Return 518 FXCPU Structured Programming Manual [Basic & Applied Instruction] 20.1 DSZR / Dog Search Zero Return Outline This instruction matches the mechanical position and the current value register in the PLC by zero return. This instruction can perform following ope ...

  • Mitsubishi Electronics FXCPU - page 521

    20 Applied Instructio ns (Positio ning Contro l) 20.1 DSZR / Dog Search Zero Return 519 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 522

    20 Applied Instructio ns (Positio ning Contro l) 20.2 DVIT / Interrupt Po sitioning 520 FXCPU Structured Programming Manual [Basic & Applied Instruction] 20.2 DVIT / Interrupt Positioning Outline This instruction executes one-speed interrupt inching. → As for explanation of the instructio n, see the positioning control manual. → As for caut ...

  • Mitsubishi Electronics FXCPU - page 523

    20 Applied Instructio ns (Positio ning Contro l) 20.2 DVIT / Interrupt Po sitioning 521 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 ...

  • Mitsubishi Electronics FXCPU - page 524

    20 Applied Instructio ns (Positio ning Contro l) 20.2 DVIT / Interrupt Po sitioning 522 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Some restrictions to applicable devices. S 1: Please specify Y000, Y001, Y002 of transistor output of basic unit, or Y000, Y001, Y002 *2 , Y003 *2 of high speed output special adap ...

  • Mitsubishi Electronics FXCPU - page 525

    20 Applied Instructio ns (Positio ning Contro l) 20.3 DTBL / Batch Data Position ing Mode 523 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devic ...

  • Mitsubishi Electronics FXCPU - page 526

    20 Applied Instructio ns (Positio ning Contro l) 20.3 DTBL / Batch Data Position ing Mode 524 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) The instruction is provided in the FX 3UC PLC Ver. 2.20 or later. 2) Some restrictions to applicable devices. S 1: Please specify Y000, Y001, Y002 *1 of transistor output of ...

  • Mitsubishi Electronics FXCPU - page 527

    20 Applied Instructio ns (Positio ning Contro l) 20.4 DABS / Absolu te Current Value R ead 525 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devi ...

  • Mitsubishi Electronics FXCPU - page 528

    20 Applied Instructio ns (Positio ning Contro l) 20.4 DABS / Absolu te Current Value R ead 526 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) The instruction is provided in the FX 2N and FX 2NC PLCs Ver. 3.00 or later. 2) Since ABS data is read out in pulse converted value, please specify "Motor system" ...

  • Mitsubishi Electronics FXCPU - page 529

    20 Applied Instructio ns (Positio ning Contro l) 20.5 ZRN / Zero Return 527 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 530

    20 Applied Instructio ns (Positio ning Contro l) 20.5 ZRN / Zero Return 528 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation Cautions about writing during RUN Avoid writing during RUN aft er either of the following op erations in a ci rcuit block including the pulse output instruction or posit ...

  • Mitsubishi Electronics FXCPU - page 531

    20 Applied Instructio ns (Positio ning Contro l) 20.5 ZRN / Zero Return 529 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 532

    20 Applied Instructio ns (Positio ning Contro l) 20.5 ZRN / Zero Return 530 FXCPU Structured Programming Manual [Basic & Applied Instruction] 6) Specify the speed of return zero point in . The setting range is as follows. a) In the case of 16-bit operation •F X 3S , FX 3G , FX 3GC , FX 3U , FX 3UC PLCs 10 to 32,767 (Hz) •F X 1S , FX 1N PLCs ...

  • Mitsubishi Electronics FXCPU - page 533

    20 Applied Instructio ns (Positio ning Contro l) 20.6 PLSV / Variabl e Speed Pulse Output 531 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devic ...

  • Mitsubishi Electronics FXCPU - page 534

    20 Applied Instructio ns (Positio ning Contro l) 20.6 PLSV / Variabl e Speed Pulse Output 532 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions about writing during RUN Avoid writing during RUN aft er either of the following op erations in a ci rcuit block including the pulse output instruction or positioning instructio ...

  • Mitsubishi Electronics FXCPU - page 535

    20 Applied Instructio ns (Positio ning Contro l) 20.6 PLSV / Variabl e Speed Pulse Output 533 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Devic ...

  • Mitsubishi Electronics FXCPU - page 536

    20 Applied Instructio ns (Positio ning Contro l) 20.7 DRVI / Drive to Increment 534 FXCPU Structured Programming Manual [Basic & Applied Instruction] 20.7 DRVI / Drive to Increment Outline This instruction performs one-speed po sitioning by rela tive drive. The moving distance from the present position is spe cified togethe r with plus or min u ...

  • Mitsubishi Electronics FXCPU - page 537

    20 Applied Instructio ns (Positio ning Contro l) 20.7 DRVI / Drive to Increment 535 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appl ...

  • Mitsubishi Electronics FXCPU - page 538

    20 Applied Instructio ns (Positio ning Contro l) 20.7 DRVI / Drive to Increment 536 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) Some restrictions to applicable devices. S 1: <FX 3S , FX 3G , FX 3G C , FX 3U , FX 3UC PLCs> Please specify Y000, Y001, Y002 *1 of transistor output of basic unit, or Y000, Y001, Y002 *3 ...

  • Mitsubishi Electronics FXCPU - page 539

    20 Applied Instructio ns (Positio ning Contro l) 20.8 DRVA / Drive to Absolute 537 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 540

    20 Applied Instructio ns (Positio ning Contro l) 20.8 DRVA / Drive to Absolute 538 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions about writing during RUN Avoid writing during RUN aft er either of the following op erations in a ci rcuit block including the pulse output instruction or positioning instruction. • Chan ...

  • Mitsubishi Electronics FXCPU - page 541

    20 Applied Instructio ns (Positio ning Contro l) 20.8 DRVA / Drive to Absolute 539 FXCPU Structured Programming Manual [Basic & Applied Instruction] 11 Applied Instructi ons (Data Operat ion ) 12 Applied Instructio ns (High S peed Processing) 13 Applied Instructi ons (Handy Instruction) 14 Applied Instruct ions (External FX I/O Device) 15 Appli ...

  • Mitsubishi Electronics FXCPU - page 542

    21 Applie d Instructions (R eal Time C lock Contro l) 540 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21. Applied Instructions (Real Time Clock Control) This chapter introduces operation and comparison instructions for the time data. Instruction name Function Refere nce TCMP RTC Data Compare Section 21.1 TCMPP TZCP RTC Dat ...

  • Mitsubishi Electronics FXCPU - page 543

    21 Applie d Instructions (R eal Time C lock Contro l) 21.1 TCMP / RTC Data C ompare 541 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 544

    21 Applie d Instructions (R eal Time C lock Contro l) 21.1 TCMP / RTC Data C ompare 542 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (TCMP) The time of comparison time (hour, minute, second ) , , is compared with the time data (hour, minute, second ) of the dev ice spec ...

  • Mitsubishi Electronics FXCPU - page 545

    21 Applie d Instructions (R eal Time C lock Contro l) 21.1 TCMP / RTC Data C ompare 543 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 546

    21 Applie d Instructions (R eal Time C lock Contro l) 21.2 TZCP / RTC Data Zone Compare 544 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21.2 TZCP / RTC Data Zone Compare Outline The comparison time of higher and lower points and the time data are compared, and the bit device is turned ON or OFF depending on the magnitude o ...

  • Mitsubishi Electronics FXCPU - page 547

    21 Applie d Instructions (R eal Time C lock Contro l) 21.2 TZCP / RTC Data Zone Compare 545 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied ...

  • Mitsubishi Electronics FXCPU - page 548

    21 Applie d Instructions (R eal Time C lock Contro l) 21.2 TZCP / RTC Data Zone Compare 546 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example The range of "hour" is 0 to 23. The range of "minute" is 0 to 59. The range of "second" is 0 to 59. [Structured ladder/FBD] [ST] TZCP(X000,D20 ...

  • Mitsubishi Electronics FXCPU - page 549

    21 Applie d Instructions (R eal Time C lock Contro l) 21.3 TADD / RTC Data Addition 547 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 550

    21 Applie d Instructions (R eal Time C lock Contro l) 21.3 TADD / RTC Data Addition 548 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (TADD) Time data (hour, minute, second) of the device specified by , and time data (hour, minute, second) of the device specified by are ...

  • Mitsubishi Electronics FXCPU - page 551

    21 Applie d Instructions (R eal Time C lock Contro l) 21.4 TSUB / RTC Data Subtraction 549 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied I ...

  • Mitsubishi Electronics FXCPU - page 552

    21 Applie d Instructions (R eal Time C lock Contro l) 21.4 TSUB / RTC Data Subtraction 550 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (TSUB, TSUBP) From the time data (hour, minute, second) of the device specified by , the t ime data (hour, minut e, second) of the dev ...

  • Mitsubishi Electronics FXCPU - page 553

    21 Applie d Instructions (R eal Time C lock Contro l) 21.5 HTOS / Hour to Second Conversion 551 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appl ...

  • Mitsubishi Electronics FXCPU - page 554

    21 Applie d Instructions (R eal Time C lock Contro l) 21.5 HTOS / Hour to Second Conversion 552 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (HTOS/HTOSP) The time data (h our, minute , second) of the device sp ecified by is con verted into the second unit, and the resul ...

  • Mitsubishi Electronics FXCPU - page 555

    21 Applie d Instructions (R eal Time C lock Contro l) 21.5 HTOS / Hour to Second Conversion 553 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appl ...

  • Mitsubishi Electronics FXCPU - page 556

    21 Applie d Instructions (R eal Time C lock Contro l) 21.6 STOH / Second to Hour Conversion 554 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21.6 STOH / Second to Hour Conversion Outline This instruction converts the time data in second unit into time data in "hour, minute, second" unit. 1. Format and operation, e ...

  • Mitsubishi Electronics FXCPU - page 557

    21 Applie d Instructions (R eal Time C lock Contro l) 21.6 STOH / Second to Hour Conversion 555 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appl ...

  • Mitsubishi Electronics FXCPU - page 558

    21 Applie d Instructions (R eal Time C lock Contro l) 21.6 STOH / Second to Hour Conversion 556 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example This is a program for converting the se cond unit data stored in D0, D1 when the X020 is t urned ON, into the "hour, minute, second" unit, and storing the res ...

  • Mitsubishi Electronics FXCPU - page 559

    21 Applie d Instructions (R eal Time C lock Contro l) 21.7 TRD / Read RTC dat a 557 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru c ...

  • Mitsubishi Electronics FXCPU - page 560

    21 Applie d Instructions (R eal Time C lock Contro l) 21.7 TRD / Read RTC dat a 558 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (TRD) The clock data (D8013 to D8019) of the real-time clock built in t he PLC is read out into the device specified by in the following form ...

  • Mitsubishi Electronics FXCPU - page 561

    21 Applie d Instructions (R eal Time C lock Contro l) 21.8 TWR / Set RTC data 559 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 562

    21 Applie d Instructions (R eal Time C lock Contro l) 21.8 TWR / Set RTC data 560 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation The setting clock data stored in the device specified by is written into the clock data (D8013 to D8019) of the real-time clock built in the PLC. 1) D8018 (year da ...

  • Mitsubishi Electronics FXCPU - page 563

    21 Applie d Instructions (R eal Time C lock Contro l) 21.8 TWR / Set RTC data 561 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 564

    21 Applie d Instructions (R eal Time C lock Contro l) 21.8 TWR / Set RTC data 562 FXCPU Structured Programming Manual [Basic & Applied Instruction] 4) When connecting with the data access unit of FX-10DU, FX-20DU, FX-25DU types, please set the year in two-digit mode. If set in four-digit mode, the year is not displayed correctly in the present ...

  • Mitsubishi Electronics FXCPU - page 565

    21 Applie d Instructions (R eal Time C lock Contro l) 21.9 HOUR / Hour Met er 563 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 566

    21 Applie d Instructions (R eal Time C lock Contro l) 21.9 HOUR / Hour Met er 564 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation When the cumulative total of ON time durat ion of command input exceeds t he time of t he device specified by , the device specified by is turn ...

  • Mitsubishi Electronics FXCPU - page 567

    21 Applie d Instructions (R eal Time C lock Contro l) 21.9 HOUR / Hour Met er 565 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 568

    22 Applied Instructio ns (External Device) 566 FXCPU Structured Programming Manual [Basic & Applied Instruction] 22. Applied Instructions (External Device) This chapter introduces con version instructi ons for gray codes used in absolu te type rotary encoders and instructions dedicated to analog blocks. Instruction name Function Refere nce GRY ...

  • Mitsubishi Electronics FXCPU - page 569

    22 Applied Instructio ns (External Device) 22.1 GRY / Decim al to Gray Code Conversion 567 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied I ...

  • Mitsubishi Electronics FXCPU - page 570

    22 Applied Instructio ns (External Device) 22.1 GRY / Decim al to Gray Code Conversion 568 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (GRY, GRYP) 1) The device specified by can store a value from 0 to 32,767. 2. 32-bit operation (DGRY, DGRYP) 1) A binary value can be ...

  • Mitsubishi Electronics FXCPU - page 571

    22 Applied Instructio ns (External Device) 22.2 GBIN / Gray Code to Decimal Conversion 569 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied I ...

  • Mitsubishi Electronics FXCPU - page 572

    22 Applied Instructio ns (External Device) 22.2 GBIN / Gray Code to Decimal Conversion 570 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (GBIN, GBINP) 1) This instruction can be used for detecting an absolute position by a gray code type encoder. 2) The device specified ...

  • Mitsubishi Electronics FXCPU - page 573

    22 Applied Instructio ns (External Device) 22.3 RD3A / Read form Dedicated Analo g Block 571 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied ...

  • Mitsubishi Electronics FXCPU - page 574

    22 Applied Instructio ns (External Device) 22.3 RD3A / Read form Dedicated Analo g Block 572 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (RD3A, RD3AP) <For FX 3G , FX 3GC , FX 3U and FX 3UC PLCs> This instruction reads an analog input value from the analog block ...

  • Mitsubishi Electronics FXCPU - page 575

    22 Applied Instructio ns (External Device) 22.4 WR3A / Write to Dedicated An alog Block 573 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied ...

  • Mitsubishi Electronics FXCPU - page 576

    22 Applied Instructio ns (External Device) 22.4 WR3A / Write to Dedicated An alog Block 574 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (WR3A, WR3AP) <For FX 3G , FX 3GC , FX 3U and FX 3UC PLCs> This instruction writes a digital value to the analog block FX 0N -3 ...

  • Mitsubishi Electronics FXCPU - page 577

    23 Applied Instructions (Ex tension Function) 575 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Block Data Oper atio n) 26 ...

  • Mitsubishi Electronics FXCPU - page 578

    23 Applied Instructions (Ex tension Function) 23.1 EXTR_IN / Extern al ROM function 576 FXCPU Structured Programming Manual [Basic & Applied Instruction] 23.1 EXTR_IN / External ROM function Outline This instruction writes the operation control instructions and parameters of the memory for extension function. 1. Format and operation, execution ...

  • Mitsubishi Electronics FXCPU - page 579

    23 Applied Instructions (Ex tension Function) 23.1 EXTR_IN / Extern al ROM function 577 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 580

    23 Applied Instructions (Ex tension Function) 23.1 EXTR_IN / Extern al ROM function 578 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation2 (Writing inverter parameters) → For the details of the instruction, re fer to Commu nication Control Manual. This instruction is for using the optional me ...

  • Mitsubishi Electronics FXCPU - page 581

    23 Applied Instructions (Ex tension Function) 23.2 EXTR_OUT / External ROM funct ion 579 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 582

    23 Applied Instructions (Ex tension Function) 23.2 EXTR_OUT / External ROM funct ion 580 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanati on1 (Transmitting short mail) → For the details of the instruction, re fer to Commu nication Control Manual. This instruction is for using the optional memo ...

  • Mitsubishi Electronics FXCPU - page 583

    23 Applied Instructions (Ex tension Function) 23.2 EXTR_OUT / External ROM funct ion 581 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 584

    23 Applied Instructions (Ex tension Function) 23.2 EXTR_OUT / External ROM funct ion 582 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation3 (Reading inverter parameters) → For the details of the instruction, re fer to Commu nication Control Manual. This instruction is for using the optional m ...

  • Mitsubishi Electronics FXCPU - page 585

    24 Applied Instructi ons (Others) 583 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Block Data Oper atio n) 26 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 586

    24 Applied Instructi ons (Others) 24.1 COMRD / Read Device Comment Data 584 FXCPU Structured Programming Manual [Basic & Applied Instruction] 24.1 COMRD / Read Device Comment Data Outline This instruction reads the comment data for registered devices written to the PLC by programming software such as GX Works2. 1. Format and operation, executio ...

  • Mitsubishi Electronics FXCPU - page 587

    24 Applied Instructi ons (Others) 24.1 COMRD / Read Device Comment Data 585 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (B ...

  • Mitsubishi Electronics FXCPU - page 588

    24 Applied Instructi ons (Others) 24.1 COMRD / Read Device Comment Data 586 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Specify a device number in the device specified by for which a comment is registered in the PLC. If a comment is not registered for the device specified by , "20H" (space) is stored ...

  • Mitsubishi Electronics FXCPU - page 589

    24 Applied Instructi ons (Others) 24.2 RND / Random Number Generation 587 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Blo ...

  • Mitsubishi Electronics FXCPU - page 590

    24 Applied Instructi ons (Others) 24.2 RND / Random Number Generation 588 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples In the program example shown below, a random number is stored to D100 every time X01 0 turns ON. When the PLC mode switches from STOP to RUN, the time data conv erted into se conds and ad d ...

  • Mitsubishi Electronics FXCPU - page 591

    24 Applied Instructi ons (Others) 24.3 DUTY / Timing Pulse Generati on 589 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Bl ...

  • Mitsubishi Electronics FXCPU - page 592

    24 Applied Instructi ons (Others) 24.3 DUTY / Timing Pulse Generati on 590 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (DUTY) 1) The timing clock output of the device specified by is set to ON and OFF with the ON duration for "n1" scans and OFF duration for & ...

  • Mitsubishi Electronics FXCPU - page 593

    24 Applied Instructi ons (Others) 24.3 DUTY / Timing Pulse Generati on 591 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Bl ...

  • Mitsubishi Electronics FXCPU - page 594

    24 Applied Instructi ons (Others) 24.4 CRC / Cycl ic Redundancy Chec k 592 FXCPU Structured Programming Manual [Basic & Applied Instruction] 24.4 CRC / Cyclic Redundancy Check Outline This CRC instruction ca lculates the CRC (cyclic redundanc y check) va lue which is an e rror check method used in communication. In addition to CRC value, there ...

  • Mitsubishi Electronics FXCPU - page 595

    24 Applied Instructi ons (Others) 24.4 CRC / Cycl ic Redundancy Chec k 593 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Bl ...

  • Mitsubishi Electronics FXCPU - page 596

    24 Applied Instructi ons (Others) 24.4 CRC / Cycl ic Redundancy Chec k 594 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) 8-bit conversion mode [M8161 = ON] In this mode, the operatio n is executed only for low-order 8 bits (low-order byte ) of device specified by . With regard to t he operation result, low- order 8 bi ts ...

  • Mitsubishi Electronics FXCPU - page 597

    24 Applied Instructi ons (Others) 24.4 CRC / Cycl ic Redundancy Chec k 595 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Bl ...

  • Mitsubishi Electronics FXCPU - page 598

    24 Applied Instructi ons (Others) 24.5 DHCMOV / High Speed Count er Move 596 FXCPU Structured Programming Manual [Basic & Applied Instruction] 24.5 DHCMOV / High Speed Counter Move Outline This instruction transfers the current value of a specified high speed counter or ring counter. The function of this instruction varies depending on the PLC ...

  • Mitsubishi Electronics FXCPU - page 599

    24 Applied Instructi ons (Others) 24.5 DHCMOV / High Speed Count er Move 597 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 600

    24 Applied Instructi ons (Others) 24.5 DHCMOV / High Speed Count er Move 598 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3) If two or more DHCMOV instructions are used in one i nput interrupt program, only the first instruction (just after the interrupt pointer) is executed when the interrupt is generated. The rest of the ...

  • Mitsubishi Electronics FXCPU - page 601

    24 Applied Instructi ons (Others) 24.5 DHCMOV / High Speed Count er Move 599 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 602

    25 Applied Instructi ons (Block Data Operation) 600 FXCPU Structured Programming Manual [Basic & Applied Instruction] 25. Applied Instructions (Block Data Operation) This chapter introduces the instructions for adding, subtracting and comparing block data. Instruction name Function Refere nce BK+ Block Data A ddition Section 25.1 BK+P DBK+ DBK+ ...

  • Mitsubishi Electronics FXCPU - page 603

    25 Applied Instructi ons (Block Data Operation) 25.1 BK+ / Block Data Addi tion 601 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru c ...

  • Mitsubishi Electronics FXCPU - page 604

    25 Applied Instructi ons (Block Data Operation) 25.1 BK+ / Block Data Addi tion 602 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Applicable devices Function and operation explanation 1. 16-bit operation (BK+/BK+P) 1) "n" 16-bit binary data starting from the device sp ecified by are added to "n" 16-bit ...

  • Mitsubishi Electronics FXCPU - page 605

    25 Applied Instructi ons (Block Data Operation) 25.1 BK+ / Block Data Addi tion 603 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru c ...

  • Mitsubishi Electronics FXCPU - page 606

    25 Applied Instructi ons (Block Data Operation) 25.1 BK+ / Block Data Addi tion 604 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error An operation error is cause d in the following cases. The error flag M8067 turns ON, and the error code is stored in D8067. 1) When "n" ("2n" in 32-bit operation) devices ...

  • Mitsubishi Electronics FXCPU - page 607

    25 Applied Instructi ons (Block Data Operation) 25.2 BK- / Block Data Sub traction 605 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 608

    25 Applied Instructi ons (Block Data Operation) 25.2 BK- / Block Data Sub traction 606 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (BK-/BK-P) 1) "n" 16-bit binary data starting from the device spec ified by are subtracted from "n" 16-bit binary data ...

  • Mitsubishi Electronics FXCPU - page 609

    25 Applied Instructi ons (Block Data Operation) 25.2 BK- / Block Data Sub traction 607 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 610

    25 Applied Instructi ons (Block Data Operation) 25.2 BK- / Block Data Sub traction 608 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples In the program shown be low, the con stant "8765" is subt racted from the dat a stored in D100 to D102 wh en X010 is set to ON, and the operation result is stored in ...

  • Mitsubishi Electronics FXCPU - page 611

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 609 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 612

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 610 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. Refer to "Cautions". Instructio n name Operatio n Execution form Expression in each langua ge Structured ladde r/FBD ST *1 BKCMP<P 16 bits P ...

  • Mitsubishi Electronics FXCPU - page 613

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 611 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 614

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 612 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (BKCMP=, BKCMP> , BKCMP<, BKCMP<>, BKCMP< =, BKCMP>=, B KCMP=P, BKCMP>P, BK CMP&l ...

  • Mitsubishi Electronics FXCPU - page 615

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 613 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 616

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 614 FXCPU Structured Programming Manual [Basic & Applied Instruction] Related device Cautions 1) The instruction is provided in the FX 3UC PLC Ver. 2.20 or later. 2) When using 32-bit counters (high speed counters) For comparin ...

  • Mitsubishi Electronics FXCPU - page 617

    25 Applied Instructi ons (Block Data Operation) 25.3 BKCMP=, >, <, < >, <=, >= / Block Data Comp are 615 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Ins ...

  • Mitsubishi Electronics FXCPU - page 618

    26 Applied Instructions (Cha racter String Co ntrol) 616 FXCPU Structured Programming Manual [Basic & Applied Instruction] 26. Applied Instructions (Character String Control) This chapter introduc es the instructions for controlling charact er strings such a s linking character st ring data, replacing some characters and extracting character st ...

  • Mitsubishi Electronics FXCPU - page 619

    26 Applied Instructions (Cha racter String Co ntrol) 26.1 STR / BIN to Character String Conversion 617 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 620

    26 Applied Instructions (Cha racter String Co ntrol) 26.1 STR / BIN to Character String Conversion 618 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (STR/STRP) 1) All digits (specified by ) of 16-bit binary data of the device specified by are converted into character str ...

  • Mitsubishi Electronics FXCPU - page 621

    26 Applied Instructions (Cha racter String Co ntrol) 26.1 STR / BIN to Character String Conversion 619 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 622

    26 Applied Instructions (Cha racter String Co ntrol) 26.1 STR / BIN to Character String Conversion 620 FXCPU Structured Programming Manual [Basic & Applied Instruction] 5) Converted character string data is stored in and later as shown below. a) For the sign, "space" (20H) is stored when the 32-bit binary data stored in is positive, a ...

  • Mitsubishi Electronics FXCPU - page 623

    26 Applied Instructions (Cha racter String Co ntrol) 26.1 STR / BIN to Character String Conversion 621 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 624

    26 Applied Instructions (Cha racter String Co ntrol) 26.2 VAL / Character String to BIN Conversi on 622 FXCPU Structured Programming Manual [Basic & Applied Instruction] 26.2 VAL / Character Stri ng to BIN Conversion Outline This instruction converts a character string (ASCII codes) into binary data. On the other hand, EVAL instruction converts ...

  • Mitsubishi Electronics FXCPU - page 625

    26 Applied Instructions (Cha racter String Co ntrol) 26.2 VAL / Character String to BIN Conversi on 623 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 626

    26 Applied Instructions (Cha racter String Co ntrol) 26.2 VAL / Character String to BIN Conversi on 624 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3) The device specified by stores the number of all digits. The number of all digits indicates the number of all characters (including the number, sign and decimal point). 4) T ...

  • Mitsubishi Electronics FXCPU - page 627

    26 Applied Instructions (Cha racter String Co ntrol) 26.2 VAL / Character String to BIN Conversi on 625 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 628

    26 Applied Instructions (Cha racter String Co ntrol) 26.2 VAL / Character String to BIN Conversi on 626 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error An operation error is cause d in the following cases. The error flag M8067 turns ON, and the error code is stored in D8067. 1) When the number of characters of the charac ...

  • Mitsubishi Electronics FXCPU - page 629

    26 Applied Instructions (Cha racter String Co ntrol) 26.2 VAL / Character String to BIN Conversi on 627 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 630

    26 Applied Instructions (Cha racter String Co ntrol) 26.3 $+ / Link Character Strings 628 FXCPU Structured Programming Manual [Basic & Applied Instruction] 26.3 $+ / Link Character Strings Outline This instruction links a character string to another character string. 1. Format and operation, execution form *1. Refer to "Cautions". 2. ...

  • Mitsubishi Electronics FXCPU - page 631

    26 Applied Instructions (Cha racter String Co ntrol) 26.3 $+ / Link Character Strings 629 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied In ...

  • Mitsubishi Electronics FXCPU - page 632

    26 Applied Instructions (Cha racter String Co ntrol) 26.3 $+ / Link Character Strings 630 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples In the program example shown below, a charac ter string stor ed in D10 to D12 (abcde) is lin ked to the character string "ABCD", and the result is stored to D100 a ...

  • Mitsubishi Electronics FXCPU - page 633

    26 Applied Instructions (Cha racter String Co ntrol) 26.4 LEN / Ch aracter String Lengt h Detection 631 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 634

    26 Applied Instructions (Cha racter String Co ntrol) 26.4 LEN / Ch aracter String Lengt h Detection 632 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (LEN/LENP) The length of a character string stored in the device specified by and later is detected, and stored to the de ...

  • Mitsubishi Electronics FXCPU - page 635

    26 Applied Instructions (Cha racter String Co ntrol) 26.4 LEN / Ch aracter String Lengt h Detection 633 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) ...

  • Mitsubishi Electronics FXCPU - page 636

    26 Applied Instructions (Cha racter String Co ntrol) 26.5 RIGHT / Extracting Character String Data from the Right 634 FXCPU Structured Programming Manual [Basic & Applied Instruction] 26.5 RIGHT / Extracting Character String Data from the Right Outline This instruction extracts a specified number of characte rs from the right end of a specified ...

  • Mitsubishi Electronics FXCPU - page 637

    26 Applied Instructions (Cha racter String Co ntrol) 26.5 RIGHT / Extracting Character String Data from the Right 635 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ...

  • Mitsubishi Electronics FXCPU - page 638

    26 Applied Instructions (Cha racter String Co ntrol) 26.5 RIGHT / Extracting Character String Data from the Right 636 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) When handling character codes other than ASCII codes, note the following contents: a) The number of characters is handled in byte units (8 bits). Acco ...

  • Mitsubishi Electronics FXCPU - page 639

    26 Applied Instructions (Cha racter String Co ntrol) 26.6 LEFT / Ext racting Cha racter String Data f rom the Left 637 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruc ...

  • Mitsubishi Electronics FXCPU - page 640

    26 Applied Instructions (Cha racter String Co ntrol) 26.6 LEFT / Ext racting Cha racter String Data f rom the Left 638 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (LEFT/LEFTP) "n" characters are extracted from the left end (that is , from the head) of the cha ...

  • Mitsubishi Electronics FXCPU - page 641

    26 Applied Instructions (Cha racter String Co ntrol) 26.6 LEFT / Ext racting Cha racter String Data f rom the Left 639 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruc ...

  • Mitsubishi Electronics FXCPU - page 642

    26 Applied Instructions (Cha racter String Co ntrol) 26.7 MIDR / Random Selection of Character St rings 640 FXCPU Structured Programming Manual [Basic & Applied Instruction] 26.7 MIDR / Random Selectio n of Character Strings Outline This instruction ex tracts a spe cified number of chara cters from arb itrary positi ons of a specified character ...

  • Mitsubishi Electronics FXCPU - page 643

    26 Applied Instructions (Cha racter String Co ntrol) 26.7 MIDR / Random Selection of Character St rings 641 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Oth ...

  • Mitsubishi Electronics FXCPU - page 644

    26 Applied Instructions (Cha racter String Co ntrol) 26.7 MIDR / Random Selection of Character St rings 642 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) When handling character codes other than ASCII codes, note the following contents: a) The number of characters is handled in byte units (8 bits). Accordingly, i ...

  • Mitsubishi Electronics FXCPU - page 645

    26 Applied Instructions (Cha racter String Co ntrol) 26.8 MIDW / Random Replacement of Character Strings 643 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Ot ...

  • Mitsubishi Electronics FXCPU - page 646

    26 Applied Instructions (Cha racter String Co ntrol) 26.8 MIDW / Random Replacement of Character Strings 644 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (MIDW/MIDWP) Character data specified by " + 1" are extracted from the lef t end (that is, the head) of th ...

  • Mitsubishi Electronics FXCPU - page 647

    26 Applied Instructions (Cha racter String Co ntrol) 26.8 MIDW / Random Replacement of Character Strings 645 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Ot ...

  • Mitsubishi Electronics FXCPU - page 648

    26 Applied Instructions (Cha racter String Co ntrol) 26.8 MIDW / Random Replacement of Character Strings 646 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples In the program example shown below, four characters are extracted from the character string data stored in D0 and later, and stored to the third character ...

  • Mitsubishi Electronics FXCPU - page 649

    26 Applied Instructions (Cha racter String Co ntrol) 26.9 INSTR / Character string se arch 647 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appli ...

  • Mitsubishi Electronics FXCPU - page 650

    26 Applied Instructions (Cha racter String Co ntrol) 26.9 INSTR / Character string se arch 648 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (INSTR/INSTRP) 1) The character string stored in the device specified by and later is searched for within the character string of ...

  • Mitsubishi Electronics FXCPU - page 651

    26 Applied Instructions (Cha racter String Co ntrol) 26.9 INSTR / Character string se arch 649 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appli ...

  • Mitsubishi Electronics FXCPU - page 652

    26 Applied Instructions (Cha racter String Co ntrol) 26.10 $MOV / Character String Transfer 650 FXCPU Structured Programming Manual [Basic & Applied Instruction] 26.10 $MOV / Character String Transfer Outline This instruction transfers character string data. 1. Format and operation, execution form *1. Refer to "Cautions". 2. Set da ta ...

  • Mitsubishi Electronics FXCPU - page 653

    26 Applied Instructions (Cha racter String Co ntrol) 26.10 $MOV / Character String Transfer 651 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appl ...

  • Mitsubishi Electronics FXCPU - page 654

    26 Applied Instructions (Cha racter String Co ntrol) 26.10 $MOV / Character String Transfer 652 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error An operation error is cause d in the following cases. The error flag M8067 turns ON, and the error code is stored in D8067. 1) When "00H" does not exist in the range sp ...

  • Mitsubishi Electronics FXCPU - page 655

    27 Applied Instructio ns (Data Operation 3) 653 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Block Data Oper atio n) 26 Ap ...

  • Mitsubishi Electronics FXCPU - page 656

    27 Applied Instructio ns (Data Operation 3) 27.1 FDEL / Del eting Data fro m Tables 654 FXCPU Structured Programming Manual [Basic & Applied Instruction] 27.1 FDEL / Deleting Data from Tables Outline This instruction deletes an arbitrary piece of data from a data table. 1. Format and operation, execution form 2. Set da ta 3. Applicable devices ...

  • Mitsubishi Electronics FXCPU - page 657

    27 Applied Instructio ns (Data Operation 3) 27.1 FDEL / Del eting Data fro m Tables 655 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Inst ...

  • Mitsubishi Electronics FXCPU - page 658

    27 Applied Instructio ns (Data Operation 3) 27.1 FDEL / Del eting Data fro m Tables 656 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program examples In the program example shown below, the second data is deleted from the data table stored in D100 to D105, and the deleted data is stored in D0 when X010 is set to ON. When th ...

  • Mitsubishi Electronics FXCPU - page 659

    27 Applied Instructio ns (Data Operation 3) 27.2 FINS / Inserting Data to Tables 657 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 660

    27 Applied Instructio ns (Data Operation 3) 27.2 FINS / Inserting Data to Tables 658 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (FINS/FINSP) 1) 16-bit data of the device specified by is inserted in "n"th position in a data table (stored in the device specifi ...

  • Mitsubishi Electronics FXCPU - page 661

    27 Applied Instructio ns (Data Operation 3) 27.2 FINS / Inserting Data to Tables 659 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 662

    27 Applied Instructio ns (Data Operation 3) 27.3 POP / Shift Last Da ta Read [FI LO Control] 660 FXCPU Structured Programming Manual [Basic & Applied Instruction] 27.3 POP / Shift Last Da ta Read [FILO Control] Outline This instruction reads the last data written by the shift write (SFWR) instruction for the first-in first-out and first- in las ...

  • Mitsubishi Electronics FXCPU - page 663

    27 Applied Instructio ns (Data Operation 3) 27.3 POP / Shift Last Da ta Read [FI LO Control] 661 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 664

    27 Applied Instructio ns (Data Operation 3) 27.3 POP / Shift Last Da ta Read [FI LO Control] 662 FXCPU Structured Programming Manual [Basic & Applied Instruction] Related instruction Cautions 1) When this instruction is programmed in the continuous operation type, the instruction is executed in every operation cycle. As a result, an expected op ...

  • Mitsubishi Electronics FXCPU - page 665

    27 Applied Instructio ns (Data Operation 3) 27.3 POP / Shift Last Da ta Read [FI LO Control] 663 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 666

    27 Applied Instructio ns (Data Operation 3) 27.4 SFR / Bit Shift Right with Carry 664 FXCPU Structured Programming Manual [Basic & Applied Instruction] 27.4 SFR / Bit Shift Right with Carry Outline This instruction shifts 16 bits stored in a word device rightward by "n" bits. 1. Format and operation, execution form 2. Set da ta 3. App ...

  • Mitsubishi Electronics FXCPU - page 667

    27 Applied Instructio ns (Data Operation 3) 27.4 SFR / Bit Shift Right with Carry 665 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ...

  • Mitsubishi Electronics FXCPU - page 668

    27 Applied Instructio ns (Data Operation 3) 27.5 SFL / Bi t Shift Left wi th Carry 666 FXCPU Structured Programming Manual [Basic & Applied Instruction] 27.5 SFL / Bit Shift Left with Carry Outline This instruction shifts 16 bits stored in a word device leftward by "n" bits. 1. Format and operation, execution form 2. Set da ta 3. Appl ...

  • Mitsubishi Electronics FXCPU - page 669

    27 Applied Instructio ns (Data Operation 3) 27.5 SFL / Bi t Shift Left wi th Carry 667 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instr ...

  • Mitsubishi Electronics FXCPU - page 670

    28 Applied Instructions (Data Comp arison) 668 FXCPU Structured Programming Manual [Basic & Applied Instruction] 28. Applied Instructions (Data Comparison) This chapter introduces data comparison instruct ions which can be h andled as contact sy mbols in programming such as LD, AND and OR. Instruction name Function Refere nce LD= Data Compar is ...

  • Mitsubishi Electronics FXCPU - page 671

    28 Applied Instructions (Data Comp arison) 28.1 LD =, >, <, <>, <=, >= / Data Co mparison 669 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 672

    28 Applied Instructions (Data Comp arison) 28.1 LD =, >, <, <>, <=, >= / Data Co mparison 670 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. Refer to "Cautions". 2. Set da ta 3. Applicable devices S : Refer to "Cautions" Function and operation explanation These data comparison instruc ...

  • Mitsubishi Electronics FXCPU - page 673

    28 Applied Instructions (Data Comp arison) 28.1 LD =, >, <, <>, <=, >= / Data Co mparison 671 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 674

    28 Applied Instructions (Data Comp arison) 28.2 AND=, >, <, < >, <=, >= / Data Co mparison 672 FXCPU Structured Programming Manual [Basic & Applied Instruction] 28.2 AND=, >, <, < >, <=, >= / Data Comparison Outline These instructions compare numeric values, and set a contact to ON when the condition agrees. ...

  • Mitsubishi Electronics FXCPU - page 675

    28 Applied Instructions (Data Comp arison) 28.2 AND=, >, <, < >, <=, >= / Data Co mparison 673 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 676

    28 Applied Instructions (Data Comp arison) 28.2 AND=, >, <, < >, <=, >= / Data Co mparison 674 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) Negative values When the most significant bit is "1" in the data stored in the device specified by or , it is regarded as a negative value in com ...

  • Mitsubishi Electronics FXCPU - page 677

    28 Applied Instructions (Data Comp arison) 28.3 OR=, >, <, < >, <=, >= / Data Co mparison 675 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 678

    28 Applied Instructions (Data Comp arison) 28.3 OR=, >, <, < >, <=, >= / Data Co mparison 676 FXCPU Structured Programming Manual [Basic & Applied Instruction] *1. Refer to "Cautions". 2. Set da ta 3. Applicable devices S : Refer to "Cautions" Instruction name Operatio n Execution form Expressi on in ea ch ...

  • Mitsubishi Electronics FXCPU - page 679

    28 Applied Instructions (Data Comp arison) 28.3 OR=, >, <, < >, <=, >= / Data Co mparison 677 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 680

    29 Applied Instructions (Data T able Operation) 678 FXCPU Structured Programming Manual [Basic & Applied Instruction] 29. Applied Instructions (Data Table Operation) Instruction name Function Refere nce LIMIT Limit Control Section 2 9.1 LIMITP DLIMIT DLIMITP BAND Dead Band Contro l Section 29. 2 BANDP DBAND DBANDP ZONE Zone Control Section 29.3 ...

  • Mitsubishi Electronics FXCPU - page 681

    29 Applied Instructions (Data T able Operation) 29.1 LIMIT / Limit Control 679 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions ...

  • Mitsubishi Electronics FXCPU - page 682

    29 Applied Instructions (Data T able Operation) 29.1 LIMIT / Limit Control 680 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Applicable devices Function and operation explanation 1. 16-bit operation (LIMIT/LIMITP) Depending on how the input value (16-bit binary value) of the device specified by compares to the upper and l ...

  • Mitsubishi Electronics FXCPU - page 683

    29 Applied Instructions (Data T able Operation) 29.1 LIMIT / Limit Control 681 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions ...

  • Mitsubishi Electronics FXCPU - page 684

    29 Applied Instructions (Data T able Operation) 29.1 LIMIT / Limit Control 682 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example 1. Program ex ample 1 In the program example s hown below, the BCD data set in X020 to X037 is cont rolled by the limit values "500" to "5000", and the controlled va ...

  • Mitsubishi Electronics FXCPU - page 685

    29 Applied Instructions (Data T able Operation) 29.2 BAND / Dead Band Control 683 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 686

    29 Applied Instructions (Data T able Operation) 29.2 BAND / Dead Band Control 684 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (BAND/BANDP) Depending on how the input value (16-bit binary value) of the device specified by compares to the upper and lower limit dead band ...

  • Mitsubishi Electronics FXCPU - page 687

    29 Applied Instructions (Data T able Operation) 29.2 BAND / Dead Band Control 685 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru cti ...

  • Mitsubishi Electronics FXCPU - page 688

    29 Applied Instructions (Data T able Operation) 29.2 BAND / Dead Band Control 686 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Program ex ample 2 In the program example shown below, the BCD data set in X020 to X057 is controlled by the dead band from "-10000" to "10000", and a controlled value is outp ...

  • Mitsubishi Electronics FXCPU - page 689

    29 Applied Instructions (Data T able Operation) 29.3 ZONE / Zone Control 687 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 690

    29 Applied Instructions (Data T able Operation) 29.3 ZONE / Zone Control 688 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (ZONE/ZONEP) The bias value specifie d by or is added to the input value specified by , and output to the device specified by . The bias value is ad ...

  • Mitsubishi Electronics FXCPU - page 691

    29 Applied Instructions (Data T able Operation) 29.3 ZONE / Zone Control 689 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions ( ...

  • Mitsubishi Electronics FXCPU - page 692

    29 Applied Instructions (Data T able Operation) 29.3 ZONE / Zone Control 690 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Program ex ample 2 In the program example below, th e B CD data set in X0 20 to X057 is controlled by the zone from "-10000" t o "10000", and the controlled value is output to D11 ...

  • Mitsubishi Electronics FXCPU - page 693

    29 Applied Instructions (Data T able Operation) 29.4 SCL / Scaling (Coordinat e by Point Data) 691 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 A ...

  • Mitsubishi Electronics FXCPU - page 694

    29 Applied Instructions (Data T able Operation) 29.4 SCL / Scaling (Coordinat e by Point Data) 692 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (SCL/SCLP) The input value of the device specified by is processed by scaling for the specified conversion characteristics, an ...

  • Mitsubishi Electronics FXCPU - page 695

    29 Applied Instructions (Data T able Operation) 29.4 SCL / Scaling (Coordinat e by Point Data) 693 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 A ...

  • Mitsubishi Electronics FXCPU - page 696

    29 Applied Instructions (Data T able Operation) 29.4 SCL / Scaling (Coordinat e by Point Data) 694 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error An operation error is cause d in the following cases. The error flag M8067 turns ON, and the error code is stored in D8067. 1) When the Xn data is not set in the ascending ord ...

  • Mitsubishi Electronics FXCPU - page 697

    29 Applied Instructions (Data T able Operation) 29.5 DABIN / Decimal ASCII to BIN Conversion 695 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 698

    29 Applied Instructions (Data T able Operation) 29.5 DABIN / Decimal ASCII to BIN Conversion 696 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (DABIN/DABINP) 1) Data expressed in decimal ASCII codes (30H to 39H) and stored in the device specified by is converted into 16- ...

  • Mitsubishi Electronics FXCPU - page 699

    29 Applied Instructions (Data T able Operation) 29.5 DABIN / Decimal ASCII to BIN Conversion 697 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 700

    29 Applied Instructions (Data T able Operation) 29.6 BINDA / BIN to Decimal ASCII Conversion 698 FXCPU Structured Programming Manual [Basic & Applied Instruction] 29.6 BINDA / BIN to Deci mal ASCII Conversion Outline This instruction converts binary data into decimal ASCII codes (30H to 39H). 1. Format and operation, execution form 2. Set da ta ...

  • Mitsubishi Electronics FXCPU - page 701

    29 Applied Instructions (Data T able Operation) 29.6 BINDA / BIN to Decimal ASCII Conversion 699 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 702

    29 Applied Instructions (Data T able Operation) 29.6 BINDA / BIN to Decimal ASCII Conversion 700 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. 32-bit operation (DBINDA/DBINDAP) 1) Each digit of 32-bit binary data stored in the dev ice specified by is converted into an ASCII code (30H to 39H), and stored in the device spec ...

  • Mitsubishi Electronics FXCPU - page 703

    29 Applied Instructions (Data T able Operation) 29.6 BINDA / BIN to Decimal ASCII Conversion 701 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 704

    29 Applied Instructions (Data T able Operation) 29.7 SCL2 / Scaling 2 (Coordina te by X/Y Data) 702 FXCPU Structured Programming Manual [Basic & Applied Instruction] 29.7 S CL2 / Scaling 2 (Coor dinate by X/Y Data) Outline This instruction executes scaling of the input value using a specified data table, and outputs the result. SCL instruction ...

  • Mitsubishi Electronics FXCPU - page 705

    29 Applied Instructions (Data T able Operation) 29.7 SCL2 / Scaling 2 (Coordina te by X/Y Data) 703 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 ...

  • Mitsubishi Electronics FXCPU - page 706

    29 Applied Instructions (Data T able Operation) 29.7 SCL2 / Scaling 2 (Coordina te by X/Y Data) 704 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Setting the conversion table for scaling The convers ion table f or scaling is set based on the data table store d in a devic e specified in and later. The data table has the fo ...

  • Mitsubishi Electronics FXCPU - page 707

    29 Applied Instructions (Data T able Operation) 29.7 SCL2 / Scaling 2 (Coordina te by X/Y Data) 705 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 ...

  • Mitsubishi Electronics FXCPU - page 708

    29 Applied Instructions (Data T able Operation) 29.7 SCL2 / Scaling 2 (Coordina te by X/Y Data) 706 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error An operation error is cause d in the following cases. The error flag M8067 turns ON, and the error code is stored in D8067. 1) When the Xn data is not set in the ascending or ...

  • Mitsubishi Electronics FXCPU - page 709

    30 Applied Ins tructions (Ext ernal Device Communica tion) 707 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied Instru ctions (Block Data Ope ...

  • Mitsubishi Electronics FXCPU - page 710

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.1 IVCK / Inverter Status Check 708 FXCPU Structured Programming Manual [Basic & Applied Instruction] 30.1 IVCK / Inverter Status Check Outline This instru ction reads th e operation status of an inverter to a PLC using the co mputer link o peration func tion of the inverter. Applicab ...

  • Mitsubishi Electronics FXCPU - page 711

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.1 IVCK / Inverter Status Check 709 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 App ...

  • Mitsubishi Electronics FXCPU - page 712

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.1 IVCK / Inverter Status Check 710 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions → For other cautions, ref er to the Data Comm unication Edition manual. 1) The instruction is provided in the FX 3G PLC Ver. 1.10 or later. 2) It is not permitted to use an ...

  • Mitsubishi Electronics FXCPU - page 713

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.2 IVDR / Inverter Drive 711 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied In ...

  • Mitsubishi Electronics FXCPU - page 714

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.2 IVDR / Inverter Drive 712 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation → For detailed explanation of the instruction, re fer to the Data Comm unication Edition manual. 1. 16-bit operation (IVDR) The control value specified i ...

  • Mitsubishi Electronics FXCPU - page 715

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.2 IVDR / Inverter Drive 713 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Applied In ...

  • Mitsubishi Electronics FXCPU - page 716

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.3 IVR D / Inverter Pa rameter Rea d 714 FXCPU Structured Programming Manual [Basic & Applied Instruction] 30.3 IVRD / Inverter Parameter Read Outline This instruction reads an inverter para meter to the PLC using the computer link operation funct ion of the inverter. This instruction ...

  • Mitsubishi Electronics FXCPU - page 717

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.3 IVR D / Inverter Pa rameter Rea d 715 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 2 ...

  • Mitsubishi Electronics FXCPU - page 718

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.4 IVWR / Inverte r Parameter Writ e 716 FXCPU Structured Programming Manual [Basic & Applied Instruction] 30.4 IVWR / Inverter Parameter Write Outline This instruction writes a parameter of an inverter usi ng the computer link operation function of the inverter. This instruction corr ...

  • Mitsubishi Electronics FXCPU - page 719

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.4 IVWR / Inverte r Parameter Writ e 717 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 2 ...

  • Mitsubishi Electronics FXCPU - page 720

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.4 IVWR / Inverte r Parameter Writ e 718 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cases in which a password reset error occurs in an inverter communication instruction, and the actual number of times of reset error in such cases. - When a wrong password is wri ...

  • Mitsubishi Electronics FXCPU - page 721

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.5 IVBWR / Invert er Parameter Bl ock Write 719 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Ot ...

  • Mitsubishi Electronics FXCPU - page 722

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.5 IVBWR / Invert er Parameter Bl ock Write 720 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation → For detailed explanation of the instruction, re fer to the Data Comm unication Edition manual. 1. 16-bit operation (IVBWR) A data ta ...

  • Mitsubishi Electronics FXCPU - page 723

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.6 IVMC / Invert er Multi Command 721 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 A ...

  • Mitsubishi Electronics FXCPU - page 724

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.6 IVMC / Invert er Multi Command 722 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation This instructi on executes multiple comman ds of an inverter con nected to a communicatio n port n wh ose station number is sp ...

  • Mitsubishi Electronics FXCPU - page 725

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.6 IVMC / Invert er Multi Command 723 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 A ...

  • Mitsubishi Electronics FXCPU - page 726

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.7 ADPR W / MODBU S Read/Write 724 FXCPU Structured Programming Manual [Basic & Applied Instruction] 30.7 ADPRW / MODBUS Read/Write Outline This instruction allows the MODBUS Master to communicate (read/write data) with its associated Slaves. 1. Format and operation, execution form 2. ...

  • Mitsubishi Electronics FXCPU - page 727

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.7 ADPR W / MODBU S Read/Write 725 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appl ...

  • Mitsubishi Electronics FXCPU - page 728

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.7 ADPR W / MODBU S Read/Write 726 FXCPU Structured Programming Manual [Basic & Applied Instruction] 8H Diagnosis (Available onl y in FX 3U and FX 3UC PLCs) Sub-func tion: 3H Change AS CII Input Delimiter Sub-functi on Data (ASCII Mode End of Messa ge Character): 00H to FFH (Slave re ...

  • Mitsubishi Electronics FXCPU - page 729

    30 Applied Ins tructions (Ext ernal Device Communica tion) 30.7 ADPR W / MODBU S Read/Write 727 FXCPU Structured Programming Manual [Basic & Applied Instruction] 21 Applied Instructi ons (Real T ime Clock Control) 22 Applied Instructio ns (Externa l Device ) 23 Applied Instructi ons (Extension Function) 24 Applied Instruct ions (Others) 25 Appl ...

  • Mitsubishi Electronics FXCPU - page 730

    31 Applied Instructions (Data Transfer 3) 728 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31. Applied Instructions (Data Transfer 3) This chapter introduces the instructions for executing more complicated processing for fundamental applied instructions and for special processing. Instruction name Function Refere nce RBFM D ...

  • Mitsubishi Electronics FXCPU - page 731

    31 Applied Instructions (Data Transfer 3) 31.1 RBFM / Divided BFM Read 729 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interr ...

  • Mitsubishi Electronics FXCPU - page 732

    31 Applied Instructions (Data Transfer 3) 31.1 RBFM / Divided BFM Read 730 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (RBFM) "n1" buffer memory (BFM) units at location No. "m2" in special function block/unit No. "m1" are transf erred (rea ...

  • Mitsubishi Electronics FXCPU - page 733

    31 Applied Instructions (Data Transfer 3) 31.1 RBFM / Divided BFM Read 731 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interr ...

  • Mitsubishi Electronics FXCPU - page 734

    31 Applied Instructions (Data Transfer 3) 31.1 RBFM / Divided BFM Read 732 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) A watchdog timer error may occur when many num bers of points are transferred in one operation cycle. In such a case, take either of the following countermeasures. a) Change the watchdog timer ...

  • Mitsubishi Electronics FXCPU - page 735

    31 Applied Instructions (Data Transfer 3) 31.1 RBFM / Divided BFM Read 733 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interr ...

  • Mitsubishi Electronics FXCPU - page 736

    31 Applied Instructions (Data Transfer 3) 31.1 RBFM / Divided BFM Read 734 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) When X001 is set to ON, the buffer memories (BFM ) #2001 to #2080 (80 points) in the special function block and unit whos e unit number is No. 2 are written to D20 0 to D279 by 16 point s in each operat ...

  • Mitsubishi Electronics FXCPU - page 737

    31 Applied Instructions (Data Transfer 3) 31.2 WBFM / Divided BFM Write 735 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Inter ...

  • Mitsubishi Electronics FXCPU - page 738

    31 Applied Instructions (Data Transfer 3) 31.2 WBFM / Divided BFM Write 736 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (WBFM) "n1" word units from the device specified by in t he PLC are transferred (written) to buffer memory (BFM) location No. "m2" ...

  • Mitsubishi Electronics FXCPU - page 739

    32 Applied Instruction s (High Speed Proces sing 2) 737 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pu ...

  • Mitsubishi Electronics FXCPU - page 740

    32 Applied Instruction s (High Speed Proces sing 2) 32.1 DHSCT / High Speed Count er Compare With Data Table 738 FXCPU Structured Programming Manual [Basic & Applied Instruction] 32.1 DHSCT / High Speed Counte r Compare With Data Table Outline This instruction co mpares the current value of a high speed counter with a data table of comparison p ...

  • Mitsubishi Electronics FXCPU - page 741

    32 Applied Instruction s (High Speed Proces sing 2) 32.1 DHSCT / High Speed Count er Compare With Data Table 739 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied I ...

  • Mitsubishi Electronics FXCPU - page 742

    32 Applied Instruction s (High Speed Proces sing 2) 32.1 DHSCT / High Speed Count er Compare With Data Table 740 FXCPU Structured Programming Manual [Basic & Applied Instruction] Operation example *1. If this instruction is not executed, no processing is executed for outputs. In the operation example shown above, the command contact is "OF ...

  • Mitsubishi Electronics FXCPU - page 743

    32 Applied Instruction s (High Speed Proces sing 2) 32.1 DHSCT / High Speed Count er Compare With Data Table 741 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied I ...

  • Mitsubishi Electronics FXCPU - page 744

    32 Applied Instruction s (High Speed Proces sing 2) 32.1 DHSCT / High Speed Count er Compare With Data Table 742 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example In the program example shown belo w, the current value of C235 (counti ng X000) is compared with the comparison data table set in R0 and later, and a s ...

  • Mitsubishi Electronics FXCPU - page 745

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 743 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Funct ...

  • Mitsubishi Electronics FXCPU - page 746

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.1 LOADR / Load From ER 744 FXCPU Structured Programming Manual [Basic & Applied Instruction] 33.1 LOADR / Load From ER Outline This instruction re ads the current values of exten sion file registers (ER) store d in a memory cassette (flash memory and EEPROM) or the file r egisters ...

  • Mitsubishi Electronics FXCPU - page 747

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.1 LOADR / Load From ER 745 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U - ...

  • Mitsubishi Electronics FXCPU - page 748

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.1 LOADR / Load From ER 746 FXCPU Structured Programming Manual [Basic & Applied Instruction] b) When not connecting to a memory cassette The contents (current values) of extension file registers (ER) stored in PLC's built-in EEPROM having the same numbers with the exten sion ...

  • Mitsubishi Electronics FXCPU - page 749

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.1 LOADR / Load From ER 747 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U - ...

  • Mitsubishi Electronics FXCPU - page 750

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 748 FXCPU Structured Programming Manual [Basic & Applied Instruction] 33.2 SAVER / Save to ER Outline This instruction writes the current values of extension registers (R) stored in the PLC's built-in RAM to extension file registers (ER) stored in a memor ...

  • Mitsubishi Electronics FXCPU - page 751

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 749 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF ...

  • Mitsubishi Electronics FXCPU - page 752

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 750 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. Cautions on writing data to a memory cassette Memory cassettes adopt flash memory. Note the following contents when writing data to extension file registers in a memory cassettes ...

  • Mitsubishi Electronics FXCPU - page 753

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 751 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF ...

  • Mitsubishi Electronics FXCPU - page 754

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 752 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example 1) In the case of FX 3UC PLCs Ver. 1.30 or later and FX 3U PLCs Ver. 2.20 or later In the program example shown below, the changed contents of extension registers R10 to R19 ...

  • Mitsubishi Electronics FXCPU - page 755

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 753 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF ...

  • Mitsubishi Electronics FXCPU - page 756

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 754 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2) In the case of FX 3UC PLCs former than Ver. 1.30 In the program example shown below, the changed contents of the extension registers R10 to R19 (sector 0) used for setting data are reflec ...

  • Mitsubishi Electronics FXCPU - page 757

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 755 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF ...

  • Mitsubishi Electronics FXCPU - page 758

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.2 SAVER / Save to ER 756 FXCPU Structured Programming Manual [Basic & Applied Instruction] HFFFF R2047 K2048 R0 HFFFF R1 HFFFF R10 HFFFF R11 HFFFF Setting data Device number Current value Extension registers (R) R12 HFFFF R19 HFFFF R99 HFFFF R100 HFFFF HFFFF R2047 Setting backup d ...

  • Mitsubishi Electronics FXCPU - page 759

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.3 INITR / Init ialize R and ER 757 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 760

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.3 INITR / Init ialize R and ER 758 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (INITR/INITRP) "n" sectors of extension registers in the PLC's bu ilt-in RAM starting from the one specified b ...

  • Mitsubishi Electronics FXCPU - page 761

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.3 INITR / Init ialize R and ER 759 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions ...

  • Mitsubishi Electronics FXCPU - page 762

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.3 INITR / Init ialize R and ER 760 FXCPU Structured Programming Manual [Basic & Applied Instruction] Error An operation error is cause d in the following cases. The error flag M8067 turns ON, and the error code is stored in D8067. 1) When any device number other than the head devi ...

  • Mitsubishi Electronics FXCPU - page 763

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.4 LOGR / Loggi ng R and ER 761 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX ...

  • Mitsubishi Electronics FXCPU - page 764

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.4 LOGR / Loggi ng R and ER 762 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (LOGR/LOGRP) While the instruction is driven, "m" devices starti ng from the device specified by are logged until " ...

  • Mitsubishi Electronics FXCPU - page 765

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.4 LOGR / Loggi ng R and ER 763 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX ...

  • Mitsubishi Electronics FXCPU - page 766

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.4 LOGR / Loggi ng R and ER 764 FXCPU Structured Programming Manual [Basic & Applied Instruction] Program example In the program example shown below, D1 and D2 ar e logged to the area from R2048 to R6143 every time X001 turns ON. LOGRP EN ENO s m n d1 d2 X001 D1 K2 K2 R2048 D100 [S ...

  • Mitsubishi Electronics FXCPU - page 767

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.5 RWER / Rewrite to ER 765 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U - ...

  • Mitsubishi Electronics FXCPU - page 768

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.5 RWER / Rewrite to ER 766 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (RWER) 1) For the FX 3U and FX 3UC PLCs The contents (current values) of "n" extension regist ers (R) starting from ar e wr ...

  • Mitsubishi Electronics FXCPU - page 769

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.5 RWER / Rewrite to ER 767 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U - ...

  • Mitsubishi Electronics FXCPU - page 770

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.5 RWER / Rewrite to ER 768 FXCPU Structured Programming Manual [Basic & Applied Instruction] 2. Cautions on writing data to the memory cassette (EEPROM) for th e FX 3G PLCs Memory cassettes adopt EEPROM. Note the following contents when writin g data to extension file registers in ...

  • Mitsubishi Electronics FXCPU - page 771

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.5 RWER / Rewrite to ER 769 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U - ...

  • Mitsubishi Electronics FXCPU - page 772

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.6 INITER / In itialize ER 770 FXCPU Structured Programming Manual [Basic & Applied Instruction] 33.6 INITER / Initialize ER Outline This instruction initialize s extension file registers (ER) to "HFF FF" (<K-1>) in a memo ry cassette (flas h memory) before executin ...

  • Mitsubishi Electronics FXCPU - page 773

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.6 INITER / In itialize ER 771 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3 ...

  • Mitsubishi Electronics FXCPU - page 774

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.6 INITER / In itialize ER 772 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1. About 25 ms is required to initialize one sector. When initializing two or more sectors, take either measure shown below. 1) Set a large value to the watchdog timer D8000 us ...

  • Mitsubishi Electronics FXCPU - page 775

    33 Applied Instructio ns (Extens ion File Re gister Con trol) 33.6 INITER / In itialize ER 773 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3 ...

  • Mitsubishi Electronics FXCPU - page 776

    34 Applied Instructions (F X3U-CF-ADP) 774 FXCPU Structured Programming Manual [Basic & Applied Instruction] 34. Applied Instructions (FX 3U -CF-ADP) Instruction name Function Refere nce FLCRT File create • ch eck Section 34.1 FLDEL File delete • CF card form at Section 34 .2 FLWR Data wr ite Section 34.3 FLRD Data read Section 34.4 FLCMD F ...

  • Mitsubishi Electronics FXCPU - page 777

    34 Applied Instructions (F X3U-CF-ADP) 34.1 FLCRT / File cr eate • check 775 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 In ...

  • Mitsubishi Electronics FXCPU - page 778

    34 Applied Instructions (F X3U-CF-ADP) 34.1 FLCRT / File cr eate • check 776 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (FLCRT) 1) When the file ID is "K0" When is "K0", the FLCRT instruction creates a FIFO file. When the PLC creates two or more ...

  • Mitsubishi Electronics FXCPU - page 779

    34 Applied Instructions (F X3U-CF-ADP) 34.1 FLCRT / File cr eate • check 777 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 In ...

  • Mitsubishi Electronics FXCPU - page 780

    34 Applied Instructions (F X3U-CF-ADP) 34.1 FLCRT / File cr eate • check 778 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) When the file ID is "K0" a) The CF-ADP can create up to 1000 files (within the CompactFlash TM card capacity). b) The file name is set to "FILE0000.CSV" to "FILE099 ...

  • Mitsubishi Electronics FXCPU - page 781

    34 Applied Instructions (F X3U-CF-ADP) 34.2 FLDEL / File del ete • CF card f ormat 779 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF- ...

  • Mitsubishi Electronics FXCPU - page 782

    34 Applied Instructions (F X3U-CF-ADP) 34.2 FLDEL / File del ete • CF card f ormat 780 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (FLDEL) The FLDEL instruction deletes files stored in the CompactFlash TM card, or formats the CompactFlash TM card in the following met ...

  • Mitsubishi Electronics FXCPU - page 783

    34 Applied Instructions (F X3U-CF-ADP) 34.3 FLWR / Data writ e 781 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Func ...

  • Mitsubishi Electronics FXCPU - page 784

    34 Applied Instructions (F X3U-CF-ADP) 34.3 FLWR / Data writ e 782 FXCPU Structured Programming Manual [Basic & Applied Instruction] Function and operation explanation 1. 16-bit operation (FLWR) The FLWR instruction writes data spe cified by the device to a file stored in the Comp actFlash TM card specified by the file ID or to the buffer insid ...

  • Mitsubishi Electronics FXCPU - page 785

    34 Applied Instructions (F X3U-CF-ADP) 34.3 FLWR / Data writ e 783 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Func ...

  • Mitsubishi Electronics FXCPU - page 786

    34 Applied Instructions (F X3U-CF-ADP) 34.3 FLWR / Data writ e 784 FXCPU Structured Programming Manual [Basic & Applied Instruction] Cautions 1) The FLWR instruction is completed abnormally if a CompactFlash TM card is not mounted. 2) The user should pay close attention to the number of times data is written when the writing destination is set ...

  • Mitsubishi Electronics FXCPU - page 787

    34 Applied Instructions (F X3U-CF-ADP) 34.4 FLRD / Data read 785 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Functi ...

  • Mitsubishi Electronics FXCPU - page 788

    34 Applied Instructions (F X3U-CF-ADP) 34.4 FLRD / Data read 786 FXCPU Structured Programming Manual [Basic & Applied Instruction] Detailed explanati on of setting data Details of the setting data in the FLRD instruction are as shown below. Cautions 1) The FLRD instruction is completed abnormally if a CompactFlash TM card is not mounted. 2) The ...

  • Mitsubishi Electronics FXCPU - page 789

    34 Applied Instructions (F X3U-CF-ADP) 34.5 FLCMD / FX3U-CF-ADP command 787 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Inter ...

  • Mitsubishi Electronics FXCPU - page 790

    34 Applied Instructions (F X3U-CF-ADP) 34.5 FLCMD / FX3U-CF-ADP command 788 FXCPU Structured Programming Manual [Basic & Applied Instruction] Detailed explanati on of setting data Details of the setting data in the FLCMD instruction are as shown below. *1. The CompactFlash TM card is available in the "mounted" status. *2. The CompactF ...

  • Mitsubishi Electronics FXCPU - page 791

    34 Applied Instructions (F X3U-CF-ADP) 34.6 FLSTRD / FX3U-CF-ADP status read 789 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 ...

  • Mitsubishi Electronics FXCPU - page 792

    34 Applied Instructions (F X3U-CF-ADP) 34.6 FLSTRD / FX3U-CF-ADP status read 790 FXCPU Structured Programming Manual [Basic & Applied Instruction] Detailed explanati on of setting data Details of the setting data in the FLSTRD instruction are as shown below. • When is "K0" to "K63" The FLSTRD instruction reads the final li ...

  • Mitsubishi Electronics FXCPU - page 793

    34 Applied Instructions (F X3U-CF-ADP) 34.6 FLSTRD / FX3U-CF-ADP status read 791 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 ...

  • Mitsubishi Electronics FXCPU - page 794

    35 Interrupt Fu nction and Pulse Catch Function 792 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.1 Outline 35. Interrupt Function and Pulse Catch Function This chapter explains the built-in interrupt function and pulse catch function in FX PLCs. The input, special devices and timers in the explanations relate to the FX 3 ...

  • Mitsubishi Electronics FXCPU - page 795

    35 Interrupt Fu nction and Pulse Catch Function 793 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 796

    35 Interrupt Fu nction and Pulse Catch Function 794 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.2 Common items 35.2.2 How to disable interrupt function and pulse catch function This section describes how to disable the interrupt function and pulse catch function . 1. Limiting the program interrupt range [int errupt func ...

  • Mitsubishi Electronics FXCPU - page 797

    35 Interrupt Fu nction and Pulse Catch Function 795 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 798

    35 Interrupt Fu nction and Pulse Catch Function 796 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.2 Common items 35.2.4 Cautions on use (common) This section explains common cautions on using the interrupt function or pulse catch function. Specific cautions on each interrupt function are explained in the description of ea ...

  • Mitsubishi Electronics FXCPU - page 799

    35 Interrupt Fu nction and Pulse Catch Function 797 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 800

    35 Interrupt Fu nction and Pulse Catch Function 798 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.3 Input Interrupt (Int errupt Triggered by External Signal) [ Without Delay Function] 35.3 Input Interrupt (Interrupt Triggere d by External Signal) [Without Delay Function] 35.3.1 Input Interrupt (Interrupt Triggered by Exte ...

  • Mitsubishi Electronics FXCPU - page 801

    35 Interrupt Fu nction and Pulse Catch Function 799 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 802

    35 Interrupt Fu nction and Pulse Catch Function 800 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.3 Input Interrupt (Int errupt Triggered by External Signal) [ Without Delay Function] 7. Program ex ample 1) When using both an external input interrupt at the rising edge and the output refresh (REF instruction) In the progr ...

  • Mitsubishi Electronics FXCPU - page 803

    35 Interrupt Fu nction and Pulse Catch Function 801 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 804

    35 Interrupt Fu nction and Pulse Catch Function 802 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.3 Input Interrupt (Int errupt Triggered by External Signal) [ Without Delay Function] 35.3.2 Examples of practical programs (p rograms to measure short pulse width) By using a 1 ms retentive type time r or the special data re ...

  • Mitsubishi Electronics FXCPU - page 805

    35 Interrupt Fu nction and Pulse Catch Function 803 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 806

    35 Interrupt Fu nction and Pulse Catch Function 804 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.4 Input Int errupt (Inte rrupt by Exte rnal Signal) [Wit h Delay function] 35.4 Input Interrupt (Interrupt by Ex ternal Signal) [With Delay function] 1. Outline An input interrupt has the function to delay execution of an int ...

  • Mitsubishi Electronics FXCPU - page 807

    35 Interrupt Fu nction and Pulse Catch Function 805 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 808

    35 Interrupt Fu nction and Pulse Catch Function 806 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.5 Timer Interr upt (Interru pt in Constant Cycle) 6. Program ex ample In the program exam ple shown below, data is adde d and addition result is compared wit h the set value at every 10 ms. 1) Program example 35.5.2 Example o ...

  • Mitsubishi Electronics FXCPU - page 809

    35 Interrupt Fu nction and Pulse Catch Function 807 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 810

    35 Interrupt Fu nction and Pulse Catch Function 808 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.5 Timer Interr upt (Interru pt in Constant Cycle) 3. Cautions 1) When the HKY, SEGL or PR instruction is used in an interrupt program, the instruction turns ON M8029 in the interrupt program. When M8029 is referred to in the ...

  • Mitsubishi Electronics FXCPU - page 811

    35 Interrupt Fu nction and Pulse Catch Function 809 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 812

    35 Interrupt Fu nction and Pulse Catch Function 810 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.6 Counter I nterrupt - I nterrupt Triggered by Counting Up of High Speed Cou nter 35.6 Counter Interrupt - Interrupt Trig gered by Counting Up of High Speed Counter 1. Outline This type of interrupt utilizes the current value ...

  • Mitsubishi Electronics FXCPU - page 813

    35 Interrupt Fu nction and Pulse Catch Function 811 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 814

    35 Interrupt Fu nction and Pulse Catch Function 812 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.7 Pulse Catch Function[M8170 to M8177] 2. Program ex ample *1. When using the pulse catch function at 5 μ s or when receiving a pulse whose response frequency is 50 kHz to 100 kHz using a high speed counter, perform the foll ...

  • Mitsubishi Electronics FXCPU - page 815

    35 Interrupt Fu nction and Pulse Catch Function 813 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 816

    35 Interrupt Fu nction and Pulse Catch Function 814 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.8 Pulse width/Pulse per iod measurement func tion [M8075 to M8083, D8074 to D8097] 2) Pulse period measurement The pulse period of the input signal from X000 is measured. - Timing chart The pulse period is not measured when t ...

  • Mitsubishi Electronics FXCPU - page 817

    35 Interrupt Fu nction and Pulse Catch Function 815 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 818

    35 Interrupt Fu nction and Pulse Catch Function 816 FXCPU Structured Programming Manual [Basic & Applied Instruction] 35.8 Pulse width/Pulse per iod measurement func tion [M8075 to M8083, D8074 to D8097] *1. The ring counter offers 32-bit data including the most significant bit. The DSUB instruction does not give a correct value because it hand ...

  • Mitsubishi Electronics FXCPU - page 819

    35 Interrupt Fu nction and Pulse Catch Function 817 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function and Pulse ...

  • Mitsubishi Electronics FXCPU - page 820

    Appendix A: Relation ships be tween devic es and ad dresses 818 FXCPU Structured Programming Manual [Basic & Applied Instruction] Appendix A: Relationships between devices and addresses The table below shows the relationships between devices and addresses. Device Device a nd address Example of corresponding device and address Device Address Dev ...

  • Mitsubishi Electronics FXCPU - page 821

    Appendix A: Relationships betwee n devices and addresses 819 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File Register Control) 34 Applied Instruct ions (FX 3U -CF-ADP) 35 Interrupt Function a ...

  • Mitsubishi Electronics FXCPU - page 822

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 820 FXCPU Structured Programming Manual [Basic & Applied Instruction] Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied instruct ions [by instruction type] ...

  • Mitsubishi Electronics FXCPU - page 823

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 821 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File R ...

  • Mitsubishi Electronics FXCPU - page 824

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 822 FXCPU Structured Programming Manual [Basic & Applied Instruction] 3. Comparison instructions 4. Arithmetic operation instruction s Mnemonic Function Ref. Page DBKCMP<> Block Data Compare ≠ 609 DBK ...

  • Mitsubishi Electronics FXCPU - page 825

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 823 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File R ...

  • Mitsubishi Electronics FXCPU - page 826

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 824 FXCPU Structured Programming Manual [Basic & Applied Instruction] 10. Character string operation instructions ZONE Zone Contr ol 68 7 ZONEP DZONE DZONEP SCL Scaling (Coor dinate by Point D ata) 691 SCLP D ...

  • Mitsubishi Electronics FXCPU - page 827

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 825 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File R ...

  • Mitsubishi Electronics FXCPU - page 828

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-1 Applied in structions [by instruction type] 826 FXCPU Structured Programming Manual [Basic & Applied Instruction] 19. Other handy inst ructions Mnemonic Function Ref. Page WDT Watchdog Timer Ref resh 125 WDTP ALT Alternate State 340 ALTP ANS Timed Annu ...

  • Mitsubishi Electronics FXCPU - page 829

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-2 Applied instructions [in alphabetical order] 827 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File ...

  • Mitsubishi Electronics FXCPU - page 830

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-2 Applied instructions [in alphabetical order] 828 FXCPU Structured Programming Manual [Basic & Applied Instruction] D DABIN Decimal ASCII to BIN Conve rsion 695 DABINP DABS Absolute Curren t Value Read 52 5 DABSD Absolute Drum Se quencer 327 DACOS Float ...

  • Mitsubishi Electronics FXCPU - page 831

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-2 Applied instructions [in alphabetical order] 829 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File ...

  • Mitsubishi Electronics FXCPU - page 832

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-2 Applied instructions [in alphabetical order] 830 FXCPU Structured Programming Manual [Basic & Applied Instruction] D DVIT Interrupt Posit ioning 520 DWSUM Sum of Word Data 497 DWSUMP DXCH Exchange 157 DXCHP DXOR Logical Ex clusive OR 18 9 DXORP DZCP Zo ...

  • Mitsubishi Electronics FXCPU - page 833

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-2 Applied instructions [in alphabetical order] 831 FXCPU Structured Programming Manual [Basic & Applied Instruction] 31 Applied Instructi ons (Data T ransfer 3) 32 Applied Instructio ns (High S peed Processing 2) 33 Applied Instructi ons (Extension File ...

  • Mitsubishi Electronics FXCPU - page 834

    Appendix B: Applied Instruction List [by Instruction Type / in Alphabetic Order] Appendix B-2 Applied instructions [in alphabetical order] 832 FXCPU Structured Programming Manual [Basic & Applied Instruction] S SFR Bit Shift Righ t with Carry 664 SFRD Shift Read [FIFO Control] 222 SFRDP SFRP Bit Shift Right with Carry 664 SFTL Bit Shift Lef t 2 ...

  • Mitsubishi Electronics FXCPU - page 835

    833 Warranty FXCPU Structured Programming Manual [Basic & Applied Instruction] Warranty Please confirm the following product warranty details before using this product. 1. Gratis Warranty Term and Gratis Warranty Range [Gratis Warranty Term] If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi ...

  • Mitsubishi Electronics FXCPU - page 836

    834 Revised History FXCPU Structured Programming Manual [Basic & Applied Instruction] Revised History Date created Revision Descriptio n 1/2009 A F irst edition 7/2009 B • In structions was added : INV, MEP, MEF, RS,FLCRT, FLDE L, FLWR, FLRD, FLCMD, FLSTRD • The follow ing instructions are p rovided in the FX 3G series. RD3A, RD3AP, WR 3A, ...

  • Mitsubishi Electronics FXCPU - page 837

    ...

  • Mitsubishi Electronics FXCPU - page 838

    HEAD OFFICE: TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA- KU, TOKYO 100-8310, JAPAN HIMEJI WORKS: 840, CHIYODA CHO, HIMEJI, JAPAN JY997D34701L (MEE) Effective Sep. 2013 Specifications are subject to chang e without notice. MODEL FX-KP-SM-E MODEL CODE 09R926 FXCPU Structured Programming Manual Basic & Applied Instruction ...

Manufacturer Mitsubishi Electronics Category Video Game Controller

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)