Mitsubishi Electronics FXCPU инструкция обслуживания
- Просмотреть online или скачать инструкцию
- 838 страниц
- 27.81 mb
Идти на страницу of
Похожие руководства по эксплуатации
-
Video Game Controller
Mitsubishi Electronics FX2NC
140 страниц 2.28 mb -
Video Game Controller
Mitsubishi Electronics QD75P
768 страниц 7.28 mb -
Video Game Controller
Mitsubishi Electronics E60
415 страниц 3.52 mb -
Video Game Controller
Mitsubishi Electronics E68
415 страниц 3.52 mb -
Video Game Controller
Mitsubishi Electronics QD75D
768 страниц 7.28 mb -
Video Game Controller
Mitsubishi Electronics FXCPU
838 страниц 27.81 mb
Хорошее руководство по эксплуатации
Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Mitsubishi Electronics FXCPU. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Mitsubishi Electronics FXCPU или обучающее видео для пользователей. Условием остается четкая и понятная форма.
Что такое руководство?
Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Mitsubishi Electronics FXCPU можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.
К сожалению немного пользователей находит время для чтения инструкций Mitsubishi Electronics FXCPU, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.
Из чего должно состоять идеальное руководство по эксплуатации?
Прежде всего в инструкции Mitsubishi Electronics FXCPU должна находится:
- информация относительно технических данных устройства Mitsubishi Electronics FXCPU
- название производителя и год производства оборудования Mitsubishi Electronics FXCPU
- правила обслуживания, настройки и ухода за оборудованием Mitsubishi Electronics FXCPU
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам
Почему мы не читаем инструкций?
Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Mitsubishi Electronics FXCPU это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Mitsubishi Electronics FXCPU и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Mitsubishi Electronics, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Mitsubishi Electronics FXCPU, как это часто бывает в случае бумажной версии.
Почему стоит читать инструкции?
Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Mitsubishi Electronics FXCPU, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.
После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Mitsubishi Electronics FXCPU. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.
Содержание руководства
-
Страница 1
FXCPU Structured Programming Manual Basic & Applied Instruction[...]
-
Страница 2
[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 5
3 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] Table of Contents Positioning of This Manual..... .............. .............. ........... .............. .............. ........... .............. .... 11 Related Manuals ............. ............ .............. ........... .............. .............. ...[...]
-
Страница 6
4 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 5.13 END...................................................................................................................... ....................... 91 5.14 NOP (for simple project only) .......................................................................[...]
-
Страница 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 .................................[...]
-
Страница 8
6 Table of Contents FXCPU Structured Programming Manual [Basic & Applied Instruction] 13.5 TTMR / Teaching Timer.................................................................................................... ....... 334 13.6 STMR / Special Timer................................................................................................[...]
-
Страница 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 ..........................................[...]
-
Страница 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 ...................................[...]
-
Страница 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 ...........................................[...]
-
Страница 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 .................................................................................................[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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,[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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)[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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 ?[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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.[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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 [...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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. [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 ([...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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. [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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][...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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.[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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 [...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 ([...]
-
Страница 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[...]
-
Страница 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 ([...]
-
Страница 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 [...]
-
Страница 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 ([...]
-
Страница 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[...]
-
Страница 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 ([...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 &[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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. [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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, [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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. ?[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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. [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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 [...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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, [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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-[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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, [...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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) [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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.[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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. [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 &[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 & [...]
-
Страница 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[...]
-
Страница 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 &[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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([...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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" [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 &[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 ([...]
-
Страница 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 [...]
-
Страница 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 ([...]
-
Страница 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+[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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) [...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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. [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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)[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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. [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 ([...]
-
Страница 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[...]
-
Страница 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 ([...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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-[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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.[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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"[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 -[...]
-
Страница 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 [...]
-
Страница 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 -[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 "[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 -[...]
-
Страница 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[...]
-
Страница 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 -[...]
-
Страница 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[...]
-
Страница 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 -[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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-[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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] [...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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[...]
-
Страница 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 [...]
-
Страница 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, [...]
-
Страница 837
[...]
-
Страница 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[...]