LadderProg Manual



Comments



Description

Ladder Program Converter Operation ManualLadder Program Converter Operation Manual CONTENTS 1. About Ladder Program Converter...........................................................8 2. Operation Environment............................................................................8 2.1. OS Object Operation System ..........................................................8 2.2. Object PLC Series ............................................................................8 3. Installation and uninstall .........................................................................9 3.1. Installation ........................................................................................9 3.2. Uninstall............................................................................................9 4. Notice about the conversion .................................................................10 4.1. Notice of the Copy-Paste Conversion Method ............................10 4.2. Conversion limition........................................................................10 5. Copy-Paste Conversion Method in CX-P..............................................12 5.1. Copy Program from GX-Developer of Mitsubishi........................12 5.2. Copy Program from STEP 7 MicroWIN of Siemens.....................18 5.3. Conversion List File.......................................................................25 6. ERROR List and Solutions ....................................................................27 7. Appendix .................................................................................................28 7.1. Instruction Convert list..................................................................28 2 / 47 Ladder Program Converter Operation Manual Introduction This manual contains information required to use the Ladder Program Converter. Please refer to the user’s manual of PLC unit while you use Ladder Program Converter. Intended Audience This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge of designing FA systems. • Personnel in charge of managing FA systems and facilities. Note This manual contains information required to use the Ladder Program Converter. Read this manual completely and be sure you understand the contents before attempting to use the Ladder Program Converter. Pease keep the manual and always keep it at hand after reading. Read and Understand this Manual 1. WARRANTY This software is used to convert the instructions of FX1S/FX1N series made by Mitsubishi Electric Corporation and S7-200 series made by Siemens to OMRON instructions according to the conversion rules as much as possible. OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. After conversion operation, the Programmable Logic Controller is responsible for the operation of CX-Programmer for CP1E. Please refer to the programmable manual of our company. Related Manuals CP1E CPU Unit Hardware User’s Manual (Cat. No. W479) CP1E CPU Unit Software User’s Manual (Cat. No. W480) 2. LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. 3 / 47 Ladder Program Converter Operation Manual 3. SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use. The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products: • Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this manual. • Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations. • Systems, machines, and equipment that could present a risk to life or property. Please know and observe all prohibitions of use applicable to the products. NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM. 4. CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons. 4 / 47 Ladder Program Converter Operation Manual Requirement of configuration Environment of the converter can be installed Microsoft Windows 2000 Service Pack2 or lower /Me Pentium series CPU 150MHz or better CPU Pentium III 1GHz or better central processors 256MB or more 50MB of free Microsoft Windows XP Pentium series CPU 300MHz or better CPU Pentium III 1GHz or better central processors 384MB or more 50MB of free Microsoft Windows Vista (32bit version) Microsoft recommended configuration(1GHz or better CPU) Must be 512MB or more 1GB or more is better 50MB of free CPU Memory(RAM) Hard drive space 5 / 47 . Precautions for Safe Use Indicates precautions on what to do and what not to do to ensure using the product safely. This example indicates a precaution for electric shock. there may be severe property damage. Symbols The triangle symbol indicates precautions (including warnings). The specific operation is shown in the circle and explained in text. The specific operation is shown in the circle and explained in text. will result in death or serious injury. This example shows a general precaution for something that you must do. Indicates an imminently hazardous situation which. 6 / 47 . if not avoided. The safety precautions that are provided are extremely important to safety.Ladder Program Converter Operation Manual Safety Precautions Definition of Precautionary Information The following notation is used in this manual to provide precautions required to ensure safe usage of Ladder Program Converter. Always read and heed the information provided in all safety precautions. CX-Programmer and Programmable Logic Controller (PLC). Indicates a potentially hazardous situation which. if not avoided. may result in minor or moderate injury. Precautions for Correct Use Indicates precautions on what to do and what not to do to ensure proper operation and performance. Additional Information Additional information to increase understanding or make operation easier. The filled circle symbol indicates operations that you must do. The specific operation is shown in the triangle and explained in text. The circle and slash symbol indicates operations that you must not do. Additionally. or property damage. This example indicates a general precaution. The specific operation is shown in the triangle and explained in text. it is necessary to confirm there is no repetition of I/O memory. System operation may be abnormal without confirmation. The operation of the made ladder program must be confirmed enough before carrying out a formal operational. If you want to add program after conversion. The triangle symbol indicates precautions (including warnings).Ladder Program Converter Operation Manual The triangle symbol indicates precautions (including warnings). System operation may be abnormal without confirmation. Because the ladder program can not be converted completely. This tool is just used to convert the instructions of Mitsubishi and Siemens to instructions of OMRON according to the conversion rules as much as possible. This example indicates a precaution for hot surfaces. 7 / 47 . The specific operation is shown in the triangle and explained in text. it is necessary to modify the instructions and memory area which have not been converted. The I/O memory convert specification is made before instruction conversion. OMRON PLC type of Conversion Destination is CP1E. 1. 2.2.Ladder Program Converter Operation Manual 1. Operation System Ladder Program Converter can only run in Microsoft Windows 2000 (Service Pack2 or lower) / Microsoft Windows Me、Microsoft Windows XP、Microsoft Windows Vista (32bit version). About Ladder Program Converter This tool is used to convert the instructions of Mitsubishi and Siemens to instructions of OMRON according to the conversion rules. Operation Environment 2.1. 8 / 47 . Object PLC Series PLC type of Conversion source includes FX1S and FX1N of Mitsubishi as well as S7-200 series of Siemens. 3. Installation and uninstall 3.2. Select Ladder Program Converter from the dialogue box. Please refer to the section 3.2 for details of the method of uninstall.Ladder Program Converter Operation Manual 3. (3) Run “setup. Select Start -Setting .Control Panel . (2) Copy the install files of Ladder Program Converter to object folder specified by users. (4) Install Ladder Program Converter according to the installation prompts.exe” in the install files. otherwise the operation of reinstall and uninstall can’t carry out normally. Click the Remove Button. 9 / 47 . Note: Please don’t delete the folder where Ladder Program Converter is installed directly. Uninstall Please perform the Uninstall of Ladder Program Converter through the Add/Remove Programs. Installation The install steps are as follows: (1) Uninstall the previous version of Ladder Program Converter before installing the new version.Add/Remove Programs.1. And then finish uninstall under the instruction of install-shield wizard. Float can not be converted directly Flag SM1. SBR/CALL is used to jump to the subroutine section directly. 4. Please pay more attention to it. it jumps from SBS to SBN.1. Notice of the Copy-Paste Conversion Method (1) Setting Fx1S series and Fx1N series of Mitsubishi as the copy source has been tested. (4) When the Source instruction can not been converted to the OMRON instruction. Notice about the conversion 4. while OMRON channel length is16 bits. 10 / 47 . When set value is arrived. In Siemens. It’s a subroutine instruction.1 can not be converted The OMRON PLC doesn’t support float constant.1of Siemens needs the special Flags (P_CY. (2) In Omron CX-P. The Flag SM1. so it can not be converted. The UNDEFOPER will be output to substitute for the operand of Mitsubishi which can not be identified. the Tim Number will change after converted. paste can be performed in the Diagram view and Mnemonic view of Section. a “Mi_” will be added before the Mitsubishi instruction and a “Si_” will be added before the Siemens instruction as the conversion result in the CXT file. SBN is regarded as the sign. The program of other series PLC could not be identified.2. the section number is regarded as the sign. so it can not be converted. (6) Because the Channel length of Siemens is different from that of MONRON. Because of the different Resolution. P_OF and P_UF) of OMRON to correspond. Conversion Limition (1) About Siemens Instructions: Problem OB Series can not be converted TON TONR function is changed after being converted DIV SBR/CALL Detail Converting will break the LD’s structure. (3) The UNDEFINST will be output when Instruction of Mitsubishi can not be identified. (5) That copy from Siemens program should start with Network 1 and the minimum copy unit is one Network otherwise some programs will lost. Siemens channel length is 8 bits.Ladder Program Converter Operation Manual 4. the Error will occur during the conversion. In OMRON. OMRON TIM will stop and Siemens TIM will continue It occur address across problem after converted. The area C200~C255 of Omron is 16 bits length.-32768-1=32767 The pulse instruction of Mitsubishi is difference with that of Omron Sequence Control Instructions and SUBROUTINE instructions will no function after being converted WDT function is changed after being converted EI/DI function is changed after being converted In Mitsubishi PLC. of arithmetic is It’s the difference with that in Mitsubishi. 32767+1=-32768.. the data is cycle operation. When data is beyond max.The overflow flag is active. Omron @ instruction won’t execute after cotact P_on.when the operand is 16 bit length. Ex. program can be divided into a shorter period of time. The carry flag is active.Y Omron area CIO Mitsubishi area C200~C255 C200~C255 When data is beyond max. range in Mitsubishi. The flag will reset next cycle. Ex. The Omron PLC default ensable interrupts. the data is cycle operation. The borrow flag is active. Omron area Detail Each point of Mitsubishi area X. through WDT (watchdog timer) monitor the cycle time. When data is less than min. range in Omron. 32767+1=0. the result is recalculated from 0.Ladder Program Converter Operation Manual (2) About Mitsubishi Instructions: Problem Mitsubishi area X. The flag couldn’t reset until changing next time. Mitsubishi’s sequence control logo can’t be converted. The marker bit and the structure difference. The area C200~C255 of Mitsubishi is 32 bits length. 11 / 47 .So Function can not be achieved.-32768-1=0 The carry and borrow flag is the same flag (CF) in Omron. The Mitsubishi PLC default disable interrupts. Not every point of Omron area CIO corresponds a physical I/O. The underflow flag is active. range in Mitsubishi. Mitsubishi P instruction will execute one time after contact M8000. CF is active when data changes from plus to negative or from negative to plus. the result is recalculated from 0.Y corresponds a physical I/O.when the operand is 16 bit length. When data is less than min. range in Omron. Copy-Paste Conversion Method in CX-P The Ladder Program Converter supports copying the program from the conversion source software (Mitsubishi GX-Developer. Siemens STEP 7 MicroWIN) directly and pasting to the CX-Programmer for CP1E 1.00 or higher Version. Fig.Ladder Program Converter Operation Manual 5. 5.1. (1) Open the source program in GX-Developer. Copy Program from GX-Developer of Mitsubishi Only Fx1 series PLC of Mitsubishi supports the direct-copy method.5-1 Mitsubishi GX-Developer 12 / 47 . The integrity of program reading can not be guaranteed when the method are used to other series PLC. 13 / 47 .Ladder Program Converter Operation Manual (2) Click .5-2 Mitsubishi instruction list View (3) Select the Program needed to be converted and copy it. Fig. enter the mnemonic list window. And the following dialogue box will be displayed.00 and create a new project.5-3 OMRON CX-Programmer View (5) Paste the source program in the Diagram view or Mnemonics view.Ladder Program Converter Operation Manual (4) Start up CX-Programmer for CP1E 1. Fig. Fig. 5-4 Ladder Conversion Dialogue box 14 / 47 . 5-5) Fig. 5-6Converting progress bar 15 / 47 . 5-5 Conversion list file saving dialogue box (7) Select the conversion source PLC type.(Fig. Click the OK Button and the Converting progress bar will be displayed. Fig. designate the name and path of conversion list file.Ladder Program Converter Operation Manual (6) Click the Browse Button. Fig.Ladder Program Converter Operation Manual (8) The converted program will be displayed in the CX-Programmer.5-7 the result of conservation 16 / 47 . Ladder Program Converter Operation Manual (9) Insert the temporary variable created during the conversion into the global variable table. 5-8 insert the temporary variable 17 / 47 . Fig. Copy Program from STEP 7 MicroWIN of Siemens S7-200 series PLC of Siemens can be selected as the copy source.5-9 STEP 7 MicroWIN of Siemens 18 / 47 . Fig.2. (1) Open the program needed to be converted by STEP 7 MicroWIN of Siemens.Ladder Program Converter Operation Manual 5. Ladder Program Converter Operation Manual (2) Convert Siemens SIMATIC to International Symbol When STEP 7 MicroWIN is started.5-10 “Options” Screen of Siemens Select General in the left tree menu and International in the item of Mnemonic Set. Fig.5-11 “General” Screen of Siemens 19 / 47 . click Tools menu or right button. select Options. the “Options” screen is displayed. Fig. 20 / 47 . Fig. and the minimum copy unit is one Network.Ladder Program Converter Operation Manual (3) Select view – STL. 5-12 Siemens Instruction (Mnemonic) list View (4) Select the program needed to be converted. Note: It has to start from Network1. View the program in STL mode (Mnemonic list). 00 and create a new project. Fig. 5-13 OMRON CX-Programmer (6) Paste the source program in the Diagram view or Mnemonics view. 5-14 Ladder Conversion Dialogue box 21 / 47 . Fig. And the in following dialogue box will be displayed.Ladder Program Converter Operation Manual (5) Start up CX-Programmer for CP1E 1. Designate the name and path of conversion list file.5-15 conversion list file selection Dialogue box (8) Select the conversion destination PLC type. 5-16 Converting Progress Bar 22 / 47 . Fig. Fig. Click the OK Button and the Converting progress bar will be displayed.Ladder Program Converter Operation Manual (7) Click the Browse Button. Fig.If the conversion list file designated in step 6. the conversion results will be output to this file. 5-17 the result of conversion 23 / 47 . Corresponding converter information will display in the output window.Ladder Program Converter Operation Manual (9) The converted program will be displayed in the CX-Programmer. 5-18 Insert temporary variable 24 / 47 . Fig.Ladder Program Converter Operation Manual (10)Insert the temporary variables created during the conversion into the global variable table. It is a CSV file. Please modify it manually.Ladder Program Converter Operation Manual 5. the Step No. Conversion List File Conversion List File is the instruction list before and after the conversion. 4) Please edit the CSV file in Notepad. will be generated normally.3. the instruction of conversion destination has not Step No. the decimal fraction part will be lost.instruction of OMRON in excel will be as maths symbols . For example 0. (1) Conversion List File specification 6 columns: 1) Conversion Source Step (Step No. the content of CSV file first column (Conversion Source Step) is not the Step No. 25 / 47 . only the first OMRON instruction of conversion destination has the Step No. 3) The +、-、++ and -.Please modify it manually. for Siemens instruction) 2) Conversion Source Instruction 3) Conversion Source Operand 4) Conversion Destination Step 5) Conversion Destination Instruction 6) Conversion Destination Operand When the conversion type is 1:N*Note1. When the instruction conversion error occurs.00 will be displayed as 0. When converting the Mitsubishi program by the COPY-PASTE conversion method. NetWork No. please pay attention to the following items: 1) When the operand of OMRON instruction is bool type and the decimal fraction part is 0. When the operand conversion error occurs. 2) The +L、-L、++L and --L instruction of OMRON will be displayed as “#NAME?”. *Note 1: One source instruction is converted to more than one destination instruction or one source instruction being converted to one destination instruction with different number and order of operands (2) Open the CSV File in Excel When Opening the CSV file in Excel. not in Excel. in GX-D but the Instruction Quantity No. for Mitsubishi instruction. 0 VW0 VW2 I0.01 VB0 VB1 VB2 END 26 / 47 .00 T1 BIN(023) T0 LD MI_REF END 0.Ladder Program Converter Operation Manual (3) Conversion Example Example of Mitsubishi: SrcStep 0 1 6 7 12 Example of Siemens: SrcStep NetWork 1 NetWork 1 NetWork 2 NetWork 2 SrcInst LD MOVW LD STR SrcMem I0.00 D2 MOV(021) D0 LD SI_STR 0.01 X000 K0 DstStep 0 1 (No Step number) 2 (No Step number) (No Step number) (No Step number) 3 DstInst LD DstMem 0.1 VB0 VB1 VB2 END ORGANIZATION BLOCK ENDP SrcInst LD BIN LD REF END SrcMem X000 T0 T1 X001 X000 K0 DstStep 0 1 (No Step number) 2 (No Step number) (No Step number) 3 DstInst LD DstMem 0. Ladder Program Converter Operation Manual 6. ERROR List and Solutions Error List Solutions Choose the “Generated a conversion list” and click the “OK” button when the path and name of conversion list file is not designated. The warning will be displayed. 27 / 47 . Instruction Convert list Conversion status: ○: Complete conversion △: Incomplete conversion (Restrict Condition) ×: No conversion (1) Mitsubishi PLC Instruction Convert List (Note: Specific conversion information. refer to Appendix: Mitsubishi Convert Specification) No.1. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 Instruction (FX1S/FX1N) LD LDI AND ANI OR ORI LDP LDF ANDP ANDF ORP ORF ANB ORB MPS MRD MPP INV OUT OUT [T] OUT [C] SET RST PLS PLF MC MCR END Class Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Basic Program instructions Function Load Load Inverse And And Inverse Or Or Inverse Load Pulse Load Falling Pulse And Pulse And Falling Pulse Or Pulse Or Falling Pulse And Block Or Block Point Store Read PoP Inverse Out Out Out Set Reset Pulse Falling pulse Master Control Master control reset End Convert Status Remark ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ 28 / 47 . Appendix 7.Ladder Program Converter Operation Manual 7. NO conversion. Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Function No Operation Conditional jump Conditional jump pulse Call Subroutine Call Subroutine Subroutine Return Interrupt Return Enable Iinterrupt Disable Interrupt First End Watchdog Timer Watchdog Timer Start of a For/Next loop End a For/Next loop Lable No Compare Convert Status Remark ○ ○ ○ ○ ○ ○ × ○ ○ ○ ○ ○ △ ○ × △ △ △ △ △ △ △ △ △ △ △ △ Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Instruction (FX1S/FX1N) NOP CJ CJP CALL CALLP SRET IRET EI DI FEND WDT WDTP FOR NEXT Pn CMP Class Basic Program instructions Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Program Flow-Functins Lable No. 45 CMPP Compare 46 DCMP Compare 47 DCMPP Compare 48 ZCP Zone Compare 49 ZCPP Zone Compare 50 DZCP Zone Compare 51 DZCPP Zone Compare 52 MOV Move 53 MOVP Move 54 DMOV Move 55 DMOVP Move 29 / 47 . NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion.Ladder Program Converter Operation Manual No. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. 56 Instruction (FX1S/FX1N) BMOV Class Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Move and Compare Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Function Block Move Convert Status Remark Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion.Ladder Program Converter Operation Manual No. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. NO conversion. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ 57 BMOVP Block Move Binary Coded Decimal Binary Coded Decimal Binary Coded Decimal Binary Coded Decimal Binary 58 BCD 59 BCDP 60 DBCD 61 DBCDP 62 BIN 63 BINP Binary 64 DBIN Binary 65 DBINP Binary 66 ADD Addition 67 ADDP Addition 68 DADD Addition 69 DADDP Addition 70 SUB Subtraction 71 SUBP Subtraction 72 DSUB Subtraction 73 DSUBP Subtraction 74 MUL Multiplication 75 MULP Multiplication 76 DMUL Multiplication 77 DMULP Multiplication 30 / 47 . Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. Operand includes KYZ、KSZ、 KMZ、TZ、CZ. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes KYZ、KSZ、 KMZ、TZ、TV、CZ、CV. Operand includes KYZ、KSZ、 KMZ、TZ、CZ. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. 78 Instruction (FX1S/FX1N) DIV Class Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Arithmetic and Logical operations Function Division Convert Status Remark Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. NO conversion. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ △ 79 DIVP Division 80 DDIV Division 81 DDIVP Division 82 INC Increment 83 INCP Increment 84 DINC Increment 85 DINCP Increment 86 DEC Decrement 87 DECP Decrement 88 DDEC Decrement 89 DDECP Decrement 90 WAND Word And 91 WANDP Word And 92 DAND Word And 93 DANDP Word And 94 WOR Word Or 95 WORP Word Or 96 DOR Word Or 97 DORP Word Or Word exclusive Or Word exclusive Or 98 WXOR 99 WXORP 31 / 47 . NO conversion. Operand includes KYZ、KSZ、 KMZ、TZ、CZ. Operand includes KYZ、KSZ、 KMZ、TZ、TV、CZ、CV. NO conversion. NO conversion. Operand includes KYZ、KSZ、 KMZ、TZ、TV、CZ、CV. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand includes KZ、KV、KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. NO conversion. Operand includes KYZ、KSZ、 KMZ、TZ、TV、CZ、CV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion.Ladder Program Converter Operation Manual No. NO conversion. NO conversion. NO conversion. Operand includes KYZ、KSZ、 KMZ、TZ、CZ. NO conversion. NO conversion. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand 1 isn’t T、C、D. 32 / 47 . Operand 2 isn’t T、C、D、V、Z、 DV、DZ. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV.Ladder Program Converter Operation Manual No. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV. NO conversion. Operand includes TZ,TV,CZ, CV. NO conversion. NO conversion. Operand 2 isn’t T、C、D、V、Z、 DV、DZ. Operand 1 includes KZ、 KV、 KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. NO conversion. 100 Instruction (FX1S/FX1N) DXOR Class Arithmetic and Logical operations Arithmetic and Logical operations Rotation and Shift Rotation and Shift Rotation and Shift Rotation and Shift Rotation and Shift Function Word exclusive Or Word exclusive Or (Bit)Shift Right (Bit)Shift Right (Bit)Shift Left (Bit)Shift Left Convert Status Remark Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. Operand includes TZ,TV,CZ, CV. NO conversion. Operand 2 isn’t T、C、D、V、Z、 DV、DZ. NO conversion. NO conversion. Operand 1 isn’t T、C、D、V、Z、 DZ、DV. NO conversion. NO conversion. NO conversion. Operand 2 isn’t T、C、D. NO conversion. NO conversion. △ △ △ △ △ △ 101 102 103 104 105 DXORP SFTR SFTRP SFTL SFTLP 106 SFWR Shift Register Write △ 107 SFWRP Rotation and Shift Shift Register Write △ 108 SFRD Rotation and Shift Shift Register Read △ 109 SFRDP Rotation and Shift Data Operation Data Operation Data Operation Shift Register Read Zone Reset Zone Reset △ △ △ △ 110 111 ZRST ZRSTP 112 DECO Decode 113 DECOP Data Operation Decode △ 114 ENCO Data Operation Encode △ 115 ENCOP Data Operation Encode △ 116 LD= Inline Comparisons (S1)=(S2) △ 117 LDD= Inline Comparisons (S1)=(S2) △ 118 LD> Inline Comparisons (S1)>(S1) △ 119 LDD> Inline Comparisons (S1)>(S1) △ Operand 1 includes KZ、 KV、 KXZ、 KYZ、KSZ、KMZ、TZ、TV、CZ、 CV. Operand 2 isn’t T、C、D. NO conversion. Operand 2 isn’t T、C、D、V、Z、 DV、DZ. Operand 1 isn’t T、C、D、V、Z、 DZ、DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand 1 isn’t T、C、D. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、 KXZ、 KYZ、 KSZ、KMZ、TZ、CZ. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion.Ladder Program Converter Operation Manual No. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. 120 (S1)<(S2) △ 121 LDD< Inline Comparisons (S1)<(S2) △ 122 LD<> Inline Comparisons (S1)≠(S2) △ 123 LDD<> Inline Comparisons (S1)≠(S2) △ 124 LD<= Inline Comparisons (S1)≦(S2) △ 125 LDD<= Inline Comparisons (S1)≦(S2) △ 126 LD>= Inline Comparisons (S1)≧(S2) △ 127 LDD>= Inline Comparisons (S1)≧(S2) △ 128 AND= Inline Comparisons (S1)=(S2) △ 129 ANDD= Inline Comparisons (S1)=(S2) △ 130 AND> Inline Comparisons (S1)>(S1) △ 131 ANDD> Inline Comparisons (S1)>(S1) △ 132 AND< Inline Comparisons (S1)<(S2) △ 133 ANDD< Inline Comparisons (S1)<(S2) △ 134 AND<> Inline Comparisons (S1)≠(S2) △ 135 ANDD<> Inline Comparisons (S1)≠(S2) △ 136 AND<= Inline Comparisons (S1)≦(S2) △ 33 / 47 . Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Instruction (FX1S/FX1N) LD< Class Inline Comparisons Function Convert Status Remark Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. NO conversion. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV.Ladder Program Converter Operation Manual No. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. 137 (S1)≦(S2) △ 138 AND>= Inline Comparisons (S1)≧(S2) △ 139 ANDD>= Inline Comparisons (S1)≧(S2) △ 140 OR= Inline Comparisons (S1)=(S2) △ 141 ORD= Inline Comparisons (S1)=(S2) △ 142 OR> Inline Comparisons (S1)>(S1) △ 143 ORD> Inline Comparisons (S1)>(S1) △ 144 OR< Inline Comparisons (S1)<(S2) △ 145 ORD< Inline Comparisons (S1)<(S2) △ 146 OR<> Inline Comparisons (S1)≠(S2) △ 147 ORD<> Inline Comparisons (S1)≠(S2) △ 148 OR<= Inline Comparisons (S1)≦(S2) △ 149 ORD<= Inline Comparisons (S1)≦(S2) △ 150 OR>= Inline Comparisons (S1)≧(S2) △ 151 ORD>= Inline Comparisons High Speed Processing High Speed Processing High Speed Processing High Speed Processing (S1)≧(S2) △ × × × × 152 153 154 155 REF DREF MTR DHSCS Refresh Refresh Input matrix High speed cunter set 34 / 47 . NO conversion. NO conversion. NO conversion. NO conversion. Instruction (FX1S/FX1N) ANDD<= Class Inline Comparisons Function Convert Status Remark Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. NO conversion. NO conversion. NO conversion. Operand includes KZ、KV、KX、 KY、KS、KM、KXZ、KYZ、KSZ、 KMZ、TZ、TV、CZ、CV、DZ、 DV. Ladder Program Converter Operation Manual No. 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 Instruction (FX1S/FX1N) DHSCR SPD PLSY DPLSY PWM PLSR DPLSR IST ABSD DABSD INCD ALT ALTP RAMP DSW SEGL FROM(FX1N) Class High Speed Processing High Speed Processing High Speed Processing High Speed Processing High Speed Processing High Speed Processing High Speed Processing Handy Instructions Handy Instructions Handy Instructions Handy Instructions Handy Instructions Handy Instructions Handy Instructions External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX I/O Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices Function High speed cunter reset Speed detect Pulse Y output Pulse Y output Pulse width modulation Ramp Pulse output Ramp Pulse output Initial State Absolute Drum Absolute Drum Incremental Drum Altermate State Altermate State Ramp-Variable Value Digital Switch Seven Segment With Latch Read From A Special Function Block Read From A Special Function Block Read From A Special Function Block Read From A Special Function Block Write To A Special Function Block Write To A Special Function Block Write To A Special Function Block Write To A Special Function Block RS Communications Parallel run Parallel run Parallel run Parallel run HEX to ASCII Convert Status Remark × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 35 / 47 173 FROMP(FX1N) 174 DFROM(FX1N) 175 DFROMP(FX1N) 176 TO(FX1N) 177 TOP(FX1N) 178 DTO(FX1N) 179 180 181 182 183 184 185 DTOP(FX1N) RS PRUN PRUNP DPRUN DPRUNP ASCI . Ladder Program Converter Operation Manual No. 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 Instruction (FX1S/FX1N) ASCIP HEX HEXP CCD CCDP VRRD VRRDP VRSC VRSCP PID DABS ZRN DZRN PLSV DPLSV DRVI DDRVI DRVA DDRVA TCMP TCMPP TZCP TZCPP TADD TADDP TSUB TSUBP TRD TRDP TWR TWRP HOUR DHOUR RD3A(FX1N) Class External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices External FX Serial Devices Positioning Control Positioning Control Positioning Control Positioning Control Positioning Control Positioning Control Positioning Control Positioning Control Positioning Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Real Time clock Control Gray Codes Function HEX to ASCII ASCII to HEX ASCII to HEX Check Code Check Code Volume Read Volume Read Volume Scale Volume Scale PID Control Loop Absolute current value read Zero return Zero return Pulse V Pulse V Drive to increment Drive to increment Drive to absolute Drive to absolute Time Compare Time Compare Time Zone Compare Time Zone Compare Time Add Time Add Time Subtract Time Subtract Read RTC data Read RTC data Set RTC data Set RTC data Hour meter Hour meter Read Analog Bolck Convert Status Remark × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × × 36 / 47 . Ladder Program Converter Operation Manual No. 220 221 222 223 224 Instruction (FX1S/FX1N) RD3AP(FX1N) WR3A(FX1N) WR3AP(FX1N) STL RET Class Gray Codes Gray Codes Gray Codes STL Program STL Program Function Read Analog Bolck Write to Analog Bolck Write to Analog Bolck STL ladder Return Convert Status Remark × × × × × 37 / 47 . Ladder Program Converter Operation Manual (2) Siemens PLC Instruction Convert List (Note: Specific conversion information. refer to Appendix: Siemens Convert Specification) No. Instruction (S7-200) Class Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Bit Logic Instructions Compare Instructions Compare Instructions Function And ENO Load Load Not And And Not Or Or Not Load immediate Load Not immediate And immediate And Not immediate Or immediate Or Not immediate And Block Or Block Not Pulse Falling Pulse Output Output immediate Set Reset Set immediate Reset immediate Set Dominant Bistable Reset Dominant Bistable instruction Nop Compare Load Byte N1=N2 Compare Load Byte N1<N2 Convert Status Remark 1 AENO 2 LD 3 LDN 4 A 5 AN 6 O 7 ON 8 LDI 9 LDNI 10 AI 11 ANI 12 OI 13 ONI 14 ALD 15 OLD 16 NOT 17 EU 18 ED 19 = 20 =I 21 S 22 R 23 SI 24 RI 25 SR 26 RS 27 NOP 28 LDB= 29 LDB< ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ × × ○ × × ○ ○ 38 / 47 . Instruction (S7-200) Class Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Function Compare Load Byte N1>N2 Compare Load Byte N1<>N2 Compare Load Byte N1<=N2 Compare Load Byte N1>=N2 Compare Load Word N1=N2 Compare Load Word N1<N2 Compare Load Word N1>N2 Compare Load Word N1<>N2 Compare Load Word N1<=N2 Compare Load Word N1>=N2 Compare Load Double Word N1=N2 Compare Load Double Word N1<N2 Compare Load Double Word N1>N2 Compare Load Double Word N1<>N2 Compare Load Double Word N1<=N2 Compare Load Double Word N1>=N2 Compare Load Real N1=N2 Compare Load Real N1<N2 Compare Load Real N1>N2 Compare Load Real N1<>N2 Compare Load Real N1<=N2 Compare Load Real N1>=N2 Compare And Byte N1=N2 Compare And Byte N1<N2 Compare And Byte N1>N2 Compare And Byte N1<>N2 Compare And Byte N1<=N2 Compare And Byte N1>=N2 Convert Status Remark 30 LDB> 31 LDB<> 32 LDB<= 33 LDB>= 34 LDW= 35 LDW< 36 LDW> 37 LDW<> 38 LDW<= 39 LDW>= 40 LDD= 41 LDD< 42 LDD> 43 LDD<> 44 LDD<= 45 LDD>= 46 LDR= 47 LDR< 48 LDR> 49 LDR<> 50 LDR<= 51 LDR>= 52 AB= 53 AB< 54 AB> 55 AB<> 56 AB<= 57 AB>= ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ 39 / 47 .Ladder Program Converter Operation Manual No. Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Function Compare And Word N1=N2 Compare And Word N1<N2 Compare And Word N1>N2 Compare And Word N1<>N2 Compare And Word N1<=N2 Compare And Word N1=>N2 Compare And Double Word N1=N2 Compare And Double Word N1<N2 Compare And Double Word N1>N2 Compare And Double Word N1<>N2 Compare And Double Word N1<=N2 Compare And Double Word N1>=N2 Compare And Real N1=N2 Compare And Real N1<N2 Compare And Real N1>N2 Compare And Real N1<>N2 Compare And Real N1<=N2 Compare And Real N1>=N2 Compare Or Byte N1=N2 Compare Or Byte N1<N2 Compare Or Byte N1>N2 Compare Or Byte N1<>N2 Compare Or Byte N1<=N2 Compare Or Byte N1>=N2 Compare Or Word N1=N2 Compare Or Word N1<N2 Compare Or Word N1>N2 Compare Or Word N1<>N2 Convert Status Remark 58 AW= 59 AW< 60 AW> 61 AW<> 62 AW<= 63 AW>= 64 AD= 65 AD< 66 AD> 67 AD<> 68 AD<= 69 AD>= 70 AR= 71 AR< 72 AR> 73 AR<> 74 AR<= 75 AR>= 76 OB= 77 OB< 78 OB> 79 OB<> 80 OB<= 81 OB>= 82 OW= 83 OW< 84 OW> 85 OW<> ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ 40 / 47 . Instruction (S7-200) Class Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Compare Instructions Timer Instructions Timer Instructions Timer Instructions Timer Instructions Timer Instructions Timer Instructions Counter Instructions Function Compare Or Word N1<=N2 Compare Or Word N1=>N2 Compare Or Double Word N1=N2 Compare Or Double Word N1<N2 Compare Or Double Word N1>N2 Compare Or Double Word N1<>N2 Compare Or Double Word N1<=N2 Compare Or Double Word N1>=N2 Compare Or Real N1=N2 Compare Or Real N1<N2 Compare Or Real N1>N2 Compare Or Real N1<>N2 Compare Or Real N1<=N2 Compare Or Real N1>=N2 Compare Load String IN1=IN2 Compare Load String IN1<>IN2 Compare And String IN1=IN2 Compare And String IN1<>IN2 Compare Or String IN1=IN2 Compare Or String IN1<>IN2 On-Delay Timer Retentive On-Delay Timer Off-Delay Timer Pulse Timer Beginning Interval Time Calculate Interval Time CU increments the current value Convert Status Remark 86 OW<= 87 OW>= 88 OD= 89 OD< 90 OD> 91 OD<> 92 OD<= 93 OD>= 94 OR= 95 OR< 96 OR> 97 OR<> 98 OR<= 99 OR>= 100 LDS= 101 LDS<> 102 AS= 103 AS<> 104 OS= 105 OS<> 106 TON 107 TONR 108 TOF 109 TP 110 BGN_ITIME 111 CAL_ITIME 112 CTU ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ × × × × × × ○ ○ × × × × ○ 41 / 47 .Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Counter Instructions Counter Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Real Math Instructions Function CU increments the current value CD decrements the current value CD decrements the current value Add Integer IN1+OUT=OUT Subtract Integer IN1-OUT=OUT Add double Integer IN1+OUT=OUT Subtract Integer IN1-OUT=OUT Multiply Interger IN1*OUT=OUT Divide Interger IN1/OUT=OUT Multiply Double Interger IN1*OUT=OUT Divide Double Interger IN1/OUT=OUT Multiply Integer to Double Interger(16*16-〉 32) Divide Interger (16/16-〉32) Bit Increment Bit Decrement Word Increment Word Decrement Double Word Increment Double Word Decrement Add Real IN1+OUT=OUT Subtract Real IN1-OUT=OUT Multiply Real IN1*OUT=OUT Divide Real IN1/OUT=OUT Square Root Natural Logarithm Natural Exponential Sine Cosine Convert Status Remark 113 CTUD 114 CTD 115 ADD_I 116 SUB_I 117 ADD_DI 118 SUB_DI 119 MUL_I 120 DIV_I 121 MUL_DI 122 DIV_DI 123 MUL 124 DIV 125 INCB 126 DECB 127 INCW 128 DECW 129 INCD 130 DECD 131 ADD_R 132 SUB_R 133 MUL_R 134 DIV_R 135 SQRT 136 LN 137 EXP 138 SIN 139 COS ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ × × × × × 42 / 47 .Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Real Math Instructions Real Math Instructions Move Instructions Move Instructions Move Instructions Move Instructions Move Instructions Move Instructions Move Instructions Move Instructions Move Instructions Move Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Logical Operations Instructions Function Tangent PID Loop Move Byte Move Word Move Double Word Move Real Block Move Byte Block Move Word Block Move Double Word Conversion Byet Move Byte Immediate Read Move Byte Immediate Write And Byte Convert Status Remark 140 TAN 141 PID 142 MOV_B 143 MOV_W 144 MOV_DW 145 MOV_R 146 BLKMOV_B 147 BLKMOV_W 148 BLKMOV_D 149 SWAP 150 MOV_BIR 151 MOV_BIW 152 WAND_B 153 WOR_B 154 WXOR_B 155 WAND_W 156 WOR_W 157 WXOR_W 158 WAND_DW 159 WOR_DW 160 WXOR_DW 161 INV_B 162 INV_W 163 INV_DW × × ○ ○ ○ ○ × ○ ○ ○ × × ○ Or Byte Exclusive Or Byet And Word ○ ○ ○ Or Word Exclusive Or Word And Double Word Or Double Word Exclusive Or Double Word Invert Byte ○ ○ ○ ○ ○ ○ Invert Word、 Invert Double Word ○ ○ 43 / 47 .Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Shift and Rotate Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Function Shift Right Byte Convert Status Remark 164 SHR_B 165 SHL_B 166 SHR_W 167 SHL_W 168 SHR_DW 169 SHL_DW 170 ROR_B 171 ROL_B 172 ROR_W 173 ROL_W 174 ROR_DW 175 ROL_DW 176 SHRB 177 BCD_I 178 I_BCD 179 DI_R(DTR) 180 ROUND 181 TRUNC 182 DI_I 183 I_DI 184 B_I 185 I_B 186 DECO 187 ENCO × Shift Left Byte × Shift Right Word ○ Shift Left Word Shift Right Double Word Shift Left Double Word Rotate Right Byte Rotate Left Byte Rotate Right Word Rotate Left Word Rotate Right Double Word Rotate Left Double Word Shift and Rotate Register BCD to integer Integer to BCD Double Integer to Real Round Truncate Double Integer to Integer Integer to Double Integer Byte to Integer Interger to byte Decode Encode ○ ○ ○ × × ○ ○ ○ ○ × ○ ○ ○ ○ ○ × ○ × × ○ ○ 44 / 47 .Ladder Program Converter Operation Manual No. Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Conversion Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Function Segment ASCll to Hexadecimal Hexadecimal to ASCll Integer to ASCll Double Integer to ASCll Real to ASCll Integer to String Double Integer to String Real to String String to Integer String to Double Integer String to Real Jump to Label Convert Status Remark 188 SEG 189 ATH 190 HTA 191 ITA 192 DTA 193 RTA 194 I_S 195 DI_S 196 R_S 197 S_I 198 S_DI 199 S_R 200 JMP 201 LBL 202 SBR 203 CRET 204 FOR 205 NEXT 206 SCR 207 SCRT 208 CSCRE 209 SCRE 210 CALL 211 FINAL ○ × × × × × × × ○ × × ○ ○ Label ○ Subroutine Start Condutional Return from Subroutine For/Next Loop ○ × ○ For/Next Loop ○ Load SCR ○ SCR Transition Conditional SCR End SCR End ○ × × Call Subroutine FOR/NEXT loop number (Included in FOR when converted) ○ ○ 45 / 47 . Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Program Control Instructions Program Control Instructions Program Control Instructions Program Control Instructions Logic Stack Instructions Logic Stack Instructions Logic Stack Instructions Logic Stack Instructions High-Speed Counter Instructions High-Speed Counter Instructions High-Speed Counter Instructions Clock Instructions Clock Instructions Clock Instructions Clock Instructions Table Instructions Table Instructions Table Instructions Table Instructions Table Instructions Table Instructions Table Instructions Table Instructions Interrupt Instructions Interrupt Instructions Interrupt Instructions Interrupt Instructions Function END Convert Status Remark 212 END 213 DIAG_LED 214 STOP 215 WDR 216 LPS 217 LRD 218 LPP 219 LDS 220 HDEF 221 HSC 222 PLS 223 READ_RTC 224 SET_RTC 225 X READ_RTC × Diagnostic LED × Stop Watchdot Reset (300ms) Logic Push Logic Read Logic Pop Load Stack High-Speed Counter Definition High-Speed Counter Pulse Output Read-Time Clock Set Read-Time Clock Read Real Time Clock Extended Set Real Time Clock Extended Add to Table Table Find Table Find Table Find Table Find First-In-First-Out Last-In-First-Out Memory Fill Attach Interrupt Detach Interrupt Conditional Return from Interrupt Enable Interrupt × × ○ ○ ○ × × × × × × × × × × × × × × × × × × × × 46 / 47 226 SET_RTCX 227 ATT 228 FND= 229 FND<> 230 FND< 231 FND> 232 FIFO 233 LIFO 234 FILL 235 ATCH 236 DTCH 237 CRETI 238 ENI . Ladder Program Converter Operation Manual No. Instruction (S7-200) Class Interrupt Instructions Interrupt Instructions Communicatio ns Instructions Communicatio ns Instructions Communicatio ns Instructions Communicatio ns Instructions Communicatio ns Instructions Communicatio ns Instructions String Instructions String Instructions String Instructions String Instructions String Instructions String Instructions Function Disable Interrupt Clear Interrupt Event Network Read Network Write Transmit Receive Get Port Address Set Port Address String Length Copy String Concatenate String Copy Substring from String Find String Within String Find First Character Within String Convert Status Remark 239 DISI 240 CEVNT 241 NETR 242 NETW 243 XMT 244 RCV 245 GET_ADDR 246 SET_ADDR 247 STR_LEN 248 STR_CPY 249 STR_CAT 250 SSTR_CPY 251 STR_FIND 252 CHR_FIND × × × × × × × × × × × × × × 47 / 47 .
Copyright © 2024 DOKUMEN.SITE Inc.