FP Series Programing Manual.pdf

1448
® PROGRAMMABLE CONTROLLER FP Series Programming Manual Matsushita Electric Works, Ltd. http://www.mew.co.jp/ac/e/fasys/ FP Series Programming Manual ARCT1F313E-14 ’07.5

Transcript of FP Series Programing Manual.pdf

ARCT1F313E-14_0704.aiPROGRAMMABLE CONTROLLERFP SeriesProgramming ManualMatsushita Electric Works, Ltd. http://www.mew.co.jp/ac/e/fasys/Please contact ..........ARCT1F313E-14 200705ACG-M313E-14Specifications are subject to change without notice. Printed in Japan.Automation Controls Company Head Office: 1048, Kadoma, Kadoma-shi, Osaka 571-8686, Japan Telephone: +81-6-6908-1050 Facsimile: +81-6-6908-5781http://www.mew.co.jp/ac/e/All Rights Reserved 2007 COPYRIGHT Matsushita Electric Works, Ltd.Matsushita Electric Works, Ltd.These materials are printed on ECF pulp.These materials are printed with earth-friendly vegetable-based (soybean oil) ink.FP Series Programming ManualARCT1F313E-1407.5Matsushita Electric Works, Ltd.PROGRAMMABLE CONTROLLER FP Series Programming ManualiTable of ContentsChapter 1 Relays, Memory Areas and Constants1.1 Table of Relays, Memory Areas and Constants 1 - 21.1.1 FP0/FPe 1 - 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.2 FP 1 - 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.3 FPX 1 - 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.4 FP1 1 - 13 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.5 FPM 1 - 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.6 FP2 1 - 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.7 FP2SH 1 - 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.8 FP10SH 1 - 21 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.9 FP3 1 - 23 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.1.10 Relay Numbers 1 - 25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2 Explanation of Relays 1 - 28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.1 External Input Relays (X) 1 - 28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.2 External Output Relays (Y) 1 - 29 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.3 Internal Relays (R) 1 - 30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.4 Special Internal Relays 1 - 32 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.5 Link Relays (L) for FP, FPX 1 - 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.6 Link Relays (L) for FP2/FP2SH/FP10SH/FP3 1 - 35 . . . . . . . . . . . . . . . . .1.2.7 Timer (T) 1 - 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.8 Counter (C) 1 - 40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.9 Items Shared by the Timer and Counter 1 - 41 . . . . . . . . . . . . . . . . . . . . .1.2.10 Pulse Relays (P) 1 - 44 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.2.11 Error Alarm Relays (E) 1 - 46 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3 Explanation of Memory Areas 1 - 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.1 Data Register (DT) 1 - 49 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.2 Special Data Registers (DT) 1 - 51 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.3 File Registers (FL) 1 - 53 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.4 WX, WY, WR and WL 1 - 54 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3.5 Link Data Registers (LD) for FP/FPX 1 - 55 . . . . . . . . . . . . . . . . . . . . . .1.3.6 Link Data Registers (LD) for FP2/FP2SH/FP10SH/FP3 1 - 57 . . . . . . . .1.3.7 Set Value Area for Timer/Counter (SV) 1 - 61 . . . . . . . . . . . . . . . . . . . . . .1.3.8 Elapsed Value Area for Timer/Counter (EV) 1 - 62 . . . . . . . . . . . . . . . . . .1.3.9 Index Registers (IX, IY) (for FP0, FPe, FP1, FPM and FP3) 1 - 63 . .1.3.10 Index Registers (I0 to ID) (for FP/FPX) 1 - 66 . . . . . . . . . . . . . . . . . . . .1.3.11 Index Registers (I0 to ID) (for FP2, FP2SH and FP10SH) 1 - 67 . . . . . .1.4 Explanation of Constants 1 - 77 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4.1 Integer Type Decimal Constants (K) 1 - 77 . . . . . . . . . . . . . . . . . . . . . . . . .Table of Contentsii1.4.2 Hexadecimal Constants (H) 1 - 78 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4.3 Floating Point Type Real Numbers (f) 1 - 79 . . . . . . . . . . . . . . . . . . . . . . .1.4.4 BCD Type Real Numbers (H) (for FP2, FP2SH and FP10SH) 1 - 84 . . .1.4.5 Character Constants (M) 1 - 85 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.5 Data Ranges Which can be Handled in the PLC 1 - 86 . . . . . . . . . . . . . . . . . . . . . .1.5.1 Data Ranges Which can be Handled in the PLC 1 - 86 . . . . . . . . . . . . . .1.5.2 Overflow and Underflow 1 - 89 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Chapter 2 Basic Instructions2.1 Composition of Basic Instructions 2 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.1.1 Sequence Basic Instructions 2 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.1.2 Basic Function Instructions 2 - 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.1.3 Control Instructions 2 - 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.1.4 Data Compare Instructions 2 - 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.2 Number of Steps in the FP2, FP2SH and FP10SH 2 - 6 . . . . . . . . . . . . . . . . . . . . .Chapter 3 Highlevel Instructions3.1 Composition of High-level Instructions 3 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.1 Composition 3 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3.1.2 High-level Instruction Numbers and Program Input 3 - 4 . . . . . . . . . . . . .3.1.3 High-level Instruction and Execution Condition (Trigger) 3 - 5 . . . . . . . .3.1.4 F and P Type High-level Instructions 3 - 6 . . . . . . . . . . . . . . . . . . . . . .Chapter 4 Precautions Concerning Programs4.1 Changing the Set Value of Timer/Counter During RUN 4 - 3 . . . . . . . . . . . . . . . . .4.1.1 Method of Rewriting Constant in the Program 4 - 3 . . . . . . . . . . . . . . . . .4.1.2 Method of Rewriting a Value in the Set Value Area 4 - 5 . . . . . . . . . . . . .4.2 Use of Duplicated Output 4 - 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.2.1 Duplicated Output 4 - 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.2.2 When Output is Repeated with an OT, KP, SET, or RSTInstruction 4 - 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.3 Leading Edge Detection Method 4 - 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.3.1 Instructions of Leading Edge Detection Method 4 - 10 . . . . . . . . . . . . . . .4.3.2 Operation and Precautions at Run Start Time 4 - 11 . . . . . . . . . . . . . . . .4.3.3 Precautions when Using a Control Instruction 4 - 13 . . . . . . . . . . . . . . . .4.4 Operation Errors 4 - 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.4.1 Operation Errors 4 - 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Table of Contentsiii4.4.2 Operation Mode when an Operation Error Occurs 4 - 16 . . . . . . . . . . . . .4.4.3 Dealing with Operation Errors 4 - 17 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.4.4 Points to Check in Program 4 - 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.5 Handling Index Registers 4 - 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.5.1 Index Registers 4 - 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.5.2 Memory Areas Which can be Modified with Index Registers 4 - 20 . . . .4.5.3 Example of Using an Index Register 4 - 21 . . . . . . . . . . . . . . . . . . . . . . . .4.6 Handling BCD Data 4 - 25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.6.1 BCD Data 4 - 25 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.6.2 Handling BCD Data in the Programmable Controller 4 - 25 . . . . . . . . . . .4.7 Precautions for Programming 4 - 27 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.8 Rewrite Function During RUN 4 - 28 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4.8.1 Operation of Rewrite During RUN 4 - 28 . . . . . . . . . . . . . . . . . . . . . . . . . . .4.8.2 Cases Where Rewriting During Run is not Possible 4 - 29 . . . . . . . . . . .4.8.3 Procedures and Operation of Rewrite During RUN 4 - 31 . . . . . . . . . . . .4.9 Processing During Forced Input and Output 4 - 32 . . . . . . . . . . . . . . . . . . . . . . . . .4.9.1 Processing when forced input/output is initiated during RUN 4 - 32 . . . .4.10 Second Program Area (FP2SH, FP10SH) 4 - 34 . . . . . . . . . . . . . . . . . . . . . . . . . . .Chapter 5 Special Functions of FP05.1 Highspeed Counter, Pulse Output and PWM Output 5 - 3 . . . . . . . . . . . . . . . . . .5.1.1 Outline of Functions that Use Builtin Highspeed Counter 5 - 3 . . . . . .5.1.2 Specifications and Restricted Items 5 - 5 . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.2.1 Highspeed Counter Function Specifications 5 - 5 . . . . . . . .5.1.2.2 Pulse Output Function Specifications 5 - 6 . . . . . . . . . . . . . .5.1.2.3 PWM Output Specifications 5 - 6 . . . . . . . . . . . . . . . . . . . . . . .5.1.2.4 Restrictions 5 - 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.3 Highspeed Counter Function 5 - 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.3.1 Outline of Highspeed Counter Function 5 - 9 . . . . . . . . . . .5.1.3.2 Types of Input Modes 5 - 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.3.3 I/O Allocation 5 - 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.3.4 Instructions Used with Highspeed Counter Function 5 - 125.1.3.5 Sample Program 5 - 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.4 Pulse Output Function 5 - 18 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.4.1 Outline of Pulse Output Function 5 - 18 . . . . . . . . . . . . . . . . .5.1.4.2 Control Mode 5 - 19 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.1.4.3 I/O Allocation and Wiring 5 - 20 . . . . . . . . . . . . . . . . . . . . . . . .5.1.4.4 Instructions Used with Pulse Output Function 5 - 22 . . . . . .5.1.4.5 Sample Program for Positioning Control 5 - 25 . . . . . . . . . . .5.1.5 PWM Output Function 5 - 33 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Table of Contentsiv5.1.5.1 Outline of PWM Output Function 5 - 33 . . . . . . . . . . . . . . . . .5.1.5.2 Instruction Used with PWM Output Function 5 - 33 . . . . . . .5.2 Generalpurpose Serial Communications Function 5 - 34 . . . . . . . . . . . . . . . . . . .5.2.1 Generalpurpose Serial Communications 5 - 34 . . . . . . . . . . . . . . . . . . . .5.2.1.1 Data Transmission 5 - 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.2.1.2 Data Reception 5 - 35 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.2.2 System Register Settings 5 - 36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.2.3 Explanation of Operations When Using Generaluse SerialCommunication 5 - 39 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.2.3.1 Start Code None, Terminal Code: CR 5 - 39 . . . . . . . . . . . .5.2.3.2 Start Code STX, Terminal Code ETX 5 - 40 . . . . . . . . . . .5.3 Rewrite Function During RUN 5 - 42 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5.3.1 Operation of Rewrite During RUN 5 - 42 . . . . . . . . . . . . . . . . . . . . . . . . . . .5.3.2 Cases where Rewriting During Run is not Possible 5 - 43 . . . . . . . . . . . .5.3.3 Procedures and Operation of Rewrite During RUN 5 - 44 . . . . . . . . . . . .5.3.4 Changing Modes in FP Programmer II 5 - 46 . . . . . . . . . . . . . . . . . . . . . . .5.4 Processing During Forced Input and Output 5 - 47 . . . . . . . . . . . . . . . . . . . . . . . . .Chapter 6 Special Functions of FPM/FP16.1 Highspeed Counter Function 6 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6.1.1 Specifications of Highspeed Counter 6 - 3 . . . . . . . . . . . . . . . . . . . . . . . .6.1.2 Input Mode 6 - 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6.1.3 Connection and Input Mode Setting with Pulse Output Control 6 - 6 . . .6.1.4 Instructions Used with Highspeed Counter Function 6 - 8 . . . . . . . . . . .6.2 Frequency Value for Pulse Output Control 6 - 14 . . . . . . . . . . . . . . . . . . . . . . . . . . .6.3 ON Pulse Wide for Pulse Output Control 6 - 21 . . . . . . . . . . . . . . . . . . . . . . . . . . . .Chapter 7 Hints for FP2/FP2SH/FP3/FP10SH7.1 Specifying Slot Numbers 7 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7.1.1 With the FP2 and FP2SH 7 - 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7.1.2 With the FP3 and FP10SH 7 - 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Chapter 8 Appendix8.1 System Registers/Special Internal Relays/Special Data Registers 8 - 3 . . . . . . .8.1.1 Table of System Registers for FP0 8 - 5 . . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.2 Table of Special Internal Relays for FP0 8 - 17 . . . . . . . . . . . . . . . . . . . . .1.1.1 Table of Special Data Registers for FP0 8 - 20 . . . . . . . . . . . . . . . . . . . . .8.1.3 Table of System Registers for FPe 8 - 30 . . . . . . . . . . . . . . . . . . . . . . . . .Table of Contentsv8.1.4 Table of Special Internal Relays for FPe 8 - 34 . . . . . . . . . . . . . . . . . . . .8.1.5 Table of Special Data Registers for FPe 8 - 38 . . . . . . . . . . . . . . . . . . . .8.1.6 Table of System Registers for FP 8 - 45 . . . . . . . . . . . . . . . . . . . . . . . . . .8.1.7 Table of Special Internal Relays for FP 8 - 51 . . . . . . . . . . . . . . . . . . . . .8.1.8 Table of Special Data Registers for FP 8 - 60 . . . . . . . . . . . . . . . . . . . . .8.1.9 Table of System Registers for FPX 8 - 74 . . . . . . . . . . . . . . . . . . . . . . . . .8.1.10 Table of Special Internal Relays for FPX 8 - 86 . . . . . . . . . . . . . . . . . . . .8.1.11 Table of Special Data Registers for FPX 8 - 97 . . . . . . . . . . . . . . . . . . . .8.1.12 Table of System Registers for FP2/FP2SH/FP10SH 8 - 118 . . . . . . . . . .8.1.13 Table of Special Internal Relays forFP1/FPM/FP2/FP2SH/FP10SH/FP3 8 - 132 . . . . . . . . . . . . . . . . . . . . . .8.1.14 Special Data Registers for FP2/FP2SH/FP3/FP10SH 8 - 143 . . . . . . . . .8.1.15 Table of System Registers for FP3 8 - 168 . . . . . . . . . . . . . . . . . . . . . . . . .8.1.16 Table of System Registers for FP1 and FPM 8 - 177 . . . . . . . . . . . . . . .8.1.17 Table of Special Data Registers for FP1/FPM 8 - 188 . . . . . . . . . . . . . .8.2 Table of Basic Instructions 8 - 202 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.3 Table of Highlevel Instructions 8 - 236 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.4 Table of Error Codes 8 - 296 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.5 MEWTOCOLCOM Communication Comands 8 - 310 . . . . . . . . . . . . . . . . . . . . . .8.6 Hexadecimal/Binary/BCD 8 - 311 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8.7 ASCII Codes 8 - 312 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Record of changes R - 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .Table of ContentsviBasic InstructionsSequence basic instructionsST Start 2 8 . . . . . . . . . . . . . . . . . . .ST/ Start Not 2 8 . . . . . . . . . . . . . . .OT Out 2 8 . . . . . . . . . . . . . . . . . . . ./ Not 2 10 . . . . . . . . . . . . . . . . . . .AN AND 2 11 . . . . . . . . . . . . . . . . . .AN/ AND Not 2 11 . . . . . . . . . . . . . .OR OR 2 12 . . . . . . . . . . . . . . . . . . .OR/ OR Not 2 12 . . . . . . . . . . . . . . . .ST Leading edge start 2 14 . . . . . .ST Trailing edge start 2 14 . . . . . .AN Leading edge AND 2 14 . . . . .AN Trailing edge AND 2 14 . . . . . .OR Leading edge OR 2 14 . . . . . . .OR Trailing edge OR 2 14 . . . . . . .OT Leading edge out 2 16 . . . . . . .OT Trailing edge out 2 16 . . . . . . .ALT Alternative out 2 18 . . . . . . . . .ANS AND stack 2 19 . . . . . . . . . . . . .ORS OR stack 2 21 . . . . . . . . . . . . . .PSHS Push stack 2 23 . . . . . . . . . . . .RDS Read stack 2 23 . . . . . . . . . . . .POPS Pop stack 2 23 . . . . . . . . . . . . .DF Leading edge differential 2 26DF/ Trailing edge differential 2 26 .DFI Leading edge differential(initial execution type) 2 30 . . .SET Set 2 32 . . . . . . . . . . . . . . . . . . .RST Reset 2 32 . . . . . . . . . . . . . . . . .KP Keep 2 34 . . . . . . . . . . . . . . . . .NOP No operation 2 35 . . . . . . . . . . .Basic function instructionsTML Ondelay timer TML 2 36 . . . .TMR Ondelay timer TMR 2 42 . . . .TMX Ondelay timer TMX 2 42 . . . .TMY Ondelay timer TMY 2 42 . . . .CT Counter 2 48 . . . . . . . . . . . . . . .SR Shift register 2 54 . . . . . . . . . . .Control instructionsMC Master control relay 2 57 . . . . .MCE Master control relay end 2 57 .JP Jump 2 61 . . . . . . . . . . . . . . . . .LBL Label 2 61, 2 64 . . . . . . . . . .LOOP Loop 2 64 . . . . . . . . . . . . . . . . . .BRK Break 2 68 . . . . . . . . . . . . . . . . .ED End 2 70 . . . . . . . . . . . . . . . . . . .CNDE Conditional end 2 71 . . . . . . . .EJECTEject 2 73 . . . . . . . . . . . . . . . . . . .Step ladder instructionsSSTP Start step 2 75 . . . . . . . . . . . . . .NSTL Next step 2 75 . . . . . . . . . . . . . .NSTP Next step 2 75 . . . . . . . . . . . . . .CSTP Clear step 2 75 . . . . . . . . . . . . .STPE Step end 2 75 . . . . . . . . . . . . . .SCLR Clear multiple steps 2 85 . . . . .Subroutine instructionsCALL Subroutine call 2 86 . . . . . . . . .FCAL Output off typesubroutine call 2 89 . . . . . . . . .SUB Subroutine entry 2 86 . . . . . . . .RET Subroutine return 2 86 . . . . . . .Interrupt instructionsINT Interrupt 2 91. 2 97 . . . . . . . .IRET Interrupt return 2 91, 2 97 . .ICTL Interrupt control 2 102, 2 110Table of ContentsviiSpecial setting instructionsSYS1 Communication conditionssetting 2 119 . . . . . . . . . . . . . . .Password setting 2 123 . . . . . .Interrupt setting 2 125 . . . . . . .PLC link time setting 2 127 . . .Change highspeed counteroperation mode 2 129 . . . . . . .MEWTOCOLCOM responsecontrol 2 131 . . . . . . . . . . . . . . .SYS2 Change system registers(No.40 to No.47,No.50 to No.57) 2 133 . . . . . . .Data compare instructionsST= 16bit data compare(Start) 2 136 . . . . . . . . . . . . . . . .ST 16bit data compare(Start) 2 136 . . . . . . . . . . . . . . . .ST> 16bit data compare(Start) 2 136 . . . . . . . . . . . . . . . .ST>= 16bit data compare(Start) 2 136 . . . . . . . . . . . . . . . .ST< 16bit data compare(Start) 2 136 . . . . . . . . . . . . . . . .ST 32bit data compare(Start) 2 138 . . . . . . . . . . . . . . . .STD>=32bit data compare(Start) 2 138 . . . . . . . . . . . . . . . .STD< 32bit data compare(Start) 2 138 . . . . . . . . . . . . . . . .STD Floating point real number datacomparison: (Start) 2 140 . . . .STF>= Floating point real number datacomparison: (Start) 2 140 . . . .STF< Floating point real number datacomparison: (Start) 2 140 . . . .STF 16bit data compare(AND) 2 142 . . . . . . . . . . . . . . . .AN>= 16bit data compare(AND) 2 142 . . . . . . . . . . . . . . . .AN< 16bit data compare(AND) 2 142 . . . . . . . . . . . . . . . .AN 32bit data compare(AND) 2 144 . . . . . . . . . . . . . . . .AND>= 32bit data compare(AND) 2 144 . . . . . . . . . . . . . . . .AND< 32bit data compare(AND) 2 144 . . . . . . . . . . . . . . . .AND Floating point real number datacomparison: (AND) 2 146 . . . .ANF>=Floating point real number datacomparison: (AND) 2 146 . . . .ANF< Floating point real number datacomparison: (AND) 2 146 . . . .ANF 16bit data compare(OR) 2 148 . . . . . . . . . . . . . . . . .OR>= 16bit data compare(OR) 2 148 . . . . . . . . . . . . . . . . .OR< 16bit data compare(OR) 2 148 . . . . . . . . . . . . . . . . .OR 32bit data compare(OR) 2 150 . . . . . . . . . . . . . . . . .ORD>= 32bit data compare(OR) 2 150 . . . . . . . . . . . . . . . . .ORD< 32bit data compare(OR) 2 150 . . . . . . . . . . . . . . . . .ORD Floating point real number datacomparison: (OR) 2 152 . . . . .ORF>= Floating point real number datacomparison: (OR) 2 152 . . . . .ORF< Floating point real number datacomparison: (OR) 2 152 . . . . .ORF