Mitsubishi Electronics FXCPU manuale d’uso
- Visualizza on-line o scarica il manuale
- 838 pagine
- 27.81 mb
Vai alla pagina of
Manuali d’uso simili
-
Video Game Controller
Mitsubishi Electronics E68
415 pagine 3.52 mb -
Video Game Controller
Mitsubishi Electronics E60
415 pagine 3.52 mb -
Video Game Controller
Mitsubishi Electronics FX2NC
140 pagine 2.28 mb -
Video Game Controller
Mitsubishi Electronics QD75P
768 pagine 7.28 mb -
Video Game Controller
Mitsubishi Electronics QD75D
768 pagine 7.28 mb -
Video Game Controller
Mitsubishi Electronics FXCPU
838 pagine 27.81 mb
Un buon manuale d’uso
Le regole impongono al rivenditore l'obbligo di fornire all'acquirente, insieme alle merci, il manuale d’uso Mitsubishi Electronics FXCPU. La mancanza del manuale d’uso o le informazioni errate fornite al consumatore sono la base di una denuncia in caso di inosservanza del dispositivo con il contratto. Secondo la legge, l’inclusione del manuale d’uso in una forma diversa da quella cartacea è permessa, che viene spesso utilizzato recentemente, includendo una forma grafica o elettronica Mitsubishi Electronics FXCPU o video didattici per gli utenti. La condizione è il suo carattere leggibile e comprensibile.
Che cosa è il manuale d’uso?
La parola deriva dal latino "instructio", cioè organizzare. Così, il manuale d’uso Mitsubishi Electronics FXCPU descrive le fasi del procedimento. Lo scopo del manuale d’uso è istruire, facilitare lo avviamento, l'uso di attrezzature o l’esecuzione di determinate azioni. Il manuale è una raccolta di informazioni sull'oggetto/servizio, un suggerimento.
Purtroppo, pochi utenti prendono il tempo di leggere il manuale d’uso, e un buono manuale non solo permette di conoscere una serie di funzionalità aggiuntive del dispositivo acquistato, ma anche evitare la maggioranza dei guasti.
Quindi cosa dovrebbe contenere il manuale perfetto?
Innanzitutto, il manuale d’uso Mitsubishi Electronics FXCPU dovrebbe contenere:
- informazioni sui dati tecnici del dispositivo Mitsubishi Electronics FXCPU
- nome del fabbricante e anno di fabbricazione Mitsubishi Electronics FXCPU
- istruzioni per l'uso, la regolazione e la manutenzione delle attrezzature Mitsubishi Electronics FXCPU
- segnaletica di sicurezza e certificati che confermano la conformità con le norme pertinenti
Perché non leggiamo i manuali d’uso?
Generalmente questo è dovuto alla mancanza di tempo e certezza per quanto riguarda la funzionalità specifica delle attrezzature acquistate. Purtroppo, la connessione e l’avvio Mitsubishi Electronics FXCPU non sono sufficienti. Questo manuale contiene una serie di linee guida per funzionalità specifiche, la sicurezza, metodi di manutenzione (anche i mezzi che dovrebbero essere usati), eventuali difetti Mitsubishi Electronics FXCPU e modi per risolvere i problemi più comuni durante l'uso. Infine, il manuale contiene le coordinate del servizio Mitsubishi Electronics in assenza dell'efficacia delle soluzioni proposte. Attualmente, i manuali d’uso sotto forma di animazioni interessanti e video didattici che sono migliori che la brochure suscitano un interesse considerevole. Questo tipo di manuale permette all'utente di visualizzare tutto il video didattico senza saltare le specifiche e complicate descrizioni tecniche Mitsubishi Electronics FXCPU, come nel caso della versione cartacea.
Perché leggere il manuale d’uso?
Prima di tutto, contiene la risposta sulla struttura, le possibilità del dispositivo Mitsubishi Electronics FXCPU, l'uso di vari accessori ed una serie di informazioni per sfruttare totalmente tutte le caratteristiche e servizi.
Dopo l'acquisto di successo di attrezzature/dispositivo, prendere un momento per familiarizzare con tutte le parti del manuale d'uso Mitsubishi Electronics FXCPU. Attualmente, sono preparati con cura e tradotti per essere comprensibili non solo per gli utenti, ma per svolgere la loro funzione di base di informazioni e di aiuto.
Sommario del manuale d’uso
-
Pagina 1
FXCPU Structured Programming Manual Basic & Applied Instruction[...]
-
Pagina 2
[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 5
3 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] Table of Contents Positioning of This Manual..... .............. .............. ........... .............. .............. ........... .............. .... 11 Related Manuals ............. ............ .............. ........... .............. .............. ...[...]
-
Pagina 6
4 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 5.13 END...................................................................................................................... ....................... 91 5.14 NOP (for simple project only) .......................................................................[...]
-
Pagina 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 .................................[...]
-
Pagina 8
6 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.5 TTMR / Teaching Timer.................................................................................................... ....... 334 13.6 STMR / Special Timer................................................................................................[...]
-
Pagina 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 ..........................................[...]
-
Pagina 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 ...................................[...]
-
Pagina 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 ...........................................[...]
-
Pagina 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 .................................................................................................[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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,[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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)[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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 ?[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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.[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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 [...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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][...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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.[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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 [...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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 [...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 &[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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. [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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, [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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. ?[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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 [...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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, [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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-[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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, [...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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) [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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.[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 &[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 & [...]
-
Pagina 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[...]
-
Pagina 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 &[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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([...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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" [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 &[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 ([...]
-
Pagina 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 [...]
-
Pagina 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 ([...]
-
Pagina 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+[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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) [...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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)[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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. [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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[...]
-
Pagina 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 ([...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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-[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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.[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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"[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 -[...]
-
Pagina 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 [...]
-
Pagina 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 -[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 "[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 -[...]
-
Pagina 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[...]
-
Pagina 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 -[...]
-
Pagina 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[...]
-
Pagina 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 -[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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-[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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] [...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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[...]
-
Pagina 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 [...]
-
Pagina 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, [...]
-
Pagina 837
[...]
-
Pagina 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[...]