New Ladder EditorMachine Controller MP900/MP2000 SeriesPROGRAMMING MANUALMANUAL NO. SIEZ-C887-13.1C
xAppendix A ExpressionA.1 Expression - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - A-2A.1.1 Operator- - - - - - - - -
1 Ladder Program Instructions1.5.4 TANGENT Instruction (TAN)1-901.5.4 TANGENT Instruction (TAN) OutlineThe TAN instruction uses the Source as the
1.5 Basic Function Instructions1-9111.5.5 ARC SINE Instruction (ASIN) OutlineThe ASIN instruction uses the Source as the input and stores the arc s
1 Ladder Program Instructions1.5.6 ARC COSINE Instruction (ACOS)1-921.5.6 ARC COSINE Instruction (ACOS) OutlineThe ACOS instruction uses the Sourc
1.5 Basic Function Instructions1-9311.5.7 ARC TANGENT Instruction (ATAN) OutlineThe ATAN instruction calculates the arc tangent of integer or real
1 Ladder Program Instructions1.5.8 EXPONENT Instruction (EXP)1-94 Program ExampleInteger Type DataInput X = 1.00 (MW00100 = 1.00∗100 = 100)Output X
1.5 Basic Function Instructions1-951 Parameter Program Examplee ( = 2.7183) to the power of the input value (x = 1.0) is calculated.Maximum value (
1 Ladder Program Instructions1.5.10 COMMON LOGARITHM Instruction (LOG)1-96 Parameter Program ExampleThe natural logarithm of the input value (x =
1.5 Basic Function Instructions1-971 Parameter Program ExampleThe common logarithm of the input value (x = 10.) [Log10(x) = 1.0] is calculated.LOG
1 Ladder Program Instructions1.6.1 BIT ROTATION LEFT Instruction (ROTL)1-981.6 Data Manipulation Instructions1.6.1 BIT ROTATION LEFT Instruction (
1.6 Data Manipulation Instructions1-991 Program ExampleThe data having MB00000A (bit A of MW00000) as the head address and a bit width of 10 are rot
1-111Ladder Program InstructionsThis chapter describes in the instructions for relay circuits, numeric operations, logical operations and comparisons,
1 Ladder Program Instructions1.6.2 BIT ROTATION RIGHT Instruction (ROTR)1-100 Format Parameter Program ExampleThe data having MB00000 (bit 0 of
1.6 Data Manipulation Instructions1-10111.6.3 MOVE BITS Instruction (MOVB) OutlineThe MOVB instruction moves the designated number of bits (Width)
1 Ladder Program Instructions1.6.3 MOVE BITS Instruction (MOVB)1-102 Parameter Program ExampleThe 10 bits of data starting from MB000000 (bit 0 of
1.6 Data Manipulation Instructions1-10311.6.4 MOVE WORD Instruction (MOVW) OutlineThe MOVW instruction moves the designated number of words (Width)
1 Ladder Program Instructions1.6.4 MOVE WORD Instruction (MOVW)1-104 Parameter Program ExampleThe word data MW00000 to MW00009 are transferred to
1.6 Data Manipulation Instructions1-10511.6.5 EXCHANGE Instruction (XCHG) OutlineThe XCHG instruction is used to exchange data between data tables
1 Ladder Program Instructions1.6.6 SET WORDS Instruction (SETW)1-106 Program ExampleThe contents of MW00000 to MW00009 are exchanged to MW00100 to
1.6 Data Manipulation Instructions1-1071 Format Parameter Program ExampleThe contents of MW00100 to MW00119 are set to 0. Parameter Name SettingD
1 Ladder Program Instructions1.6.7 BYTE-TO-WORD EXPANSION Instruction (BEXTD)1-1081.6.7 BYTE-TO-WORD EXPANSION Instruction (BEXTD) OutlineThe BEXT
1.6 Data Manipulation Instructions1-1091 Parameter Program ExampleThe 5 bytes beginning with MW00100 are expanded into five words beginning with MW
1 Ladder Program Instructions 1-21.2.17 ABSOLUTE VALUE CONVERSION Instruction (ABS) - - - - - - - - - - 1-451.2.18 BINARY CONVERSION Instruction (B
1 Ladder Program Instructions1.6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS)1-1101.6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS) OutlineTh
1.6 Data Manipulation Instructions1-1111 Program ExampleThe five words beginning with MW00100 are compressed into 5 bytes beginning with MW00200. 1.
1 Ladder Program Instructions1.6.9 BINARY SEARCH Instruction (BSRCH)1-112 Parameter Program ExampleData matching with 01234 are searched for in re
1.6 Data Manipulation Instructions1-11311.6.10 SORT Instruction (SORT) OutlineThe SORT instruction sorts data within the designated register range
1 Ladder Program Instructions1.6.11 BIT SHIFT LEFT Instruction (SHFTL)1-1141.6.11 BIT SHIFT LEFT Instruction (SHFTL) OutlineThe SHFTL instruction
1.6 Data Manipulation Instructions1-1151 1.6.12 BIT SHIFT RIGHT Instruction (SHFTR) OutlineThe SHFTR instruction shifts the bit sequence designated
1 Ladder Program Instructions1.6.13 COPY WORD Instruction (COPYW)1-116 Program ExampleA five-bit wide section of data with MB000005 (bit A of MW000
1.6 Data Manipulation Instructions1-1171 Parameter Program ExampleThe word data of MW00000 to MW00009 are transferred to MW00100 to MW00109. Parame
1 Ladder Program Instructions1.6.14 BYTE SWAP Instruction (BSWAP)1-1181.6.14 BYTE SWAP Instruction (BSWAP) OutlineThe BSWAP instruction swaps the
1.6 Data Manipulation Instructions1-1191 Program ExampleThe upper and lower bytes of MW00100 to MW00102 are swapped. 12H13H 44H14H 54H34H 12H34H44H
1-311.6.8 WORD-TO-WORD COMPRESSION Instruction (BPRESS) - - - - - - 1-1101.6.9 BINARY SEARCH Instruction (BSRCH) - - - - - - - - - - - - - - - - - -
1 Ladder Program Instructions1.7.1 DEAD ZONE A Instruction (DZA)1-1201.7 DDC Instructions1.7.1 DEAD ZONE A Instruction (DZA) OutlineThe DZA instr
1.7 DDC Instructions1-1211 Parameter Program ExampleInteger Type OperationDouble-length Integer Type OperationParameter Name SettingInput • Any int
1 Ladder Program Instructions1.7.2 DEAD ZONE B Instruction (DZB)1-122Real Number Type Operation1.7.2 DEAD ZONE B Instruction (DZB) OutlineThe DZB
1.7 DDC Instructions1-1231 Format Parameter Program ExampleInteger Type OperationParameter Name SettingInput • Any integer type, double-length int
1 Ladder Program Instructions1.7.3 UPPER/LOWER LIMIT Instruction (LIMIT)1-124Double-length Integer Type OperationReal Number Type Operation1.7.3 UP
1.7 DDC Instructions1-1251 Format ParameterParameter Name SettingInput • Any integer type, double-length integer type and real number type register
1 Ladder Program Instructions1.7.3 UPPER/LOWER LIMIT Instruction (LIMIT)1-126 Program ExampleInteger Type OperationDouble-length Integer Type Opera
1.7 DDC Instructions1-1271Real Number Type Operation1.7.4 PI CONTROL Instruction (PI) OutlineThe PI instruction executes a PI control operation acc
1 Ladder Program Instructions1.7.4 PI CONTROL Instruction (PI)1-128* Relay I/O Bit Assignment* Relay I/O Bit AssignmentHere, the PI operation is e
1.7 DDC Instructions1-1291Block Diagram• When the P + I offset reaches the upper or lower PI limit (UL, LL) or the PI dead band (DB)When the present
1 Ladder Program Instructions1.1.1 N.O. Contact Instruction (NOC)1-41.1 Relay Circuit Instructions1.1.1 N.O. Contact Instruction (NOC) OutlineThe
1 Ladder Program Instructions1.7.4 PI CONTROL Instruction (PI)1-130 Program ExampleInteger Type OperationMW00100 to MW00111 are used for the parame
1.7 DDC Instructions1-13111.7.5 PD CONTROL Instruction (PD) OutlineThe PD instruction executes a PD control operation according to the contents of
1 Ladder Program Instructions1.7.5 PD CONTROL Instruction (PD)1-132* Relay I/O Bit AssignmentHere, the PD operation is expressed as follows:The fol
1.7 DDC Instructions1-1331Block Diagram• When the change in deviation output (X-X’) and the previous deviation input (X’) are the same in sign (dive
1 Ladder Program Instructions1.7.5 PD CONTROL Instruction (PD)1-134 Program ExampleInteger Type OperationMW00100 to MW00109 are used for the parame
1.7 DDC Instructions1-13511.7.6 PID CONTROL Instruction (PID) OutlineThe PID instruction executes a PID control operation according to the contents
1 Ladder Program Instructions1.7.6 PID CONTROL Instruction (PID)1-136* Relay I/O Bit AssignmentHere, the PID operation is expressed as follows:The
1.7 DDC Instructions1-1371Block Diagram• When the P + I + D offset reaches the upper or lower PID limit (UL, LL) or the PID dead band (DB)When the p
1 Ladder Program Instructions1.7.6 PID CONTROL Instruction (PID)1-138 Parameter Program ExampleInteger Type OperationMW00100 to MW00115 are used f
1.7 DDC Instructions1-13911.7.7 FIRST-ORDER LAG Instruction (LAG) OutlineThe LAG instruction calculates the first-order lag according to the conten
1.1 Relay Circuit Instructions1-511.1.2 N.C. Contact Instruction (NCC) OutlineThe NCC sets the value of the bit output to OFF when the value of the
1 Ladder Program Instructions1.7.7 FIRST-ORDER LAG Instruction (LAG)1-140The following operation is performed within the LAG instruction with dt = T
1.7 DDC Instructions1-1411 Program ExampleInteger Type OperationMW00100 to MW00103 are used for the parameter table.Real Number Type OperationMF0020
1 Ladder Program Instructions1.7.8 PHASE LEAD/LAG Instruction (LLAG)1-1421.7.8 PHASE LEAD/LAG Instruction (LLAG) OutlineThe LLAG instruction calcu
1.7 DDC Instructions1-1431Here, the LLAG operation is expressed as follows:The following operation is performed within the LLAG instruction with dt =
1 Ladder Program Instructions1.7.9 FUNCTION GENERATOR Instruction (FGN)1-144 Program ExampleInteger Type OperationMW00100 to MW00105 are used for t
1.7 DDC Instructions1-1451If the data set in the parameter table for the FGN instruction are Xn and Yn, the data must be set so that Xn ≤ Yn+1. The
1 Ladder Program Instructions1.7.9 FUNCTION GENERATOR Instruction (FGN)1-146 Format Parameter Program ExampleInteger Type Operation (Number of Da
1.7 DDC Instructions1-1471Double-length Integer Type Operation (Number of Data: N = 20)#L00000 to #L00080 are used for the parameter table.Real Numbe
1 Ladder Program Instructions1.7.10 INVERSE FUNCTION GENERATOR Instruction (IFGN)1-148If the data set in the parameter table for the IFGN instructio
1.7 DDC Instructions1-1491 Format ParameterParameter Name SettingInput • Any integer type, double-length integer and real number type register• Any
1 Ladder Program Instructions1.1.3 10-MS ON-DELAY TIMER Instruction (TON [10ms])1-61.1.3 10-MS ON-DELAY TIMER Instruction (TON [10ms]) OutlineThe
1 Ladder Program Instructions1.7.10 INVERSE FUNCTION GENERATOR Instruction (IFGN)1-150 Program ExampleInteger Type Operation (Number of Data: N = 2
1.7 DDC Instructions1-15111.7.11 LINEAR ACCELERATOR/DECELERATOR 1 Instruction (LAU) OutlineThe LAU instruction performs acceleration and decelerati
1 Ladder Program Instructions1.7.11 LINEAR ACCELERATOR/DECELERATOR 1 Instruction (LAU)1-152* Relay I/O Bit Assignment* When the quick stop (QS) is
1.7 DDC Instructions1-1531• If the DVDT operation instruction (DVDTF) is ON, a current acceleration/deceleration operation (DVDT) is performed.• If
1 Ladder Program Instructions1.7.11 LINEAR ACCELERATOR/DECELERATOR 1 Instruction (LAU)1-154The current acceleration/deceleration (DVDT) is output af
1.7 DDC Instructions1-1551 Program ExampleInteger Type OperationMW00100 to MW00111 are used for the parameter table.Real Number Type OperationMF0020
1 Ladder Program Instructions1.7.12 LINEAR ACCELERATOR/DECELERATOR 2 Instruction (SLAU)1-156Table 1.28 Integer Type SLAU Instruction ParametersADR
1.7 DDC Instructions1-1571* Relay I/O Bit Assignment* When the quick stop (QS) is "OFF", the quick stop time is used for the acceleration
1 Ladder Program Instructions1.7.12 LINEAR ACCELERATOR/DECELERATOR 2 Instruction (SLAU)1-158* Relay I/O Bit AssignmentThe following operations are
1.7 DDC Instructions1-1591• Addition-subtraction speed 1(DVDT1) is operated now when DVDT1 operation instruc-tion (DVDTF) is turning on.• When DVDT
1.1 Relay Circuit Instructions1-71 Program ExampleMW00011 works as timer count register. Thus, it is essential that there is no overlap. Set an un
1 Ladder Program Instructions1.7.12 LINEAR ACCELERATOR/DECELERATOR 2 Instruction (SLAU)1-160Real Type SLAU Instruction• After (∗S) operates (∗O) as
1.7 DDC Instructions1-1611 Format Parameter Program ExampleInteger Type OperationMW00100 to MW000121 are used for the parameter table.Parameter N
1 Ladder Program Instructions1.7.12 LINEAR ACCELERATOR/DECELERATOR 2 Instruction (SLAU)1-162Real Number Type OperationMF00200 to MF00218 are used fo
1.7 DDC Instructions1-16311.7.13 PULSE WIDTH MODULATION Instruction (PWM) OutlineThe PWM instruction converts the value of the Input to PWM as an i
1 Ladder Program Instructions1.7.13 PULSE WIDTH MODULATION Instruction (PWM)1-164* Relay I/O Bit Assignment FormatTable 1.30 Integer Type PWM Ins
1.7 DDC Instructions1-1651 Parameter Program ExampleMW00100 is used as PWM input and MW00200 to MW00207 as a parameter table.PWM reset with the fir
1 Ladder Program Instructions1.8.1 BLOCK READ Instruction (TBLBR)1-1661.8 Table Data Manipulation Instructions1.8.1 BLOCK READ Instruction (TBLBR)
1.8 Table Data Manipulation Instructions1-1671 Format Parameter* Possible to omit.Table 1.32 Block Read PI Instruction ParametersADR Type Symbol
1 Ladder Program Instructions1.8.2 BLOCK WRITE Instruction (TBLBW)1-168 Program ExampleFrom the table defined as TABLE1, with DW00010 to DW00015 as
1.8 Table Data Manipulation Instructions1-1691 Format Parameter* Possible to omit. Program ExampleFrom the table defined as TABLE1, with DW00010
1 Ladder Program Instructions1.1.5 1-S ON-DELAY TIMER Instruction (TON [1s])1-8 Parameter Program ExampleMW00011 works as timer count register. T
1 Ladder Program Instructions1.8.3 ROW SEARCH Instruction (TBLSRL)1-1701.8.3 ROW SEARCH Instruction (TBLSRL) OutlineThe TBLSRL instruction searche
1.8 Table Data Manipulation Instructions1-1711 Parameter* Possible to omit. Program ExampleThe table defined as TABLE1 is searched for data which
1 Ladder Program Instructions1.8.4 COLUMN SEARCH Instruction (TBLSRC)1-172 Format Parameter* Possible to omit.Table 1.35 Column Search Instruct
1.8 Table Data Manipulation Instructions1-1731 Program ExampleThe table defined as TABLE1 is searched for data which matchers MW00100 (when the type
1 Ladder Program Instructions1.8.5 BLOCK CLEAR Instruction (TBLCL)1-174 Format Parameter* Possible to omit. Program ExampleThe designated block
1.8 Table Data Manipulation Instructions1-17511.8.6 BLOCK MOVE Instruction (TBLMV) OutlineThe TBLMV instruction transfers the data of the block ele
1 Ladder Program Instructions1.8.6 BLOCK MOVE Instruction (TBLMV)1-176 Format Parameter* Possible to omit. Program ExampleThere are tables defin
1.8 Table Data Manipulation Instructions1-17711.8.7 QUEUE TABLE READ Instructions (QTBLR, QTBLRI) OutlineThe QTBLR/QTBLRI instruction consecutively
1 Ladder Program Instructions1.8.7 QUEUE TABLE READ Instructions (QTBLR, QTBLRI)1-178 Format Parameter* Possible to omit.Parameter Name SettingT
1.8 Table Data Manipulation Instructions1-1791 Program ExampleColumn element data (element format assumed to be integer) from the table defined as T
1.1 Relay Circuit Instructions1-91 Format Parameter Program ExampleMW00011 works as timer count register. Thus, it is essential that there is no
1 Ladder Program Instructions1.8.8 QUEUE TABLE WRITE Instructions (QTBLW, QTBLWI)1-180 Format Table 1.39 Queue Table Write Instruction ParametersA
1.8 Table Data Manipulation Instructions1-1811 Parameter* Possible to omit. Program ExampleInteger form consecutive data for the number of column
1 Ladder Program Instructions1.8.9 QUEUE POINTER CLEAR Instruction (QTBLCL)1-1821.8.9 QUEUE POINTER CLEAR Instruction (QTBLCL) OutlineThe QTBLCL i
1.8 Table Data Manipulation Instructions1-1831 Parameter* Possible to omit. Program ExampleThe cue read and cue write pointer of TABLE1 are reset
2-122Standard System FunctionThis chapter describes the details of standard system functions.2.1 Message Functions - - - - - - - - - - - - - - - - -
2 Standard System Function2.1.1 Send Message Function (MSG-SND)2-22.1 Message Functions2.1.1 Send Message Function (MSG-SND) OutlineSends a messag
2.1 Message Functions2-32 Parameter Parameter DetailsThey adhere to contents-functions and so on and are collected into parameter numerical order.T
2 Standard System Function2.1.1 Send Message Function (MSG-SND)2-4Process Result (PARAM00)The process result is output to the upper byte. The lower
2.1 Message Functions2-52Status (PARAM01)Output the status of the transmission unit.• Bit Assignment• COMMANDCommand list is described below.• RES
2 Standard System Function2.1.1 Send Message Function (MSG-SND)2-6• PARAMETEROne of the error codes of Table 2.3 is indicated if RESULT = 4 (FMT_NG
Copyright © 2001 YASKAWA ELECTRIC CORPORATIONAll rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or tra
1 Ladder Program Instructions1.1.6 1-S OFF-DELAY TIMER Instruction (TOFF [1s])1-101.1.6 1-S OFF-DELAY TIMER Instruction (TOFF [1s]) OutlineThe TOF
2.1 Message Functions2-72Function Code (PARAM04)The MEMOBUS function code to be sent is set. Refer to Table 2.4.Note: 1. −: cannot be set, OK: can b
2 Standard System Function2.1.1 Send Message Function (MSG-SND)2-8Data AddressThe set contents will differ according to the function code as Table 2.
2.1 Message Functions2-92 Data Size (PARAM06)Set the size (in number of bits or number of words) of the data that is requested for readout or write-
2 Standard System Function2.1.1 Send Message Function (MSG-SND)2-10Coil Offset (PARAM08)Set the offset word address of the coil. This is valid in th
2.1 Message Functions2-112 InputEXECUTE (Send Message Execution Command)When the command becomes "ON", the message is sent.ABORT (Send Mes
2 Standard System Function2.1.1 Send Message Function (MSG-SND)2-12ERROR (Occurrence of Error)Becomes "ON" for only 1 scan upon occurrence
2.1 Message Functions2-132Fig. 2.2 Program Sample2.1.2 Receive Message Function (MSG-RCV) OutlineReceives a message from a calling station which i
2 Standard System Function2.1.2 Receive Message Function (MSG-RCV)2-14 Parameter Parameter DetailsThey adhere to contents-functions and so on and a
2.1 Message Functions2-152* Applicable only for 218IF.Process Result (PARAM00)The process result is output to the upper byte. The lower byte is for
2 Standard System Function2.1.2 Receive Message Function (MSG-RCV)2-16Status (PARAM01)Output the status of the transmission unit. See "Status (
1.1 Relay Circuit Instructions1-111 Program ExampleMW00011 works as timer count register. Thus, it is essential that there is no overlap. Set an u
2.1 Message Functions2-172Data Address (PARAM05)The data address requested by the sending side is output.Data Size (PARAM06)The data size (number of
2 Standard System Function2.1.2 Receive Message Function (MSG-RCV)2-18When Non-procedural is set for Transmission ProtocolPARAM04 has no function. T
2.1 Message Functions2-192 OutputBUSY (In Process)Indicates that the process is being executed. Keep EXECUTE set to "ON".COMPLETE (Comple
2 Standard System Function2.1.2 Receive Message Function (MSG-RCV)2-20 Program ExampleProgram example is described in Figure 2.3.
2.1 Message Functions2-212Fig. 2.3 Program Sample
2 Standard System Function2.2.1 Trace Function (TRACE)2-222.2 Trace Functions2.2.1 Trace Function (TRACE) OutlinePerforms execution control of the
2.2 Trace Functions2-232Configuration of the trace execution status (STATUS) is described below.2.2.2 Data Trace Read Function (DTRC-RD) OutlineRea
2 Standard System Function2.2.2 Data Trace Read Function (DTRC-RD)2-24 ParameterI/ODefinitionParameterNameI/ODesignationSettingInput Execute B-VAL D
2.2 Trace Functions2-252 Readout of DataReadout of Data is described in Figure 2.4.Fig. 2.4 Data ReadThe most recent record No. of trace groups are
2 Standard System Function2.2.3 Failure Trace Read Function (FTRC-RD)2-26Record LengthA Record is composed of the data for the selected items.Word le
1 Ladder Program Instructions1.1.7 RISING PULSE Instruction (ON-PLS)1-12 Program ExampleWhen IB00001 turns ON from OFF, MB000101 turns ON and stays
2.2 Trace Functions2-272 Parameter Failure Occurrence Data ReadoutFailure occurrence data readout is described in Figure 2.6. The readout will alw
2 Standard System Function2.2.3 Failure Trace Read Function (FTRC-RD)2-28 Readout Data Configuration (Failure Occurrence Data)Data ConfigurationFig.
2.2 Trace Functions2-292Number of RecordsThe Number of Records is the following. Failure Restoration DataFailure restoration data is described in Fi
2 Standard System Function2.2.3 Failure Trace Read Function (FTRC-RD)2-30Record ConfigurationRecord composition is shown in Figure 2.12.Fig. 2.12 Re
2.2 Trace Functions2-3122.2.4 Inverter Trace Read Function (ITRC-RD) OutlineReads out the trace data of the inverter and stores this data in the us
2 Standard System Function2.2.4 Inverter Trace Read Function (ITRC-RD)2-32 ParameterI/ODefinitionParameterNameI/ODesignationSettingInput Execute B-V
2.2 Trace Functions2-332 Readout of Inverter Trace DataThe readout will always be started from the most recent record. Readout Data ConfigurationDa
2 Standard System Function2.3.1 Inverter Constant Write Function (ICNS-WR)2-342.3 Inverter Functions2.3.1 Inverter Constant Write Function (ICNS-WR
2.3 Inverter Functions2-352 ParameterI/ODefinitionParameterNameI/ODesignationSettingInput Execute B-VAL Inverter constant write instructionAbort B-V
2 Standard System Function2.3.1 Inverter Constant Write Function (ICNS-WR)2-36Note: In the case of an inverter response error, the error codes from t
1.1 Relay Circuit Instructions1-1311.1.8 FALLING PULSE Instruction (OFF-PLS) OutlineThe OFF-PLS sets the value of the bit input to ON for one scan
2.3 Inverter Functions2-372 Method of Writing to an EEPROMProcedures for writing constants to an EEPROM (inverter internal constant storage memory)
2 Standard System Function2.3.1 Inverter Constant Write Function (ICNS-WR)2-38 Program ExampleAn example of a program (if MP930) that writes "2
2.3 Inverter Functions2-3922.3.2 Inverter Constant Read Function (ICNS-RD) OutlineReads the inverter constants.The types and ranges of the inverter
2 Standard System Function2.3.2 Inverter Constant Read Function (ICNS-RD)2-40 ParameterNote: In the case of an inverter response error, the error co
2.3 Inverter Functions2-412 Configuration of the Data Readout bn-01ASR integration timePG dividing ratiobn-05bn-14Cns-NoCns-SizeConstant data 1
2 Standard System Function2.4.1 Counter Function (COUNTER)2-422.4 Other Functions2.4.1 Counter Function (COUNTER) OutlineIncrements or decrements
2.4 Other Functions2-432The forms of parameter input and output are shown in below.Input Data FormInput Desig-nationDescriptionBit Input B-VAL Design
2 Standard System Function2.4.2 First-in First-out Function (FINFOUT)2-442.4.2 First-in First-out Function (FINFOUT) OutlineThis is a first-in firs
2.4 Other Functions2-452 ParameterI/ODefinitionParameterNameI/ODesignationSettingInput In-Cmd B-VAL Data input command (IN-CMD) FIFO Table Configu-r
A-1AAppendix AExpressionIt is necessary to describe the conditional expression and the operational expression in IF, WHILE, and the EXPRESSION instruc
1 Ladder Program Instructions1.1.9 COIL Instruction (COIL)1-14Register status of Falling pulse instruction is shown in Table 1.2.Note: Case of Progr
Appendix A ExpressionA.1.1 OperatorA-2A.1 ExpressionThe Expression is composed of the operator, the operand (constant and variable), and functions.
A.1 ExpressionA-3ASubstitution Operator= A right value is substituted for a left valueReserved Wordtrue/false Value to logical expression Priority L
Appendix A ExpressionA.1.2 OperandA-4A.1.2 Operand ConstantThe constant is either the integer or the real number.IntegerThe integer can use the va
A.1 ExpressionA-5AA.1.3 Instructions Available in EXPRESSION Instruction Instruction Contents ExampleReserved Word+ Addition MW00001 = MW00002 + MW00
Appendix A ExpressionA.2.1 Arithmetic OperatorA-6A.2 Recognizable ExpressionThe Expression is described by combining the operand and the operator.
A.2 Recognizable ExpressionA-7AA.2.4 Substitution OperatorIf it is a difference of the real type or the integer type even if a right, left type is d
Appendix A ExpressionA.2.6 OthersA-8 ArrayThe array can be specified by using “[” and “]” B as well as C language.MW00001 = MW00002 [100] OKMW00001
A.3 Application to Ladder ProgramA-9AA.3 Application to Ladder ProgramThe use of Expression in the ladder program is divided into three kinds of the
Appendix A ExpressionA.3.3 Operational Expression of EXPRESSION InstructionA-10A.3.3 Operational Expression of EXPRESSION InstructionThe Expression
Revision HistoryThe revision dates and numbers of the revised manuals are given on the bottom of the back cover.Date of PublicationRev. No.WEB Rev. No
1.1 Relay Circuit Instructions1-151 Program ExampleWhen MB000100 becomes ON, MB000101 becomes ON.1.1.10 SET COIL Instruction (S-COIL) OutlineThe
IRUMA BUSINESS CENTER (SOLUTION CENTER)480, Kamifujisawa, Iruma, Saitama 358-8555, JapanPhone 81-4-2962-5151 Fax 81-4-2962-6138http://www.yaskawa.
1 Ladder Program Instructions1.1.10 SET COIL Instruction (S-COIL)1-16 Program ExampleCase where the same output destination is designated multiple
1.1 Relay Circuit Instructions1-1711.1.11 RESET COIL Instruction (R-COIL) OutlineThe R-COIL turns OFF the output when the execution condition is sa
1 Ladder Program Instructions1.1.11 RESET COIL Instruction (R-COIL)1-18The above example acts as in the graph below.* When OB00000 is ON, with the
1.2 Numeric Operation Instructions1-1911.2 Numeric Operation Instructions1.2.1 STORE Instruction (STORE) OutlineThe STORE instruction stores the c
iiiiiiAbout This Manual This manual describes the programming instructons of the New Ladder Editor, a programming software application that aids in t
1 Ladder Program Instructions1.2.1 STORE Instruction (STORE)1-20 Program ExampleWhen a double-length integer type data is stored in an integer type
1.2 Numeric Operation Instructions1-2111.2.2 ADDITION Instruction (ADD) OutlineThe ADD instruction adds integer, double-length integer, and real nu
1 Ladder Program Instructions1.2.2 ADDITION Instruction (ADD)1-22 Program Example Addition of Integer Type ValuesAddition of Real Number Type Value
1.2 Numeric Operation Instructions1-2311.2.3 EXTENDED ADDITION Instruction (ADDX) OutlineThe ADDX instruction adds integer values. Source B is adde
1 Ladder Program Instructions1.2.4 SUBTRACTION Instruction (SUB)1-24 Program ExampleThis instruction is used in cases where it is desirable that op
1.2 Numeric Operation Instructions1-251 Parameter Program ExampleSubtraction of Integer Type ValuesParameter Name SettingSource A • Any integer typ
1 Ladder Program Instructions1.2.4 SUBTRACTION Instruction (SUB)1-26Subtraction of Real Number Type ValuesIn the case of double-length integer type
1.2 Numeric Operation Instructions1-2711.2.5 EXTENDED SUBTRACTION Instruction (SUBX) OutlineThe SUBX instruction subtracts integer values. No oper
1 Ladder Program Instructions1.2.6 MULTIPLICATION Instruction (MUL)1-28 Program ExampleThis instruction is used in cases where it is desirable that
1.2 Numeric Operation Instructions1-291 Parameter Program ExampleMultiplication of Integer Type ValuesParameter Name SettingSource A • Any integer
ivVisual AidsThe following aids are used to indicate certain types of information for easier refer-ence.Indicates important information that shoul
1 Ladder Program Instructions1.2.6 MULTIPLICATION Instruction (MUL)1-30Multiplication of Double-length Integer Type ValuesMultiplication of Real Num
1.2 Numeric Operation Instructions1-3111.2.7 DIVISION Instruction (DIV) OutlineThe DIV instruction divides integer, double-length integer, and rea
1 Ladder Program Instructions1.2.7 DIVISION Instruction (DIV)1-32 Program ExampleDivision of Real Number Type Values
1.2 Numeric Operation Instructions1-3311.2.8 MOD Instruction (MOD) OutlineThe MOD instruction outputs the remainder of integer or double-length int
1 Ladder Program Instructions1.2.9 REM Instruction (REM)1-341.2.9 REM Instruction (REM) OutlineThe REM instruction outputs the remainder of real n
1.2 Numeric Operation Instructions1-3511.2.10 INC Instruction (INC) OutlineThe INC instruction adds 1 to the designated integer or double-length in
1 Ladder Program Instructions1.2.11 DEC Instruction (DEC)1-36Double-length Integer Type1.2.11 DEC Instruction (DEC) OutlineThe DEC instruction sub
1.2 Numeric Operation Instructions1-371 Program ExampleInteger TypeDouble-length Integer Type⇔equivalent⇔equivalent
1 Ladder Program Instructions1.2.12 ADD TIME Instruction (TMADD)1-381.2.12 ADD TIME Instruction (TMADD) OutlineThe TMADD instruction adds one time
1.2 Numeric Operation Instructions1-391 Program ExampleThe time data in DW0000 to DW00101 is added to the time data in MW00100 to MW00101.8 hrs 40 m
vvRelated ManualsThe MP900 series Machine Controllers consists of four models, the MP910, MP920, MP930, and MP940.The MP2000 series Machine Controller
1 Ladder Program Instructions1.2.13 SUBTRACT TIME Instruction (TMSUB)1-40 Format Parameter* Possible to omit. Program ExampleThe time data in DW
1.2 Numeric Operation Instructions1-4111.2.14 SPEND TIME Instruction (SPEND) OutlineThe SPEND instruction subtracts one time (year/month/day/hours
1 Ladder Program Instructions1.2.14 SPEND TIME Instruction (SPEND)1-42 Parameter* Possible to omit. Program ExampleThe time elapsed from the time
1.2 Numeric Operation Instructions1-4311.2.15 SIGN INVERSION Instruction (INV) OutlineThe INV instruction inverts the sign of the contents of the S
1 Ladder Program Instructions1.2.16 1’S COMPLEMENT Instruction (COM)1-44Double-length Integer Type DataReal Number Type Data1.2.16 1’S COMPLEMENT I
1.2 Numeric Operation Instructions1-451 Program ExampleInteger Type DataDouble-length Integer Type Data1.2.17 ABSOLUTE VALUE CONVERSION Instruction
1 Ladder Program Instructions1.2.18 BINARY CONVERSION Instruction (BIN)1-46 Program ExampleInteger Type DataDouble-length Integer Type DataReal Num
1.2 Numeric Operation Instructions1-471 Format Parameter Program ExampleInteger Type DataDouble-length Integer DataParameter Name SettingSource •
1 Ladder Program Instructions1.2.19 BCD CONVERSION Instruction (BCD)1-481.2.19 BCD CONVERSION Instruction (BCD) OutlineThe BCD instruction convert
1.2 Numeric Operation Instructions1-491 Program ExampleInteger Type DataDouble-length Integer Type Data
viMachine Controller MP900/MP2000 Series New Ladder Editor Programming ManualSIEZ-C887-13.1√√√√√√Machine Controller MP900/MP2000 Series New Ladder
1 Ladder Program Instructions1.2.20 PARITY CONVERSION Instruction (PARITY)1-501.2.20 PARITY CONVERSION Instruction (PARITY) OutlineThe PARITY inst
1.2 Numeric Operation Instructions1-5111.2.21 ASCII CONVERSION Instruction (ASCII) OutlineThe ASCII instruction converts the specified characters (
1 Ladder Program Instructions1.2.22 ASCII CONVERSION 2 Instruction (BINASC)1-52The character string "ABCDEFG" is stored in MW00100 to MW00
1.2 Numeric Operation Instructions1-531 Program ExampleThe "1234H" binary stored in MW00200 is converted to a for digit hexadecimal ASICII
1 Ladder Program Instructions1.2.23 ASCII CONVERSION 3 Instruction (ASCBIN)1-54 Program ExampleThe for-byte ASCII code stored in MW00100 to MW00101
1.3 Logical Operation/Comparison Instructions1-5511.3 Logical Operation/Comparison Instructions1.3.1 AND Instruction (AND) OutlineThe AND instruct
1 Ladder Program Instructions1.3.2 OR Instruction (OR)1-56 Program ExampleThe logical product of MW000100 and a constant is stored in MW00101.1.3.2
1.3 Logical Operation/Comparison Instructions1-571 Parameter Program ExampleThe logical sum of MW00100 and a constant is stored in MW00101.1.3.3 X
1 Ladder Program Instructions1.3.3 XOR Instruction (XOR)1-58 Format Parameter Program ExampleThe exclusive logical sum of MW00100 and a constant
1.3 Logical Operation/Comparison Instructions1-5911.3.4 Comparison Instruction (<) OutlineThis instruction compare Source A with Source B and st
viiCONTENTSAbout This Manual - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - iiiAbout The Software - - - - - - - - - - -
1 Ladder Program Instructions1.3.5 Comparison Instruction (<=)1-601.3.5 Comparison Instruction (<=) OutlineThis instruction compare Source A
1.3 Logical Operation/Comparison Instructions1-6111.3.6 Comparison Instruction (=) OutlineThis instruction compare Source A with Source B and store
1 Ladder Program Instructions1.3.7 Comparison Instruction (!=)1-621.3.7 Comparison Instruction (!=) OutlineThis instruction compare Source A with
1.3 Logical Operation/Comparison Instructions1-6311.3.8 Comparison Instruction (>=) OutlineThis instruction compare Source A with Source B and s
1 Ladder Program Instructions1.3.9 Comparison Instruction (>)1-641.3.9 Comparison Instruction (>) OutlineThis instruction compare Source A w
1.3 Logical Operation/Comparison Instructions1-6511.3.10 RANGE CHECK Instruction (RCHK) OutlineThe RCHK instruction checks whether the input value
1 Ladder Program Instructions1.3.10 RANGE CHECK Instruction (RCHK)1-66 Parameter Program ExampleInteger Type DataParameter Name SettingInput • Any
1.3 Logical Operation/Comparison Instructions1-671Double-length Integer Type DataReal Number Type Data Input (ML00100) Output (DB000000)-100000 >
1 Ladder Program Instructions1.4.1 SUB-DRAWING CALL Instruction (SEE)1-681.4 Program Control Instructions1.4.1 SUB-DRAWING CALL Instruction (SEE)
1.4 Program Control Instructions1-6911.4.2 MOTION PROGRAM CALL Instruction (MSEE) OutlineMSEE instruction is used in referring to the motion progra
viii1.3 Logical Operation/Comparison Instructions- - - - - - - - - - - - 1-551.3.1 AND Instruction (AND) - - - - - - - - - - - - - - - - - - -
1 Ladder Program Instructions1.4.3 FUNCTION CALL Instruction (FUNC)1-701.4.3 FUNCTION CALL Instruction (FUNC) OutlineThe FUNC instruction is used
1.4 Program Control Instructions1-711The forms of parameter input and output are shown below. Program ExampleInput Data FormInput Designa-tionDescri
1 Ladder Program Instructions1.4.4 DIRECT INPUT STRING Instruction (INS)1-721.4.4 DIRECT INPUT STRING Instruction (INS) OutlineThe INS instruction
1.4 Program Control Instructions1-731The rack number = 1, slot number = 3 with tixation in MP930Method of Setting MDSELThe input module type = 0, rac
1 Ladder Program Instructions1.4.5 DIRECT OUTPUT STRING Instruction (OUTS)1-741.4.5 DIRECT OUTPUT STRING Instruction (OUTS) OutlineThe OUTS instru
1.4 Program Control Instructions1-751 Program ExampleTwo words output to LIO-01 mounted at rack 3, slot 10.Two outputs will be done by using the OUT
1 Ladder Program Instructions1.4.6 EXTENSION PROGRAM CALL Instruction (XCALL)1-761.4.6 EXTENSION PROGRAM CALL Instruction (XCALL) OutlineThe XCALL
1.4 Program Control Instructions1-7711.4.7 WHILE Instruction (WHILE, END_WHILE) OutlineInstruction between WHILE and END_WHILE is repeatedly execut
1 Ladder Program Instructions1.4.7 WHILE Instruction (WHILE, END_WHILE)1-78 Program ExampleThe total for 100 registers, from MW00100 to MW00199, is
1.4 Program Control Instructions1-7911.4.8 IF Instruction (IF, END_IF) OutlineIf the conditional expression in the IF instruction is approved, the
ix1.7 DDC Instructions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1-1201.7.1 DEAD ZONE A Instruction (DZA) - - - - - - - - - - - -
1 Ladder Program Instructions1.4.9 IF Instruction (IF, ELSE, END_IF)1-80 Program ExampleIf MB000108 is ON, MW00201 is added to MW00200, and MW00201
1.4 Program Control Instructions1-811• At instruction development display OFF Parameter1. Eight IF instructions can be nested.2. If an instructio
1 Ladder Program Instructions1.4.10 FOR Instruction (FOR, END_FOR)1-821.4.10 FOR Instruction (FOR, END_FOR) OutlineThe instruction sequence surrou
1.4 Program Control Instructions1-831 Parameter Program ExampleThe high byte and low byte, form MW00100 to MW00102, are exchanged.Parameter Name Se
1 Ladder Program Instructions1.4.11 EXPRESSION Instruction (EXPRESSION)1-841.4.11 EXPRESSION Instruction (EXPRESSION) OutlineEXPRESSION instructio
1.5 Basic Function Instructions1-8511.5 Basic Function Instructions1.5.1 SQUARE ROOT Instruction (SQRT) OutlineThe SQRT instruction calculates the
1 Ladder Program Instructions1.5.1 SQUARE ROOT Instruction (SQRT)1-86 Parameter Program ExampleInteger Type Data• When the input is a positive nu
1.5 Basic Function Instructions1-8711.5.2 SINE Instruction (SIN) OutlineThe SIN instruction calculates the sine of an integer or real number value
1 Ladder Program Instructions1.5.3 COSINE Instruction (COS)1-88 Program ExampleInteger Type DataInput X = 30 degrees (MW00100 = 30∗100 = 3000)Outpu
1.5 Basic Function Instructions1-891 Format Parameter Program ExampleInteger Type DataInput X = 60 degrees (MW00100 = 60∗100 = 6000)Output COS (X)
Comentários a estes Manuais