DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-2 1.1 PLC Scan Method PLC utilizes a standard scan method when evaluating user program.
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Analog input mode Upper limit value Lower limit value -20 mA~+20 mA +32384 -32384 Curren
2. Programming Concepts Function Group En d output DDRVI inNumbContents: When M1119 is ON, 2-speed output function of DD ill be enabledExample: Assume
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Vbase T1 T2+T3 P(1) V(1) P(2) V(2) Initial frequency Ramp-up time Ramp-down time Posi
2. Programming Concepts D1140: Number of r , TC, etc.), max. 8 modules can be connected. mber of ier of output points (Y) on DIO modules. D1145: Numb
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming a terrupt) correspondingly work together with C243, 41 and D1240. terrupt) correspondingly
2. Programming Concepts Function Group ID of right side modules on ES2/EX2 Number D1320~ D1327 Contents: When right side modules are connected on ES2
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming MASTER PLC SLAVE SLAVE ID E ID 4 SLAV 6 SLAVE I VE ID 8 ID 1 SLAVE ID 2 3 SLAV E ID
2. Programming Concepts D1442 D1458 D1443 464 D1449 D1465D1459 D1444 D1460 D1445 D1461 D1446 D1462 D1447 D1463 D1448 D1Starting ref f the Sl accesere
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming M1376 M1377 M1378 M1379 M1380 M1381 M1382 M1383 Access a = error flag (ON = norm l; OFF
2. Programming Concepts M1416 M1417 M1418 M14 0 M1421 M1422 M1423 19 M142“Writing completed” flag h o m (turns “Off” w enever access f a Slave is co
1. PLC Concepts 1-3Scan time exception PLC can process certain items faster than the scan time. Some of these items interrupts and halt the scan tim
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming b) Set up Master PLC ID by D1121 and the starting slave ID by D1399. Then, set slave ID of
2. Programming Concepts accessible and the user can specify the starting register for storing the read/written data. f) to theg) Maste 9. a) Autode
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Operation flow chart: 10. Set starting reference of the S read: D1355~D1370 Set data length
2. Programming Concepts M1002MOV K17 D1121H86 D1120K16K16M1351ENDSET M1120MOVMOVD1434D1450MOVM1350X1K16K16MOVMOVD1435D1451Retain communication protoco
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Master PLC Preset value Slave PLC Preset value D1480 ~ D1495 K5,000 D100 ~ D115 of Slav
2. Programming Concepts e) C FD c by changing the value in D1496, e.g. DH12=>VFD forward operation; D1496 = H1=> VFD stops) f) can be specif
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming MEMO 2-84
3-1 Instruction Set This chapter explains all of the instructions that are used with DVP-ES2/EX2/SS2/ SA2/SX2/SE as well as detailed information c
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-2 3.1 Basic Instructions (without API numbers) Execution speed (us) Instruction Functio
3. Instruction Set 3-3execution time could be longer due to a more complicated program, e.g. program contains multiple interruptions or high speed in
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-4 1.4 PLC Registers and Relays Introduction to the basic internal devices in a PLC X
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-4 Program example: Ladder diagram: X0X1Y1 Instruction: Operation: LDI X1 Load NC
3. Instruction Set 3-5Explanations: The ORI instruction is used to connect NC contact in parallel. Program example: Ladder diagram: X0X1Y1 Instructio
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-6 Program example: Ladder diagram: X0X2Y1X1X3ORBBlock ABlock B Instruction: Operation: LD
3. Instruction Set 3-7Program example: Ladder diagram: X0Y1X1M0X2Y2ENDMPPMRDMPS Instruction: Operation: LD X0 Load NO contact X0 MPS Store cu
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-8 Mnemonic Operands Function Program stepsSET Y, M, S Latches the ON status 1~3 Control
3. Instruction Set 3-9between MC/MCR will operate as the following table. Instruction type Explanation General purpose timer Present value = 0, Coi
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-10 Mnemonic Function Program stepsEND Program End 1 Controllers ES2/EX2 SS2 SA2 SE SX2
3. Instruction Set 3-11Timing Diagram: A scan cycleM0Y0M1A scan cycle Mnemonic Function Program stepsPN Positive contact to Negative contact 1 Co
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-12 3.3 Pointers Mnemonic Operands Function Program stepsP P0~P255 Pointer 1 Controller
3. Instruction Set 3-13: IRET Interruption return External interrupt: ES2 supports 8 external input interrupts: (I000/I001, X0), (I100/I101, X1
1. PLC Concepts 1-51.5 Ladder Logic Symbols The following table displays list of WPLSoft symbols their description, command, and memory registers th
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-14 3.5 Application Programming Instructions 1. PLC instructions are provided with a uni
3. Instruction Set 3-15 Source: if there are more than one source is required, it will be indicated as S1, S2...etc. Destination: if there are mor
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-16 supports index E and F. A symbol “*” is given to device which can be used for this op
3. Instruction Set 3-171. X, Y, M, and S are defined as bit devices which indicate ON/OFF status. 2. 16-bit (or 32-bit) devices T, C, D, and regist
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-18 X0SET M0M0DSW X10 Y10 D0 K0RST M0M1029 When X0 = ON, DSW will be enabled. When X0 = OF
3. Instruction Set 3-195. For counters C243, C245~C248, C251, C252, the total max times for using DHSCS, DHSCR and DHSZ instructions: 4. DHSZ takes
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-20 3. Transmit K1M0, K2M0, K3M0 to 16-bit registers. Only the valid bit data will be tra
3. Instruction Set 3-21Binary Floating Point DVP-PLC represents floating point value in 32 bits, following the IEEE754 standard: Sexponentmantiss
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-22 The decimal floating point is represented by 2 continuous registers. The register of
3. Instruction Set 3-23MOV K20E0 D10F0E0 = 8 F0 = 1420 + 8 = 28 10 + 14 = 24Transmission K28 D24The opposite diagram E, F index reg
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-6 Ladder Diagram Structure Explanation Instruction Available Devices Multiple output b
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-24 3.6 Numerical List of Instructions (classified according to the function) Loop Contro
3. Instruction Set 3-25Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SE SX2 16-bit 32-bit23 DIV DDIV Division
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-26 High Speed Processing Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Functi
3. Instruction Set 3-27Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SE SX2 16-bit 32-bit76 ASC - - ASCII cod
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-28 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2SA2SESX2
3. Instruction Set 3-29Mnemonics Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SE 2 SX2 16-bit 32-bit127 - DESQR Floatin
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-30 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2SA2SX2 SE
3. Instruction Set 3-31Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SE SX2 16-bit 32-bit167 TWR - Time write
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-32 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2SA2SESX2
3. Instruction Set 3-33Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SE SX2 16-bit 32-bit272 BANI DBANI - Conne
1. PLC Concepts 1-7Execution order of the sample program: 1 LD X0 2 OR M0 3 AND X1 4 LD X3 AND M1 ORB 5 LD Y1 AND X4 6 LD T0 AND M3 ORB
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-34 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2
3. Instruction Set 3-35Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2 SE 16-bit 32-bit274 BORI DBORI - C
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-36 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2
3. Instruction Set 3-37Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2 SE 16-bit 32-bit148 MEMR Reading
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-38 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2
3. Instruction Set 3-39Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2 SE 16-bit 32-bit104 STOP - - Stop
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-40 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2
3. Instruction Set 3-41Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2 SA2 SX2 SE 16-bit 32-bit195 - DPTPO - Single
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-42 3.8 Detailed Instruction Explanation API Mnemonic Operands Function 00 CJ P Condi
3. Instruction Set 3-43Program example 1: When X0 = ON, the program will skip from address 0 to N (Pointer P1) automatically and keep on executing. I
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-8 1.5.6 OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel) OR (
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-44 users. When the instruction MCR is executed, the previous state of the switch contact
3. Instruction Set 3-45*1: Y1 is dual output. When M0 is OFF, it is controlled by M1. When M0 is ON, M12 will control Y1 *2: When timer that subrouti
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-46 API Mnemonic Operands Function 01 CALL P Call Subroutine Controllers ES2/EX2 SS2
3. Instruction Set 3-47API Mnemonic Function 02 SRET Subroutine Return Controllers ES2/EX2 SS2 SA2 SESX2 OP Descriptions Program Steps N/A No co
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-48 Program example 2: 1. When the rising-edge of X20 is triggered, CALL P10 instruction
3. Instruction Set 3-49 API Mnemonic Function 03 IRET Interrupt Return Controllers ES2/EX2 SS2 SA2 SESX2 OP Descriptions Program Steps N/A No co
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-50 3. Interrupt subroutines must be placed after the FEND instruction. 4. Other interru
3. Instruction Set 3-51execute DI instruction. After this, X0 will be reset as falling-edge when EI is executed again. Program example: During the
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-52 API Mnemonic Function 06 FEND The End of The Main Program (First End) Controllers E
3. Instruction Set 3-53CJ Instruction Program Flow X1CALL P63P0P63CJ P0I301X00The program flowwhen X0=off, X1=off Main program Main program Main p
1. PLC Concepts 1-9Branch instructionBranch Symbol Description MPS ┬ Start of branches. Stores current result of program evaluation. Max. 8 MPS-MPP
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-54 CALL Instruction Program Flow X1CALL P63P0P63CJ P0I301X00The program flowwhen X0=off,
3. Instruction Set 3-55API Mnemonic Function 07 WDT P Watchdog Timer Refresh Controllers ES2/EX2 SS2 SA2 SESX2 OP Descriptions Program Steps N/
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-56 Program example: If the program scan time is over 300ms, users can divide the program
3. Instruction Set 3-57API Mnemonic Operands Function 08 FOR Start of a FOR-NEXT Loop Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-58 Program example 1: After program A has been executed for 3 times, it will resume its e
3. Instruction Set 3-59Program example 3: Users can adopt CJ instruction to skip a specified FOR ~ NEXT loop. When X1 = ON, CJ instruction executes t
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-60 API Mnemonic Operands Function 10 D CMP P Compare Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-61API Mnemonic Operands Function 11 D ZCP P Zone Compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-62 X0RSTM0RSTRSTM1M2X0ZRSTM0M2
3. Instruction Set 3-63API Mnemonic Operands Function 12 D MOV P Move Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program S
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-10 eS0S21S22M1002initialpulseM1002SETS0SETS21SS0SETS22SS21SS22S0RET 1.5.12 RET (Return)
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-64 API Mnemonic Operands Function13 SMOV P Shift Move Controllers ES2/EX2 SS2
3. Instruction Set 3-65Program example 1: 1. When M1168 = OFF (in BCD mode) and X0 = ON, the 4th (thousand) and 3rd (hundred) digit of the decimal v
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-66 Program example 3: 1. This instruction can be used to combine the DIP switches connec
3. Instruction Set 3-67API Mnemonic Operands Function 14 D CML P Compliment Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pro
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-68 API Mnemonic Operands Function 15 BMOV P Block Move Controllers ES2/EX2 SS2 SA
3. Instruction Set 3-69Program example 2: Assume the bit devices KnX, KnY, KnM and KnS are designated for moving, the number of digits of S and D has
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-70 API Mnemonic Operands Function 16 D FMOV P Fill Move Controllers ES2/EX2 SS2 S
3. Instruction Set 3-71API Mnemonic Operands Function 17 D XCH P Exchange Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-72 API Mnemonic Operands Function 18 D BCD P Convert BIN to BCD Controllers ES2/EX
3. Instruction Set 3-73API Mnemonic Operands Function 19 D BIN P Convert BCD to BIN Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi
1. PLC Concepts 1-111.6 Conversion between Ladder Diagram and Instruction List Mode Ladder Diagram X0 X2 X1X1M1C0Y0SET S0M2Y0M0X10Y10SET S10S0SX11Y
DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-74 1011001026 4 2X37X2088810368Y37 Y204-digit DIP switch in BCD format4-digit BCD valueUs
3. Instruction Set 3-75API Mnemonic Operands Function 20 D ADD P Addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Progr
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-76 2. If the operation result exceeds -2,147,483,648, the borrow flag M1021 will be ON.
3. Instruction Set 3-77API Mnemonic Operands Function 21 D SUB P Subtraction Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-78 API Mnemonic Operands Function 22 D MUL P Multiplication Controllers ES2/EX2 S
3. Instruction Set 3-79Program Example: The 16-bit D0 is multiplied by the 16-bit D10 and brings forth a 32-bit product. The higher 16 bits are store
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-80 API Mnemonic Operands Function 23 D DIV P Division Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-81API Mnemonic Operands Function 24 D INC P Increment Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Progra
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-82 API Mnemonic Operands Function 25 D DEC P Decrement Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-83API Mnemonic Operands Function 26 WAND P Logical Word AND Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual Programming Publication History Issue Description of Changes Date First Edition The first edition is i
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-12 1.7 Fuzzy Syntax Generally, the ladder diagram programming is conducted according to t
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-84 API Mnemonic Operands Function 26 DAND P Logical DWord AND Controllers ES2/EX2
3. Instruction Set 3-85API Mnemonic Operands Function 27 WOR P Logical Word OR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-86 API Mnemonic Operands Function 27 DOR P Logical DWord OR Controllers ES2/EX2 S
3. Instruction Set 3-87API Mnemonic Operands Function 28 WXOR P Logical Word XOR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-88 API Mnemonic Operands Function 28 DXOR P Logical DWord XOR Controllers ES2/EX2
3. Instruction Set 3-89API Mnemonic Operands Function 29 D NEG P 2’s Complement (Negation) Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-90 X0CMP D0 D2 M0M0SUB D0 D2 D4M2SUB D2 D0 D4M1 Detailed explanations on negative value a
3. Instruction Set 3-91API Mnemonic Operands Function 30 D ROR P Rotation Right Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-92 API Mnemonic Operands Function 31 D ROL P Rotate Left Controllers ES2/EX2 SS2
3. Instruction Set 3-93API Mnemonic Operands Function 32 D RCR P Rotation Right with Carry Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wo
1. PLC Concepts 1-13 OR operation upward is not allowed. Reverse current“Reverse current” exists. Output should be connected on top of the circuit..
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-94 API Mnemonic Operands Function 33 D RCL P Rotation Left with Carry Controllers
3. Instruction Set 3-95API Mnemonic Operands Function 34 SFTR P Bit Shift Right Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-96 API Mnemonic Operands Function 35 SFTL P Bit Shift Left Controllers ES2/EX2
3. Instruction Set 3-97API Mnemonic Operands Function 36 WSFR P Word Shift RightControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-98 Program Example 2: 1. When X0 is triggered, WSFRP instruction shifts X20~X27 into dat
3. Instruction Set 3-99API Mnemonic Operands Function 37 WSFL P Word Shift Left Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-100 API Mnemonic Operands Function 38 SFWR P Shift Register Write Controllers ES
3. Instruction Set 3-101API Mnemonic Operands Function 39 SFRD P Shift Register ReadControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word de
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-102 API Mnemonic Operands Function 40 ZRST P Zone Reset Controllers ES2/EX2 SS2 S
3. Instruction Set 3-1032. For clearing multiple devices, API 16 FMOV instruction can be used to send K0 to word devices T, C, D or bit devices KnY,
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-14 “Reverse current” exists 1.8 Correcting Ladder Diagram Example 1: Connect the blo
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-104 API Mnemonic Operands Function 41 DECO P Decode Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-105Program Example 2: 1. When D is used as a word device, n = 1 ~ 4. Errors will occur if n = 0 or n > 4. 2. When n = 4, the
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-106 API Mnemonic Operands Function 42 ENCO P Encode Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-107Program Example 2: 1. When S is used as a word device, n = 1 ~ 4. Errors will occur if n = 0 or n > 4. 2. When n = 4, the
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-108 API Mnemonic Operands Function 43 D SUM P Sum of Active bits Controllers ES2/E
3. Instruction Set 3-109API Mnemonic Operands Function 44 D BON P Check specified bit status Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-110 API Mnemonic Operands Function 45 D MEAN P Mean Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-111API Mnemonic Operands Function 46 ANS Timed Annunciator Set Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word dev
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-112 API Mnemonic Function 47 ANR P Annunciator Reset Controllers ES2/EX2 SS2 SA2 SE S
3. Instruction Set 3-113Y0ANS T0 K100 S912X2X4ANRPM1000M1049Y1ANS T1 K200 S920X3X0Y0X2M1048Y2Y0X1Y1X3Y1 1. M1048 and D1049 are valid only when M1049
1. PLC Concepts 1-15 Example 3: “Reverse current” existed in diagram (a) is not allowed for PLC processing principle. Instruction List LD X0 OR X1 A
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-114 API Mnemonic Operands Function 48 D SQR P Square Root Controllers ES2/EX2 SS2
3. Instruction Set 3-115API Mnemonic Operands Function 49 D FLT P Floating Point Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-116 M1002RST M1081X20FLT D0 D12X21DFLT D0 D20 Program Example 2: 1. When M1081 = ON, the
3. Instruction Set 3-117M1000FLT D10 D100BIN K2X0 D200FLT D200 D202DEDIV K615 K10DEDIV D100 D202DEMUL D400 D300DEBCD D20 D30DINT D20 D40D300D400D2012
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-118 API Mnemonic Operands Function 50 REF P Refresh Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-119X0REF Y0 K4 Program Example 3: When X0 = ON, I/O points starting from X10 or Y4 will all be refreshed. X0REF X10 K8X0REF Y4 K
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-120 API Mnemonic Operands Function 51 REFF P Refresh and Filter Adjust Controllers E
3. Instruction Set 3-121API Mnemonic Operands Function 52 MTR Input Matrix Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-122 M1000MTR X40 Y40 M10 K2 The figure below illustrates the external wiring of the 2-arr
3. Instruction Set 3-123Points to note: 1. Operand S must be a multiple of 10, e.g. 00, 10, 20, which means X0, X10… etc. and occupies 8 continuous d
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-16 Example 5: Correct the circuit of reverse current. The pointed reverse current loops
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-124 API Mnemonic Operands Function 53 D HSCS High Speed Counter Set Controllers E
3. Instruction Set 3-125¾ Table of settings for the high-speed interrupts of the software counters and software comparators: Counter C232 C233 C23
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-126 ¾ If DCNT instruction enables C243 as high speed counter (group A) and DHSC/DHSC ins
3. Instruction Set 3-127¾ 6 comparators are available for software counters while 8 comparators are available for 2 groups of hardware counters ( 4
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-128 M1000DCNTC251 K100DHSCSC251K100M0 ¾ When C251 counts up and the value in C251 varies
3. Instruction Set 3-1299. Count value storage function of high speed interrupt: ¾ When X1, X3, X4 and X5 is applied for reset function and ass
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-130 API Mnemonic Operands Function 54 D HSCR High Speed Counter Reset Controller
3. Instruction Set 3-131API Mnemonic Operands Function 55 D HSZ High Speed Zone Compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wor
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-132 ¾ There are 6 software zone comparators available exclusively for zone compare oper
3. Instruction Set 3-133DHSZ instruction. Also, when DHSCS uses I070 or I080, comparators B3 and B4 are no longer available for DHSZ instruction. If
1. PLC Concepts 1-17Example 2 - Start First latched circuit When X1 (START) = ON and X2 (STOP) = OFF, Y1 will be ON and latched. If X2 is turned ON,
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-134 Timing diagram 20002400Speed variable transmission device0X10Y10Y11Y12High speedLow
3. Instruction Set 3-135API Mnemonic Operands Function 56 SPD Speed Detection Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-136 Max frequency SA2/SE/SX2: 100kHz SS2: 20kHz 5KHz. X1(X0/X1) of SA2/SE: 30kHz 10KHz
3. Instruction Set 3-137API Mnemonic Operands Function 57 D PLSY Pulse Output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-138 25. Four pulse output modes: (They are not applicable to DVP-SE.) D1220 D1221
3. Instruction Set 3-13932. There is no limitation on the times of using this instruction, however the program allows only 4 instructions (PLSY, PWM
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-140 M1348: Auto reset Y1 when high speed pulse output completed M1524: Auto reset Y2 w
3. Instruction Set 3-141Program Example 1: M1000EIFENDI 001IRETM1000DPLSY K1000 K1000 Y2I 101IRETSET M1524ENDDPLSY K1000 K1000 Y0SET M1347 Explanat
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-142 API Mnemonic Operands Function 58 PWM Pulse Width Modulation Controllers ES2
3. Instruction Set 3-14346. When M1113 = ON, the unit of Y2 output pulse is 10μs, when M1113 = OFF, the unit is 100μs. (It is not applicable to DVP-
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-18 Example 6- Interlock control X3Y1X1Y1X4Y2X2Y2Y1Y2 X1X3X2X4Y1Y2 NC contact Y1 is co
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-144 D1032: Low word of the present value of Y1 pulse output D1033 High word of the pre
3. Instruction Set 3-145API Mnemonic Operands Function 59 D PLSR Pulse Ramp Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-146 Y3 Pulse Dir 58. When assigning Y0 and Y2 output mode as Pulse, i.e. D1220 =
3. Instruction Set 3-14766. There is no limitation on the times of using this instruction in the program. However, only 4 instructions can be execut
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-148 M1156: Enabling the mask and alignment mark function on I400/I401(X4) corresponding
3. Instruction Set 3-149 When M1156/M1158 = ON, enable ramp-down pause (Mark function) on Y0/Y2 when X4/X6 receives interrupt signals. When Mar
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-150 output will stop after 1,000,000 pulses are completed. When pulse output ramps
3. Instruction Set 3-151Explanations: When M0 is triggered, Y0 executes pulse output. When external interrupt is detected on X4 after 50,000 pulse
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-152 API Mnemonic Operands Function 60 IST Initial State Controllers ES2/EX2 SS2
3. Instruction Set 3-15380. When S1 (zero return mode) is initialized, i.e. selected, zero return will NOT be executed if any of the state S10~S19 i
1. PLC Concepts 1-19Example 9 – Oscillating Circuit with Timer An oscillating circuit with cycle nT+ΔT T0X0TMRY1Y1T0Kn Y1TTnX0 When X0 = ON, T0 start
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-154 86. Control panel X35X36X37X20X21X22X23X24X25Step X32One cycleoperation X33Continuou
3. Instruction Set 3-15589. Zero return mode: a) SFC: S1S10X35S11X4S12X1RST Y4RST Y1Y0RSTY2Y3SETM1043RST S12Release ballsStop lowering robot armRaise
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-156 90. Auto operation (Single step / One-cycle operation / continuous operation): a) S
3. Instruction Set 3-157b) Ladder Diagram: ENDRETSET S20SET S30SET Y4Y0X5S31SX4TMR T0SET S32S2SM1041 M1044S20SS30SY1X0SET S40X5 X0SET S31T0K30Y2S32SX
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-158 Flag explanation: M1040: Disable step transition. When M1040 = ON, all motion of ste
3. Instruction Set 3-159M1046: Indicates STL(Step Ladder) status. When STL operation is activate, M1046 = ON if any of the step point S is ON. If M10
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-160 API Mnemonic Operands Function 61 D SER P Search a Data Stack Controllers ES
3. Instruction Set 3-161API Mnemonic Operands Function 62 D ABSD Absolute Drum Sequencer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-162 111. M10~ M13 = ON when the current value of C10 falls between lower and upper boun
3. Instruction Set 3-163API Mnemonic Operands Function 63 INCD Incremental drum sequencer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wo
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-20 Example 13 - Output delay circuit The output delay circuit is composed of two timers
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-164 122. When X0 turns from ON →OFF, C10 and C11 will all be reset to 0 and M10~M14 = OF
3. Instruction Set 3-165API Mnemonic Operands Function 64 TTMR Teaching Timer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-166 128. If ON duration of X0 is T sec, the relation between D0, D1 and n are shown as
3. Instruction Set 3-167API Mnemonic Operands Function 65 STMR Special Timer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-168 143. Apply a NC contact Y3 after the drive contact X20, and Y1, Y2 will form a fla
3. Instruction Set 3-169API Mnemonic Operands Function 66 ALT P Alternate State Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-170 API Mnemonic Operands Function 67 D RAMP Ramp variable Value Controllers ES2
3. Instruction Set 3-171If X20 = ON, D10D12D11D11D12D10D10<D11D10 >D11n scansThe scan times is stored in D13n scans Points to note: The varia
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-172 API Mnemonic Operands Function 68 DTM P Data Transform and Move Controlle
3. Instruction Set 3-173K2: With n = 2, transform 16-bit data (Hi-byte, Lo-byte) into 8-bit data in the following rule: cdefHi-byte Lo-bytec de fHi-
1. PLC Concepts 1-21Example 16 - Traffic light control (Step Ladder Logic) Traffic light control Red light Yellow light Green light Green light bl
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-174 K6: When n = 4, transform 8-bit ASCII data (higher 4 bits, lower 4 bits) into HEX da
3. Instruction Set 3-175Points to note: 1. When the calculation results exceed the max frequency of PLC, the output frequency will be set as 0. 2.
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-176 n: set values of multi-point areas. The range of set values is K2~K50. When the set
3. Instruction Set 3-177The combination will be performed in the following rule: ‘A’‘B’‘C’‘D’Hi-byte Lo-byte‘a’‘b’‘c’Hi-byte Lo-byte0x000x00S+0S+1S
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-178 Points to note: 1. Operand n sets the number of total digits for the converted float
3. Instruction Set 3-179The conversion will be performed in the following rule: ‘1’‘2’‘3’Hi-byte Lo-byte‘.’D+0D+1D+2D+3‘4’‘5’‘6’0x00D+4D+5D+6D+712
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-180 153. The optimal positioning results can be obtained as below: Optimal max frequenc
3. Instruction Set 3-181API Mnemonic Operands Function 69 D SORT Data sort Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-182 Example table of data sort Columns of data: m2 Data Column 1 2 3 4 5 Column Ro
3. Instruction Set 3-183API Mnemonic Operands Function 70 D TKY Ten key input Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
Issue Description of Changes Date Third Edition 1. SE is added in the title of the manual. 2. Chapter 2.16: The default value in D1062 is K10. 3.
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-22 Ladder Diagram: M1002ZRST S0 S127SET S0SET S20Y2ENDS0SS21SY1S23SY22S30ST13S23SS33SSET
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-184 0 123 4 5 6 7 8 9D0103102101100number keyBCD value1-digit BCD codeBIN valueoverflowB
3. Instruction Set 3-185API Mnemonic Operands Function 71 D HKY Hexadecimal key input Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word d
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-186 170. Input keys 0~9: 0 123 4 5 6 7 8 9D0103102101100number key1-digit BCD codeBC
3. Instruction Set 3-187174. External wiring: Y23Y22Y21Y20CX23X22X21X20S/SCDEF89AB45670123PLC(Transistor output)+24V24G Points to note: 175. When H
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-188 API Mnemonic Operands Function 72 DSW DIP Switch Controllers ES2/EX2 SS2
3. Instruction Set 3-189182. Please use transistor output for Y20 ~ Y23. Every pin 1, 2, 4, 8 shall be connected to a diode (0.1A/50V) in series bef
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-190 API Mnemonic Operands Function 73 SEGD P 7-segment decoder Controllers ES2/EX
3. Instruction Set 3-191API Mnemonic Operands Function 74 SEGL 7-segment with Latch Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word de
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-192 192. When X20 = ON, Y24~Y27 will be scanned in circles automatically. Each circle re
3. Instruction Set 3-193OnPLCVCCYPull-up resistorSignal outputDrive Y 199. Positive logic (negative polarity) output of BCD code BCD value Y output
1. PLC Concepts 1-23WPLSoft programming (SFC mode) SFC logic Internal Ladder Logic LAD-0 S0ZRST S127M1002S0SET Transfer condition 1 TRANS*T0 S22 Y
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-194 ’+’: Positive logic (Negative polarity) output ‘-’: Negative logic (Positive polari
3. Instruction Set 3-195API Mnemonic Operands Function 75 ARWS Arrow switch Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-196 X0ARWS X20 D20 Y20 K0 1248103102101100Y20Y21Y22Y23Y27Y26Y25Y24Digit indicationLEDX21X
3. Instruction Set 3-197API Mnemonic Operands Function 76 ASC ASCII code conversion Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-198 API Mnemonic Operands Function 77 PR Print (ASCII Code Output) Controllers ES2/
3. Instruction Set 3-199TTTABCD HX20 start signalY20~Y27 dataY30 scan signalY31 being executedT : scan time(ms) Program Example 2: 1. PR instructi
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-200 API Mnemonic Operands Function 78 D FROM P Read CR data from Special Modules
3. Instruction Set 3-201API Mnemonic Operands Function 79 D TO P Write CR data into Special Modules Controllers ES2/EX2 SS2 SA2 SESX2 Bit
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-202 CR #10 CR #9Upper 16-bitLower 16-bitSpecified CR number 4. n: Number of data to be w
3. Instruction Set 3-203API Mnemonic Operands Function 80 RS Serial Communication Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-24 MEMO
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-204 3. When data receiving is completed, M1123 will automatically be ON. When data proce
3. Instruction Set 3-205Receiving data: (External equipment -> PLC) D120L D122L D123L D124L D125L D126LD121LRegisters for received data, starting
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-206 Program Example 3: COM2 RS-485 1. Connect PLC to VFD-B series AC motor drives (AC mo
3. Instruction Set 3-207Registers for received data (VFD-B responds with messages) Register Data Explanation D120 low ‘: ’ 3A H STX D120 high ‘
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-208 Program Example 4: COM2 RS-485 1. Connect PLC to VFD-B series AC motor drives (AC mo
3. Instruction Set 3-2093. The forward running function of Delta’s VFD series inverter can also be set by handy instruction API 102 FWD instruction
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-210 Receving data: (External equipment→PLC) D120L D122L D123L D124L D125L D126LD121LRegis
3. Instruction Set 3-211Sending data: (PLC→External equipment) D100L D101L D102L D103LSource data register, starting fromlower 8 bits of D100Length =
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-212 Flag Function Action M1314 COM1 Data receiving completed. When data receiving of c
3. Instruction Set 3-213Flag Function Action M1121 Data transmission ready. M1121 = OFF indicates that RS-485 in COM2 is transmitting System sets
Programming Concepts DVP-ES2/EX2/SS/SA2/SX2/SE is a programmable logic controller spanning an I/O range of 10–256 I/O points (SS2/SA2/SX2/SE: 512
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-214 Flag Function Action M1131 In ASCII mode, M1131 = ON only when MODRD/RDST/MODRW da
3. Instruction Set 3-215Special register Function D1070~D1085 Feedback data (ASCII) of Modbus communication. When PLC’s RS-485 communication instruc
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-216 Special register Function D1168 The specific end word to be detected for RS instruct
3. Instruction Set 3-217Flag Function Action M1319 COM3 data receiving error. M1319 will be set ON when errors occur and the error code will be st
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-218 COM1 COM2 COM3 Function Description - D1125 - Definition of ETX1 (RS) - D1126 -
3. Instruction Set 3-219 COM1 COM2 COM3 Function Description - M1141 - MODRD/MODWR/MODRW parameter error (Exception Code exists in received data)
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-220 6. When RS instruction is applied for communication between PLC and peripheral devic
3. Instruction Set 3-221Value Error Description H0005 Communication data length error 9. Corresponding table between D1167~D1169 and the associate
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-222 ‘0’ ‘F’: toward the drive at address 15 ‘1’ ‘0’: toward the drive at address 16 … and
3. Instruction Set 3-223Field Name Descriptions Address Communication address: n 8-bit binary Function Function code: n 8-bit binary DATA (n-1) ……
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2.1 ES2/EX2 Memory Map Specifications Control Method Stored program, cyclic scan system I/
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-224 Step 6: Repeat step 2 – 5 until the operation of all the messages are com
3. Instruction Set 3-225Timing diagram: SET M1122 X0RS executes X20MODRD/RDST/MODRW data receiving/converting completedM1127Coverting data ofMOD
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-226 API Mnemonic Operands Function 81 D PRUN P Parallel Run Controllers ES2/EX2 SS2
3. Instruction Set 3-227API Mnemonic Operands Function 82 ASCI P Convert Hex to ASCII Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word d
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-228 4. When n = 4, the bit structure will be as: 00000001001000110123D10=0123 HD20D210011
3. Instruction Set 3-229 n D K9 K10 K11 K12 K13 K14 K15 K16 D20 low byte “B” “A” “9” “8” “F” “E” “D” “C” D20 high byte “4” “B” “A” “9” “8” “
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-230 4. When n is 2, the bit structure will be as: 00000001001000110123D10=0123 H00 000 00
3. Instruction Set 3-231 n D K9 K10 K11 K12 K13 K14 K15 K16 D20 “B” “A” “9” “8” “F” “E” “D” “C” D21 “4” “B” “A” “9” “8” “F” “E” “D” D22
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-232 PULSE 16-bit 32-bit ES2/EX2 SS2SA2 SESX2 ES2/EX2 SS2SA2 SESX2 ES2/EX2 SS2 SA2 SE
3. Instruction Set 3-2334. When n = 4, the bit structure will be as: 0100 1 0 1 1100000000 00011 0 1 0101100010011 11011110111CDE FD10 D20D2144H
2. Programming Concepts Specifications C235~C242, 1 phase 1 input, 8 points, (*2) Soft-ware C232~C234, 2 phase 2 input, 3 points, (*2) C243~C244, 1 ph
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-234 S ASCII code HEX conversion S ASCII code HEX conversion D24 H 38 “8” D29 H 35
3. Instruction Set 3-235API Mnemonic Operands Function 84 CCD P Check Code Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pro
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-236 Program Example 2: 1. M1161 = ON, 8-bit conversion. 2. When X0 = ON, 6 bytes from l
3. Instruction Set 3-237 API Mnemonic Operands Function 85 VRRD P Volume Read Controllers ES2 EX2 SS2 SA2 SX2 SE Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-238 API Mnemonic Operands Function 86 VRSC P Volume Scale Read Controllers ES2EX2SS
3. Instruction Set 3-239API Mnemonic Operands Function 87 D ABS P Absolute Value Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-240 API Mnemonic Operands Function 88 D PID PID control Controllers ES2/EX2 SS2
3. Instruction Set 3-241Points to note: 1. There is no limitation on the times of using this instruction. However, the register No. designated in S3
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-242 Device No. Function Setup Range Explanation 2: Reverse control (E = PV - SV). 3: Au
3. Instruction Set 3-243Device No. Function Setup Range Explanation S3+10, 11: Accumulated integral value Available range of 32-bit floating point
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Specifications I602~I699, I702~I799, 2 points (Timer resolution = 1ms) Timer interrupt High-
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-244 Device No. Function Set-point range Explanation S3+1: Proportional gain (KP) 0~30,0
3. Instruction Set 3-245Device No. Function Set-point range Explanation S3+9, 10: Lower bound of output value (MV) , 32-bit -2,147,483,648~ 2,147,4
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-246 y PID equation for control mode k0~k2: () () ()StPVKStEKtEKMVDIP*1** ++= where MV: O
3. Instruction Set 3-2472. When control mode (S3+4) is selected as K3 and K4: y The equation is exclusively for temperature control will be modifie
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-248 Where () () ()tPV-tSVtE = y Control diagram: G(s)S1/S1/TITD+++PID operation is with
3. Instruction Set 3-249Example 2: Block diagram of application on AC motor drive (S3+4 = 0) PIDS+MVSpeed instruction (S)Acceleration/deceleration in
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-250 Step 2: When KP is 40, response overshoot occurs, so we will not select it. When KP
3. Instruction Set 3-251PIDMVD5SVPVD1D1110051105110V10V0rpmrpm3000D111602550V5VWave A Wave Bpressure meterPressureSV (D0)Set valueramp upMVco
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-252 Application 2: Speed control system and pressure control system work individually (
3. Instruction Set 3-253Application 3: Using auto-tuning for temperature control Control purpose: Calculating optimal parameter of PID instruction fo
2. Programming Concepts 2.2 SS2 Memory Map Specifications Control Method Stored program, cyclic scan system Batch processing method (when END instru
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-254 Results of initial auto-tuning Auto tuning areaS3+4 = k3PID control areaS3+4 = k4
3. Instruction Set 3-255From the figure above, we can see that the temperature control after auto-tuning is working fine and it spent only approximat
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-256 API Mnemonic Operands Function 89 PLS Rising-edge output Controllers ES2/EX2 SS2
3. Instruction Set 3-257API Mnemonic Operands Function 90 LDP Rising–edge detection operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-258 API Mnemonic Operands Function 91 LDF Falling–edge detection operationControllers
3. Instruction Set 3-259API Mnemonic Operands Function 92 ANDP Rising-edge series connection Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-260 API Mnemonic Operands Function 93 ANDF Falling-edge series connection Controllers
3. Instruction Set 3-261API Mnemonic Operands Function 94 ORP Rising-edge parallel connection Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wor
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-262 API Mnemonic Operands Function 95 ORF Falling-edge parallel connection Controllers
3. Instruction Set 3-263API Mnemonic Operands Function 96 TMR Timer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program Steps
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Specifications C235~C242, 1 phase 1 input, 8 points, (*2) Soft-ware C233~C234, 2 phase 2 inp
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-264 API Mnemonic Operands Function 97 CNT 16-bit counter Controllers ES2/EX2 SS2 S
3. Instruction Set 3-265API Mnemonic Operands Function 97 DCNT 32-bit counter Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pro
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-266 API Mnemonic Operands Function 98 INV - Inverse operation Controllers ES2/EX2 SS2
3. Instruction Set 3-267API Mnemonic Operands Function 99 PLF Falling-edge output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-268 API Mnemonic Operands Function 100 MODRD Read Modbus Data Controllers ES2/EX2
3. Instruction Set 3-269Program Example 1: Communication between PLC and VFD-B series AC motor drives (ASCII Mode, M1143 = OFF) MOV D1120H87M1002SET
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-270 Registers for received data (responding messages) Register Data Descriptions D1070
3. Instruction Set 3-271Program Example 2: Communication between PLC and VFD-B series AC motor drive (RTU Mode, M1143= ON) MOV D1120H87M1002SET M1120
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-272 Register Data Descriptions D1077 low byte FE H CRC CHK Low D1078 low byte 5C H
3. Instruction Set 3-273API Mnemonic Operands Function 101 MODWR Write Modbus Data Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word dev
2. Programming Concepts Specifications High-speed I010, I020, I030, I040, I050, I060, I070, I080, 8 points counter interrupt Communication I140(COM1),
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-274 Program Example 1: Communication between PLC and VFD-B series AC motor drives (ASCII
3. Instruction Set 3-275Registers for received data (responding messages) Register Data Descriptions D1070 low ‘0’ 30 H ADR 1 D1070 high ‘1’ 31
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-276 Registers for data to be sent (sending messages) Register Data Descriptions D1089 l
3. Instruction Set 3-277Program Example 3: 1. In the communication between PLC and VFD-B series AC motor drive (ASCII Mode, M1143 = OFF), executes R
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-278 API Mnemonic Operands Function 102 FWD Forward Operation of VFD Controllers E
3. Instruction Set 3-2795. If rising-edge (LDP, ANDP, ORP) or falling-edge (LDF, ANDF, ORF) contacts are used before FWD, REV, STOP instructions, se
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-280 Registers for data to be sent (sending messages) Register Data Descriptions D1089 l
3. Instruction Set 3-281 In STOP instruction: operand n is reserved. d) When Forward JOG is selected in FWR instruction, set value in S2 is invali
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-282 ‘0’ 30 H ‘4’ 34 H Byte Count ‘0’ 30H ‘0’ 30 H ‘1’ 31 H ‘2’ 32 H Data content 1 H1: fo
3. Instruction Set 3-283API Mnemonic Operands Function 105 RDST Read VFD Status Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
iDVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual Programming Contents 1 PLC Concepts 1.1 PLC Scan Method……………………………………………………………………………... 1-2 1.2 Curre
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2.3 SA2 Memory Map Specifications Control Method Stored program, cyclic scan system Batch
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-284 Feedback Explanation Data storage N format. D1076 low A D1077 low B D1078 low C D10
3. Instruction Set 3-285a) Range of S1: K1 ~ K255 b) The instruction will read VFD status at parameter address 2100H~2104H (Please refer to user man
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-286 Data Descriptions ‘0’ 30 H ‘0’ 30 H ‘0’ 30 H ‘5’ 35 H Number of data (count by word)
3. Instruction Set 3-287API Mnemonic Operands Function 106 RSTEF Reset Abnormal VFD Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-288 M1002MOV H86 D1120SET M1120MOVK100D1129RSTM1127M1127X0RSTEFK1 K0SETM1122M1129X0Proces
3. Instruction Set 3-289Received data (responding messages) Data Descriptions ‘0’ 30 H ADR 1 ‘1’ 31 H ADR 0 ‘0’ 30 H CMD 1 ‘6’ 36 H CMD 0 ‘2
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-290 API Mnemonic Operands Function 107 LRC P LRC checksum Controllers ES2/EX2 SS2
3. Instruction Set 3-291Program Example: Connect PLC to VFD series AC motor drive (ASCII mode, M1143 = OFF), (8-bit mode, M1161 = ON), Write the data
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-292 LRC checksum: 01 H + 03 H + 07 H + 08 H + 00 H + 06 H = 19 H. Operate 2’s complement
3. Instruction Set 3-293API Mnemonic Operands Function 108 CRC P CRC checksum Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
2. Programming Concepts Specifications C233~C234, 2 phase 2 input, 2 points, (*2) C243~C244, 1 phase 1 input, 2 points, (*2) C245~C250, 1 phase 2 inpu
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-294 Program Example: Connect PLC to VFD series AC motor drive (RTU mode, M1143 = ON), (8-
3. Instruction Set 3-295API Mnemonic Operands Function 110 D ECMP P Floating point compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wo
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-296 API Mnemonic Operands Function 111 D EZCP P Floating point zone compare Contr
3. Instruction Set 3-297API Mnemonic Operands Function 112 D MOVR P Move floating point dataControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-298 API Mnemonic Operands Function 116 D RAD P Degree Radian Controllers ES2/EX2
3. Instruction Set 3-299API Mnemonic Operands Function 117 D DEG P Radian Degree Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-300 API Mnemonic Operands Function 118 D EBCD P Float to scientific conversion Contr
3. Instruction Set 3-301API Mnemonic Operands Function 119 D EBIN P Scientific to float conversion Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devic
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-302 K314MOVPX0D0D0DEBIN D2K-2MOVP D1K314 D0 [D1]K-2 D1 [D0
3. Instruction Set 3-303API Mnemonic Operands Function 120 D EADD P Floating point addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Specifications High-speed I010, I020, I030, I040, I050, I060, I070, I080, 8 points counter i
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-304 API Mnemonic Operands Function 121 D ESUB P Floating point subtraction Contro
3. Instruction Set 3-305API Mnemonic Operands Function 122 D EMUL P Floating point multiplication Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devi
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-306 API Mnemonic Operands Function 123 D EDIV P Floating point division Controlle
3. Instruction Set 3-307API Mnemonic Operands Function 124 D EXP P Float exponent operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-308 API Mnemonic Operands Function 125 D LN P Float natural logarithm operationContr
3. Instruction Set 3-309API Mnemonic Operands Function 126 D LOG P Float logarithm operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-310 M0RST M1081M1M2DEBCD D20 D30DFLT D0 D10D2 D12DLOG D10 D12 D20DFLT
3. Instruction Set 3-311API Mnemonic Operands Function 127 D ESQR P Floating point square rootControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-312 API Mnemonic Operands Function 128 D POW P Floating point power operation Con
3. Instruction Set 3-313M0RST M1081M1D10 D12M2DEBCD D20 D30D2 D12D20DPOWDFLTDFLTD0 D10
2. Programming Concepts 2.4 SX2 Memory Map Specifications Control Method Stored program, cyclic scan system Batch processing method (when END instru
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-314 API Mnemonic Operands Function 129 D INT P Float to integer Controllers ES2/EX2
3. Instruction Set 3-315API Mnemonic Operands Function 130 D SIN P Sine Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program S
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-316 Program Example 2: M1018 = OFF, radian mode. Select the degree value from inputs X0 a
3. Instruction Set 3-317API Mnemonic Operands Function 131 D COS P Cosine Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program S
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-318 Program Example 2: M1018 = ON, degree mode. When X0 = ON, DCOS instruction performs c
3. Instruction Set 3-319API Mnemonic Operands Function 132 D TAN P Tangent Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-320 D1 D0D11 D10TAN valuebinary floating pointbinary floating pointRAD value(degree x /
3. Instruction Set 3-321API Mnemonic Operands Function 133 D ASIN P Arc Sine Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-322 D1 D0D11 D10ASIN valueBinary floating pointbinary floating point
3. Instruction Set 3-323API Mnemonic Operands Function 134 D ACOS P Arc Cosine Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Specifications C232~C234, 2 phase 2 input, 2 points, (*2) C243~C244, 1 phase 1 input, 2 poin
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-324 D1 D0D11 D10ACOS valueBinary floating pointbinary floating point
3. Instruction Set 3-325API Mnemonic Operands Function 135 D ATAN P Arc Tangent Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-326 API Mnemonic Operands Function 143 DELAY P Delay Controllers ES2/EX2 SS2 SA2 SE
3. Instruction Set 3-327API Mnemonic Operands Function 144 GPWM General PWM output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-328 API Mnemonic Operands Function 147 D SWAP P Byte swap Controllers ES2/EX2 SS2 SA
3. Instruction Set 3-329API Mnemonic Operands Function 148 MEMR P Reading the data from the file register Controllers ES2/EX2 SS2 SA2 SX2 SE
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-330 API Mnemonic Operands Function 149 MEMW P Writing the data into the file re
3. Instruction Set 3-331API Mnemonic Operands Function 150 MODRW MODBUS Read/ WriteControllers ES2/EX2 SA2 SE SA2 SX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-332 COM2 sends the function code of reading(K2/K3), the registers from S directly receive
3. Instruction Set 3-3333. In ASCII or RTU mode, when PLC’s COM2 sends out data, the data will be stored in D1256~D1295. The feedback data will be s
2. Programming Concepts Specifications High-speed I010, I020, I030, I040, I050, I060, I070, I080, 8 points counter interrupt Communication I140(COM1),
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-334 Register Data Descriptions D1260 Low ‘0’ 30 H D1260 High ‘0’ 30 H D1261 Low ‘1
3. Instruction Set 3-335Register Data Descriptions D1260 Low 00 H D1261 Low 10 H Number of Data (count by word) D1262 Low 79 H CRC CHK Low D126
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-336 H87MOVM1002D1109SETM1136K100MOVD1252MODRWK2K1X0H0500 D0 K16Connection device address:
3. Instruction Set 3-337PLC data receiving register: Register Data Descriptions D0 1234 H PLC converts the data in address 0500H ~ 0515H and stores
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-338 3. Take the connection between PLC (PLC COM2) and VFD-B for example, the tables belo
3. Instruction Set 3-339Register Data Descriptions D1260 Low byte ‘0’ 30 HD1260 High byte ‘0’ 30 HD1261 Low byte ‘0’ 30 HD1261 High byte ‘6’ 36 HNu
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-340 Register Data Descriptions D12 low byte ‘3’ 33 H D12 high byte ‘6’ 36 H address
3. Instruction Set 3-341Register Data Descriptions D6 low byte 03 H address H2101 PLC COM2 automatically store the value in D1297 D7 low byte
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-342 H87MOVM1002D1109SETM1136K100MOVD1252MODRWK3K1X0H2100 D0 K6Connection deviceaddress: K
3. Instruction Set 3-343Register Data Descriptions D5 0000 H PLC converts ASCII codes in 2105 H and stores the converted data automatically. RTU m
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2.5 Status and Allocation of Latched Memory Memory type Power OFF=>ON STOP=>RUN Clear
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-344 H87MOVM1002D1120SETM1120K100MOVD1129RST M1127MODRWK5K1X0H0500 D0K1Function Code K5: F
3. Instruction Set 3-345Registers for received data (responding messages) Register Data Descriptions D1070 low byte ‘0’ 30 H ADR 1 D1070 high byt
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-346 Register Data Descriptions D1074 Low byte FF H D1075 Low byte 00 H Data content (
3. Instruction Set 3-347ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF): When X0 = ON, MODRW instruction executes the function specified by Funct
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-348 ASCII mode (M1143 = OFF) When X0 = ON, MODRW instruction executes the function spec
3. Instruction Set 3-349RTU mode (M1143 = ON) When X0 = ON, MODRW instruction executes the function specified by Function Code 06 PLC Ö VFD-B, PLC
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-350 5. M1316→M1312: sending request 6. M1318→M1314: receiving completed flag H87MOVM1002D
3. Instruction Set 3-3514. Take the connection between PLC1 (PLC COM2) and PLC2 (PLC COM1) for example, the tables below explain the status when PLC
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-352 Register Data Descriptions D1260 下 ‘0’ 30 H D1260 上 ‘0’ 30 H D1261 下 ‘1’ 31H D1261
3. Instruction Set 3-353Registers for data to be sent (sending messages) Register Data Descriptions D1256 下 01 H Address D1257 下 0F H Function D125
2. Programming Concepts 2.6 PLC Bits, Nibbles, Bytes, Words, etc For different control purposes, there are five types of values inside DVP-PLC for ex
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-354 3. D1252→D1249: Set value for data receiving timeout 4. M1320→M1139: ASCII/RTU mode s
3. Instruction Set 3-355Program Example 11: COM2 (RS-485), Function Code H10 1. Function code K16 (H10): Write in multiple Word devices. Up to 16 Wo
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-356 Register Data Descriptions D1258 High byte ‘0’ 30 H D1259 Low byte ‘0’ 30 H D12
3. Instruction Set 3-357PLC ÖVFD-B,PLC transmits: “01 10 2000 0002 04 1770 0012 EE 0C” VFD-BÖPLC, PLC receives: ”01 10 2000 0002 4A08” Registers for
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-358 2. M1136→M1138: retain communication setting 3. D1252→D1249: Set value for data recei
3. Instruction Set 3-359API Mnemonic Operands Function 154 D RAND P Random number Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-360 API Mnemonic Operands Function 155 D ABSR Absolute position read Controller
3. Instruction Set 3-3616. Please use NO contact as the drive contact of DABSR instruction. If the drive contact is OFF during the execution of DABS
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-362 4. When DABSR instruciton executes, servo ON (SON) and ABS data transmission mode ar
3. Instruction Set 3-363API Mnemonic Operands Function 156 D ZRN Zero return Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word Devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming z Constant K: Decimal value in PLC operation is attached with an “K”, e.g. K100 indicates t
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-364 4. When D is specified as Y0, its direction signal output is Y1; when D is specified
3. Instruction Set 3-365Output in reverseOFFONEnd flagM1029/M1102DOG switch: X4/X6Freq.Target freq.JOG freq.TimeStartMeet DOG switch DOG switch OFFO
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-366 OffOnOnOffOnLimit switch X5/X7Limit switch ONOffReverse outputEnd flag M1029/M1102DOG
3. Instruction Set 3-367State 5: Current position at right side of zero point, D1312=-2, M1308=Off, M1346=On. Target speedTimeFreq.X4StartMeet DOGLef
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-368 Program Example 2: When M0 = ON, Y0 pulse output executes zero return with a frequenc
3. Instruction Set 3-369 API Mnemonic Operands Function 157 D PLSV Adjustable Speed Pulse Output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devi
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-370 API Mnemonic Operands Function 158 D DRVI Relative Position Control Controlle
3. Instruction Set 3-37111. Ramp-down time of CH0 and CH1 can be particularly modified by using (M1534, D1348) and (M1535, D1349). When M1534 / M153
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-372 z This instruction can be used many times in user program, but only one instruction
3. Instruction Set 3-373D1232 Output pulse number for ramp-down stop when Y0 masking sensor receives signals. (LOW WORD) D1233 Output pulse number
2. Programming Concepts Binary Octal Decimal (K) BCD Hexadecimal (H)(BIN) (OCT) (DEC) (Binary Code Decimal) (HEX) Costant K, No. of registers
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-374 API Mnemonic Operands Function 159 D DRVA Absolute Position Control Controlle
3. Instruction Set 3-37510. M1305 and M1306 can change the output direction of CH0/CH1 set in D2. When S is “-“, D2 will be ON, however, if M1305/M1
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-376 2. Registers for setting ramp up/down time and start/end frequency: z Output Y0:
3. Instruction Set 3-377API Mnemonic Operands Function 160 TCMP P Time compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-378 API Mnemonic Operands Function 161 TZCP P Time zone compare Controllers ES2/E
3. Instruction Set 3-379API Mnemonic Operands Function 162 TADD P Time addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-380 API Mnemonic Operands Function 163 TSUB P Time subtraction Controllers ES2/E
3. Instruction Set 3-381X0TSUB D0 D10 D2005:20:30 19:11:15 10:09:15D0 05(Hour) D1 20(Min) D2 30(Sec) D20 10(Hour) D21 09(Min) D22 15(S
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-382 API Mnemonic Operands Function 166 TRD P Time read Controllers ES2/EX2 SS2 SA2 S
3. Instruction Set 3-383Points to note: 1. There are two methods to correct built-in RTC: z Correcting by API167 TWR instruction Please refer to ex
ii 3.2 Explanations to Basic Instructions…………………………………………………………... 3-3 3.3 Pointers………………………………………………………………………………………… 3-123.4 Interrupt Pointers………
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-18 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-384 API Mnemonic Operands Function 167 TWR P Time write Controllers ES2/EX2 SS2 SA2
3. Instruction Set 3-3851, second data resets). X0MOV K04 D0MOV K2 D1MOV K12 D2MOV K15 D3MOV K15 D4MOV K27 D5MOV K30 D6TWR D0M1017X1Year (2004)Day (T
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-386 API Mnemonic Operands Function 168 D MVM P Transfer Designated Bits Controlle
3. Instruction Set 3-387 API Mnemonic Operands Function 169 D HOUR Hour meter Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-388 Program Example 2: In 32-bit instruction, when X0 = ON, Y10 will be ON and the timing
3. Instruction Set 3-389API Mnemonic Operands Function 170 D GRY P BIN → Gray Code Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-390 API Mnemonic Operands Function 171 D GBIN P Gray Code → BIN Controllers ES2/EX2 SS
3. Instruction Set 3-391API Mnemonic Operands Function 172 D ADDR P Floating point addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-392 X0DADDR D0 D2 D10
3. Instruction Set 3-393API Mnemonic Operands Function 173 D SUBR P Floating point subtraction Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
2. Programming Concepts 2-19Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1052 Disable interruption I200 / I
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-394 X0DSUBRD0D2D10
3. Instruction Set 3-395API Mnemonic Operands Function 174 D MULR P Floating point multiplication Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devi
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-396 X1D0 D10 D20DMULR
3. Instruction Set 3-397API Mnemonic Operands Function 175 D DIVR P Floating point division Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-398 API Mnemonic Operands Function 176 MMOV P 16-bit→32-bit ConversionControllers ES2
3. Instruction Set 3-399 API Mnemonic Operands Function 177 GPS GPS data receiving Controllers ES2 EX2 SS2 SA2 SX2 SE Bit Devices Word devi
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-400 No. Content Range Format Note D + 2 Second 0 ~ 59 Word D + 3~4 Latitude 0 ~ 90
3. Instruction Set 3-401M1002MOV H81D1036SETM1138MOV K2000 D1249Set communication protocol as 9600,8,N,1Retain communication settingSet receiving tim
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-402 1234567812345678
3. Instruction Set 3-403 API Mnemonic Operands Function 178 D SPA Solar Panel Positioning Controllers ES2/EX2 SS2 SA2 SX2 SE Bit Devices Wo
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-20 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-404 2. Operand D occupies 8 consecutive word registers. The function of each device is as be
3. Instruction Set 3-405Program example: 1. Input parameters starting from D4000: 2009/3/23/(y/m/d),10:10:30, Δt = 0, Local time zone = +8, Longit
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-406 API Mnemonic Operands Function 179 D WSUM P Sum of multiple devices Controller
3. Instruction Set 3-407API Mnemonic Operands Function 180 MAND P Matrix AND Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-408 Points to note: 1. A matrix consists of more than 1 consecutive 16-bit registers. The n
3. Instruction Set 3-409API Mnemonic Operands Function 181 MOR P Matrix OR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-410 API Mnemonic Operands Function 182 MXOR P Matrix XOR Controllers ES2/EX2 SS2 S
3. Instruction Set 3-411API Mnemonic Operands Function 183 MXNR P Matrix XNR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-412 API Mnemonic Operands Function 184 MINV P Matrix inverse Controllers ES2/EX2 SS
3. Instruction Set 3-413API Mnemonic Operands Function 185 MCMP P Matrix compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi
2. Programming Concepts 2-21Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1109 Y1 pulse output pause (ramp do
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-414 o D20 = 45, M1091 = ON, M1089 = OFF. p D20 = 47, M1091 = OFF, M1089 = ON (comparison pro
3. Instruction Set 3-415API Mnemonic Operands Function 186 MBRD P Matrix bit read Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-416 b0D20451010101010110110101010101010101101010101010b4700101PointerD0D1D2 Points to note:
3. Instruction Set 3-417API Mnemonic Operands Function 187 MBWR P Matrix bit write Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-418 1b0010101010101011010101010101010101101010101010b47D204511M10961010101010101011010101010
3. Instruction Set 3-419API Mnemonic Operands Function 188 MBS P Matrix bit shift Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-420 Before executionAfter bits shift to left1b0010101010101011010101010101010101101010101010
3. Instruction Set 3-421API Mnemonic Operands Function 189 MBR P Matrix bit rotate Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-422 Before executionAfter rotation to the left1B001010101010101101010101010101010110101010
3. Instruction Set 3-423API Mnemonic Operands Function 190 MBC P Matrix bit status count Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wor
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-22 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-424 API Mnemonic Operands Function 191 D PPMR 2-Axis Relative Point to Point Motion Con
3. Instruction Set 3-4258. For pulse output with ramp-up/down section, if only 1 axis is specified with pulse output number, i.e. another axis is 0,
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-426 M0RST= D0 K1DPPMR D200D202 K100000Y0= D0 K2DPPMR D204D206 K100000Y0= D0 K3DPPMR D2
3. Instruction Set 3-427API Mnemonic Operands Function 192 D PPMA 2-Axis Absolute Point to Point Motion Controllers ES2/EX2 SS2 SA2 SESX2 Bit
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-428 (0,0)(-27000,-27000)(0,-55000)(27000,-27000)XY 2. Steps: a) Set the four coordinates (
3. Instruction Set 3-429API Mnemonic Operands Function 193 D CIMR 2-Axis Relative Position Arc Interpolation Controllers ES2/EX2 SS2 SA2 SESX2
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-430 6. Draw four 90° arcs as the figure below. When the direction signal is ON, the directi
3. Instruction Set 3-431that the arc has to be a 90° arc, i.e. the numbers of output pulses in X and Y axes can be different. 13. There are no settin
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-432 3. Operation: When PLC runs and M0 = ON, PLC will start the drawing of the first segment
3. Instruction Set 3-4333. Operation: When PLC runs and M0 = ON, PLC will start the drawing of the first segment of the arc. D0 will plus 1 whenever
2. Programming Concepts 2-23Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1203 C203 counting mode (ON: count
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-434 API Mnemonic Operands Function 194 D CIMA 2-Axis Absolute Position Arc Interpolatio
3. Instruction Set 3-435above). Place them in the 32-bit registers (D200, D202), (D204, D206), (D208, D210), (D212, D214). b) Select “draw clockwise
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-436 2. Steps: a) Find the max. and min. coordinates on X and Y axes (0,0), (26000,26000), (
3. Instruction Set 3-437 API Mnemonic Operands Function 195 D PTPO Single-axis pulse output by table Controllers ES2/EX2 SS2 SA2 SESX2 Bit De
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-438 K40 (40th segment) D157, D156 D159, D158 3. Current executing segment can be monitore
3. Instruction Set 3-439 API Mnemonic Operands Function 197 D CLLM Close loop position control Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-440 4. D can only designate Y0 (Direction signal output: Y1) or Y2 (Direction signal output
3. Instruction Set 3-441FrequencyTimePulse NumberHigh speed counter receives target number of feedbacksorExternal interrupt occursTarget frequencySta
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-442 MOVMOVMOVK100K100K100D0M1002D1131D1343D1348SETDMOV K0D1030EIFENDIRETENDDCLLMX4K50000K100
3. Instruction Set 3-443MOVMOVMOVK100K600D0M1002D1131D1348SETDMOV K0D1030EIFENDIRETENDDCLLMC243K50000K100000Y0INCM1534M0M1000I010K200D1340MOVD1343MOV
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-24 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-444 100KHzD1340D1348D1343C243 =K50000600msFrequencyY0 output stops TimePulse numberSpecified
3. Instruction Set 3-445reset after CH0 (Y0, Y1) pulse output is completed. M1524 Auto-reset CH1 (Y2, Y3) when high speed pulse output completed. M5
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-446 API Mnemonic Operands Function 198 D VSPO Variable speed pulse output Controllers E
3. Instruction Set 3-447Function Explanations: Pulse output diagram: Freq.Timet1t2t3g1g2g3S2Pulse number 1. Definitions: t1 Æ target frequency of 1st
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-448 2nd shift: Assume t2 = 11kHz, internal frequency = 2kHz, gap time = 20ms Ramp-up ste
3. Instruction Set 3-449M1540 Indicating pause status of Y2 2. Special register explanations: D1030 Low word of the present value of Y0 pulse outpu
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-450 API Mnemonic Operands Function 199 D ICF Immediately change frequencyControllers ES
3. Instruction Set 3-451Freq.TimeGap freq.Delayed by program scan cycleGaptimeGaptimeChange target freq.Actual timing of changing 2. If users change
DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-452 Freq.(Hz)Time(ms)1000Hz10ms20ms800Hz100ms2000HzM0=ON X6=ONX7=ON100KHz50KHz100Hz1,000,000
3. Instruction Set 3-453MOVM0EIMOVMOVFENDDMOVPK100000 D500K1000D502K10D503DVSPOK1000000Y0D502D500MOVM1000MOVMOVIRETDMOVK50000 D500K800D502K20D503DICF
2. Programming Concepts 2-25Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1274 C239 counting mode (ON: fallin
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-454 API Mnemonic Operands Function 202 SCAL P Proportional calculation Controller
3. Instruction Set 3-455Program Example 1: 1. Assume S1 = 500, S2 = 168 and S3 = -4. When X0 = ON, SCAL instruction executes and the result of propor
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-456 API Mnemonic Operands Function 203 D SCLP P Parameter proportional calculation
3. Instruction Set 3-4576. Substitute the above parameters into y = kx + b and the operation instruction can be obtained. y = kx + b = D = k S1 + b
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-458 D0S=5001= 30= 500Source valueDestination value Program Example 2: 1. Assume source v
3. Instruction Set 3-459Program Example 3: 1. Assume the source value S1, D100 = F500, max. source value D0 = F3000, min. source value D2 = F200, ma
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-460 API Mnemonic Operands Function 205 CMPT P Compare table Controllers ES2/EX2
3. Instruction Set 3-4619. The 16-bit comparison values used in the 16-bit instruction are signed values. The comparison values used in the 32-bit i
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-462 API Mnemonic Operands Function 206 ASDRW ASDA servo drive R/W Controllers ES2/EX2
3. Instruction Set 3-463 For A2-type only Code Function Parameter Com. Addr. Read/Write data (Settings) K16(H10) Status monitor (Read) P0-09 ~ P0
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-26 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-464 H87MOVM1002D1120SET M1120K100MOVD1129RST M1127ASDRW K0K1X0D0ASDA address: K1Function
3. Instruction Set 3-465Points to note: Relative flags and special D registers of COM2/COM3 : COM2 COM3 Function Description M1120 M1136Retain
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-466 API Mnemonic Operands Function 207 CSFO Catch speed and proportional output
3. Instruction Set 3-4676. S1 +0 specifies the sampling times. The set value of sampling times is recommended to be bigger when the input speed incr
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-468 API Mnemonic Operands Function 215~217 D LD# Contact Type Logic OperationContr
3. Instruction Set 3-469API Mnemonic Operands Function 218~220 D AND# Serial Type Logic Operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Device
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-470 API Mnemonic Operands Function 221~223 D OR# Parallel Type Logic Operation Cont
3. Instruction Set 3-471API Mnemonic Operands Function 224~230 D LD※ Contact Type Comparison Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-472 API Mnemonic Operands Function 232~238 D AND※ Serial Type Comparison Controlle
3. Instruction Set 3-473API Mnemonic Operands Function 240~246 D OR※ Parallel Type Comparison Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
2. Programming Concepts 2-27Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1378* Indicate Slave ID#3 data inte
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-474 API Mnemonic Operands Function 266 D BOUT Output Specified Bit of a Word Contro
3. Instruction Set 3-475API Mnemonic Operands Function 267 D BSET Set ON Specified Bit of a Word Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-476 API Mnemonic Operands Function 268 D BRST Reset Specified Bit of a Word Controll
3. Instruction Set 3-477API Mnemonic Operands Function 269 D BLD Load NO Contact by Specified BitControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-478 API Mnemonic Operands Function 270 D BLDI Load NC Contact by Specified BitContro
3. Instruction Set 3-479API Mnemonic Operands Function 271 D BAND Connect NO Contact in Series by Specified Bit Controllers ES2/EX2 SS2 SA2 SESX
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-480 API Mnemonic Operands Function 272 D BANI Connect NC Contact in Series by Specif
3. Instruction Set 3-481API Mnemonic Operands Function 273 D BOR Connect NO Contact in Parallel by Specified Bit Controllers ES2/EX2 SS2 SA2 SES
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-482 API Mnemonic Operands Function 274 D BORI Connect NC Contact in Parallel by Spec
3. Instruction Set 3-483 API Mnemonic Operands Function 275~280 FLD※ Floating Point Contact Type Comparison LD※ Controllers ES2/EX2 SS2 SA2 SES
iii7.4 Sending SDO, NMT and Reading Emergency Message through the Ladder Diagram... 7-15 7.4.1 Data Structure of SDO Request Message……………………………………
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-28 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-484 API Mnemonic Operands Function 281~286 FAND※ Floating Point Contact Type Compar
3. Instruction Set 3-485API Mnemonic Operands Function 287~292 FOR※ Floating Point Contact Type Comparison OR※ Controllers ES2/EX2 SS2 SA2 SE
DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-486 MEMO
Communications This chapter introduces information regarding the communications ports of the PLC. Through this chapter, the user can obtain a full
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 4.1 Communication Ports DVP-ES2/EX2/SA2/SE/SX2 offers 3 communication ports (COM1~COM3), and
4. Communications − 7 data bits − 1 stop bit − Even parity − Baud rate: 9600 4.2 Communication Protocol ASCII mode Communication Data Structure 96
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Available setting for command code: CMD(Hex) Explanation Device 01 (01 H) Read status o
4. Communications Field name ASCII Hex Bytes Count 10 31 30 Data Hi (T20) 00 30 30 Data Lo (T20) 01 30 31 Data Hi (T21) 00 30 30 Data Lo (T2
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Exception response: The PLC is expected to return a normal response after receiving command
4. Communications Exception code: Explanation: 01 Illegal command code: The command code received in the command message is invalid for PLC. 02 Illeg
2. Programming Concepts Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. LatchDefault-edIndicate that writing to Slave ID#14 is c
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 4.3.2 CMD (Command code) and DATA The content of access data depends on the command code. F
4. Communications Field Name Example (Hex) Data Lo (T24) 05 Data Hi (T25) 00 Data Lo (T25) 06 Data Hi (T26) 00 Data Lo (T26) 07 Data Hi (T27) 0
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming { reg_crc ^= *data++; for (j=0;j<8;j++) { If (reg_crc & 0x01) reg_crc=(reg_crc>>
4. Communications Feedback message: Field Name Example (Hex) START No data input ≥ 10 ms Slave Address 01 Function 81 Exception Code 02 CRC CHK
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Effective Range Device Range ES2/EX2 SS2 MODBUS Address SA2/SEAddress SX2 200~255 200~255 4
4. Communications 4.5 Command Code 4.5.1 Command Code: 01, Read Status of Contact (Input point X is not included) Number of Points (max) = 255 (Dec)
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 4.5.2 Command Code: 02, Read Status of Contact (Input point X is included) Example: Read st
4. Communications 4.5.3 Command Code: 03, Read Content of Register (T, C, D) Example: Read coils T20~T27 from Slave ID#01 PC→PLC “: 01 03 06 14 00 08
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Field Name ASCII Data Hi (T26) 00 Data Lo (T26) 07 Data Hi (T27) 00 Data Lo (T27) 08 Er
4. Communications Field Name ASCII Force Data Lo 00 Error Check (LRC) F6 END 1 0D (Hex) END 0 0A (Hex) 4.5.5 Command Code: 06, Set content of s
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2.9 S Relay Starting instruction in Sequential Function Chart (SFC). S0~S9, total 10 points
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 4.5.6 Command Code: 15, Force ON/OFF multiple contacts Max contacts/coils available for For
4. Communications Sent message: Field Name ASCII STX : Slave Address 01 Command code 10 Starting Address Hi 06 Starting Address Lo 00 Number
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming MEMO 4-20
Sequential Function Chart This chapter provides information for programming in SFC mode. Chapter Contents 5.1 Step Ladder Instruction [STL], [RE
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 5.1 Step Ladder Instruction [STL], [RET] Mnemonic Operands Function Program stepsSTL S0~S
5. Sequential Function Chart action and the transition from one step to another generally requires some transition criteria (condition). The action of
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Step jump. Used for a step to jump to another non-adjacent step. (Jumping up/down to non-adj
5. Sequential Function Chart Actions of Step Points: STL program is composed of many step points, and each step point represents a single task in the
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming of output coils should be avoided. The No. of output coil used by a step should also avoid be
5. Sequential Function Chart c Returning to the initial step in the same sequence. d Jumping up/down to non-adjacent steps in the same sequence. SFC:
2. Programming Concepts Accumulative Timer The timer executes once when the program reaches END instruction. When TMR instruction is executed, the tim
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming STL diagram. However, there are restrictions on some of the instructions. Care should be take
5. Sequential Function Chart SETY0S10SS20SY2S20Y1SETY0S10SS20SY2S20Y1 2. As indicated in the below diagram, make sure to connect RET instruction dire
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 6. Restrictions on diverging sequence: Please refer to section 5.5 for examples a) Max. 8 s
5. Sequential Function Chart 5.5 Types of Sequences Single Sequence: The basic type of sequence The first step in a step ladder diagram is called ini
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2. Step Jump a) The control power over the step is transferred to a certain step on top. S0S
5. Sequential Function Chart Ladder diagram of simultaneous divergence: X0SETSET S22S21SSET S23S20SET S24 SFC diagram of simultaneous divergence: S20S
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming In simultaneous convergence, only when all sequences are completed will the transfer be allow
5. Sequential Function Chart Example of alternative divergence & alternative convergence: Step Ladder Diagram: SFC Diagram: M1002ZRST S0 S127SE
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Example of simultaneous divergence & simultaneous convergence: Step Ladder Diagram: S
5. Sequential Function Chart Example of the simultaneous divergence & alternative convergence: Step Ladder Diagram: SFC Diagram: S127K10M1002ZR
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 16 bits 32 bits counters counters Ouptut Coil will be ON when counter reaches preset value
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Combination example 1: (Includes alternative divergence/convergence and simultaneous divergen
5. Sequential Function Chart SFC Diagram: S0S20S30S40S0M1002X0X1X4X27Y1Y2Y5S50X7S70Y27S51S61X22Y20Y24S52S62X23Y21Y25X21X25S60Y23Y0Y7S31Y3X5X2S32Y4X6X3
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Combination example 2: (Includes alternative divergence/convergence and simultaneous divergen
5. Sequential Function Chart SFC Diagram: S0S20S30S40S0M1002X0X1X11X51Y0Y1Y11S50X20S80Y41S51S71X33Y15Y33S53S73X35Y17Y35X32X44S70Y32Y14S31Y2X12X2S32Y4X
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 5.6 IST Instruction API Mnemonic Operands Function Controllers ES2/EX260 IST Initial
5. Sequential Function Chart “manual operation mode”, S1 initiates “zero return mode” and S2 initiates “auto mode”. Thus, the three step points of ini
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 5. Control panel X35X36X37X20X21X22X23X24X25Step X32One cycleoperation X33Continuousoperation
5. Sequential Function Chart 8. Zero return mode: a) SFC: S1S10X35S11X4S12X1RST Y4RST Y1Y0RSTY2Y3SETM1043RST S12Release ballsStop lowering robot armRa
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 9. Auto operation (Single step / One-cycle operation / continuous operation): a) SFC: S2S20S
5. Sequential Function Chart b) Ladder Diagram: ENDRETSET S20SET S30SET Y4Y0X5S31SX4TMR T0SET S32S2SM1041 M1044S20SS30SY1X0SET S40X5 X0SET S31T0K30Y2S
2. Programming Concepts M relays M1200~M1254 are used to set the up/down counting direction for C200~C254 respectively. Setting the corresponding M r
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming MEMO 5-28
Troubleshooting This chapter offers error code table and information for troubleshooting during PLC operation. Chapter Contents 6.1 Common Prob
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 6-2 6.1 Common Problems and Solutions The following tables list some common problems and t
6. Troubleshooting 6-3Symptom Troubleshooting and Corrective Actions Diagnosing Input Malfunction When input indicator LEDs are OFF, 1. Check the w
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 6-4 6.2 Error code Table (Hex) After you write the program into the PLC, the illegal use o
6. Troubleshooting 6-5Error code Description Action 0E05 DCNT operand CXXX misuse 0E18 BCD conversion error 0E19 Division error (divisor=0) 0E1A
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 6-6 Error code Description Action C40B MC / MCR does not begin from N0 or discontinuousl
7-1CANopen Function and Operation This chapter explains the functions of CANopen and the usage. Chapter Contents 7.1 The Introduction of CANope
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-2 7.1 The Introduction of CANopen ¾ Due to the simple wiring, immediate communication,
7 CANopen Function and Operation 7-3Storage Data type 64-bit LINT ULINT LREAL LWORD ¾ If the CAN port functions as a slave, it has the following
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2.12 High-speed Counters There are two types of high speed counters provided including Softw
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-4 7.2.2 The Profile 7.2.3 The CAN Interface and the Network Topology ¾ The pins of COM
7 CANopen Function and Operation 7-5 ¾ The CAN network endpoint and the topology structure In order to make the CAN communication more stable, the t
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-6 1) Users should use standard Delta cables when creating the CANopen network. These cab
7 CANopen Function and Operation 7-7Product Model Function ASD-A2-xxxx-M servo driver It is a servo driver with the built-in CANopen interface. It
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-8 Product Model Function TAP-CN03 It is the CANopen network topology distribution box
7 CANopen Function and Operation 7-9 ¾ The object dictionary CANopen uses an object-based way to define a standard device. Every device is represent
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-10 receive PDOs are called PDO consumers. The PDO is described by means of the “produc
7 CANopen Function and Operation 7-11The data format for RxPDO and TxPDO is as follows. COB-ID Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 B
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-12 Reply code (hex) Description 80 Stopping the SDO function ¾ NMT (network management
7 CANopen Function and Operation 7-13 Initialization Pre-operational Operational Stopped EMCY X X Boot-up X NMT X X X The format of the cont
2. Programming Concepts Applicable Hardware High Speed Counters: 1-phase input 1-phase 2-input 2-phase 2-input C X C243 C244 C245 C2
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-14 Boot-up services After the slave completes the initialization and enters the pre-op
7 CANopen Function and Operation 7-15¾ The corresponding object in the predefined connection set Object Function code COB-ID Index of the communica
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-16 Request message PLC device High byte Low byte D6257 ~ D6281 Reserved Command: F
7 CANopen Function and Operation 7-17 Type: In SDO response message, 43 (Hex) refers to reading 4 bytes of data; 4B (Hex) refers to reading 2 bytes
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-18 Response data: Response message PLC device High byte(Hex) Low byte(Hex) D6000 Res
7 CANopen Function and Operation 7-19equal to1, it indicates that NMT operation fails and in the meantime, you should check if the data in NMT reques
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-20 Response message PLC device High byte(Hex) Low byte(Hex) D6004 Datum 1 Datum 0 D6
7 CANopen Function and Operation 7-21 Emergency response data Response message PLC device High byte Low byte D6000 ReqID=01 Status code =01 D6001
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-22 ¾ Explanation of Request Message Devices: Explanation PLC device Content (Hex) High
7 CANopen Function and Operation 7-23When M0=ON, DVP-ES2-C sends out the first request message and D6000 should be 101(hex) after the response messag
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7. C243 and C244 support count-up mode only and occupy the associate input points X1 and X3
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-24 LED indicator Description How to deal with The red light flashes. There are syntax e
7 CANopen Function and Operation 7-25D9998 can be used for monitoring the state of nodes from 1 to 16 in the network. And the 16 bits of D9998 corres
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-26 Code Indication How to correct E8 The node IDs of master and slave repeat. Set the n
7 CANopen Function and Operation 7-27Code Indication How to correct F4 BUS-OFF state is detected. Check if CANopen bus cables are properly connect
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-28 Parameter Setting Explanation 1-01 04 Speed mode 0-17 07 Drive displays the motor
7 CANopen Function and Operation 7-29Item Explanation Default COM port The serial port of computer used for communication with DVP-ES2-C. COM1 Addr
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-30 4) Click “Network”> “Master Parameter” and the following “Master configure…” dialo
7 CANopen Function and Operation 7-315) After the steps above are finished, the download will be performed as the figure shows below. Note: The new
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-32 “Auto SDO Configuration” Used for doing one write action to the slave parameter via
7 CANopen Function and Operation 7-33PDO transmission type can be synchronous transmission and asynchronous transmission. In synchronous transmission
2. Programming Concepts 1. X21 drives M1235 to determine counting direction (Up/Down) of C235. 2. When X20 = ON, RST instsruction executes and the c
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-34 3> After the above setting is finished, double click the master, select ASDA-A2 Dr
7 CANopen Function and Operation 7-35 7.7 Object Dictionary The communication objects in the object dictionary are shown as below: Index Subindex O
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-36 Index Subindex Object name Data type Attribute Default value H’03 Inhibit time U
7 CANopen Function and Operation 7-37Index Subindex Object name Data type Attribute Default valueH’00 Number of valid subindex Unsigned 8 bits
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-38 Index Subindex Object name Data type Attribute Default value H’01 The first mapped
7 CANopen Function and Operation 7-39Index Subindex Object name Data type Attribute Default valueH’05 Timer Unsigned 16 bits RW 100 -- TxPDO2
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-40 Index Subindex Object name Data type Attribute Default value H’03 Inhibit time U
7 CANopen Function and Operation 7-41Index Subindex Object name Data type Attribute Default valueH’03 The third mapped object Unsigned 32 bits R
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-42 Index Subindex Object name Data type Attribute Default value H’00 Number of valid
Appendix An introduction of installing the USB driver in the PLC Contents A.1 Installing the USB Driver ...
iv The DVP-ES2 series PLCs, the DVP-ES2-C series PLCs, the DVP-EX2 series PLCs, the DVP-SS2 series PLCs, the DVP-SA2 series PLCs, the DVP-SX2 series
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming X21012345X20676543X1count upX0count downC247presentvalueY0, C247 contact AB-phase input high
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming A.1 Installing the USB Driver This section introduces the installation of the DELTA PLC USB
Appedndix A After the driver is installed, users can find the Delta PLC device and the communication port assigned to it in the Device Manger windo
DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Select Communication Setting in Options to open the Communication Setting window. Select RS
2. Programming Concepts 012345X21X2063012345A-phase X0B-phase X1C251 present valueY0, C251 contactCounting upCounting down 2.13 Special Data Registe
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-40 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD102
2. Programming Concepts 2-41Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1070 ↓ D1085 Feedback data (ASCII)
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-42 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD112
2. Programming Concepts 2-43Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1187 Index register F3 ○ ○ ○ ○0 - -
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-44 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD125
2. Programming Concepts 2-45Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1352 Start/end frequency of the 2nd
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-46 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD139
2. Programming Concepts 2-47Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1442* Data length to be read on Sla
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. LatchDefault-ed ↓ PLC LINK
2. Programming Concepts Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. LatchDefault-ed↓ PLC LINK D1767* D1768* The data which
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. LatchDefault-ed D1960* The
2. Programming Concepts 2.14 E, F Index Registers Index registers are used as modifiers to indicate a specified device (word, double word) by definin
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming I000/I001(X0), I100/I101(X1), I200/I201(X2), I300/I301(X3), I400/I401(X4), I500/I501(X5), I6
2. Programming Concepts Y0X1P2CALLX0Y1P**20P2FENDY1SRET24(subroutine P2)subroutineCall subroutine P**subroutine return Interrupt pointer I: use
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming communication. Set up the specific end word in D1167 and write the interruption subroutine I
2. Programming Concepts 2.16 Applications of Special M Relays and D Registers PLC Operation Flag Function Group M1000~M1003 Number Contents: These r
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2. The default in the monitor timer is 200ms. If the program is long or the operation is to
2. Programming Concepts 2. D1008 saves the STEP address where the timeout occurred Scan Time Monitor Function Group D1010~D1012 Number Contents: The
1-1 PLC Concepts This chapter introduces basic and advanced concepts of ladder logic, which is the mostly adopted programming language of PLC. Users
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming X10M1015 M1016~M1017, D1313~D1319 Function Group Real Time Clock Number Contents: 1. Speci
2. Programming Concepts Adjustment on Input Terminal Response Time Function Group D1020 Number Contents: 1. D1020 can be used for setting up the re
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Communication Error Code Function Group M1025, D1025 Number Contents: In the connection betw
2. Programming Concepts DABSR: 1. M1029= ON when instruction is completed. 2. When the instruction is re-executed for the next time, M1029 will tur
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming RUN/STOP Switch Function Group M1035 Number Contents: When M1035 = ON, PLC uses input point
2. Programming Concepts Content 0100(H4): 600 0101(H5): 1200 0110(H6): 2400 0111(H7): 4800 1000(H8): 9600 1001(H9): 19200 1010(HA): 38400 1011(HB): 5
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Example 3: Modifying COM3 communication format 1. Add the below instructions on top of the
2. Programming Concepts Note: 1. The modified communication format will not be changed when PLC state turns from RUN to STOP. 2. If the PLC is pow
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2. By using PLC-Link, D1038 can be set to send next communication data with delay. Unit: 1
2. Programming Concepts 5. The analog output signals and ondi their corresp ng digital values:Model20EX2/SX2 30EX2 Mode Voltage -10 V~+10 V -2000
Kommentare zu diesen Handbüchern