Delta DVP-ES2 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Radio Stationen Delta DVP-ES2 herunter. Delta DVP-ES2 User Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 702
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
Seitenansicht 0
1 2 3 4 5 6 ... 701 702

Inhaltsverzeichnis

Seite 2

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.

Seite 3

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

Seite 4

2. Programming Concepts Function Group En d output DDRVI inNumbContents: When M1119 is ON, 2-speed output function of DD ill be enabledExample: Assume

Seite 5

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

Seite 6

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

Seite 7

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming a terrupt) correspondingly work together with C243, 41 and D1240. terrupt) correspondingly

Seite 8

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

Seite 9

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

Seite 10

2. Programming Concepts D1442 D1458 D1443 464 D1449 D1465D1459 D1444 D1460 D1445 D1461 D1446 D1462 D1447 D1463 D1448 D1Starting ref f the Sl accesere

Seite 11

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

Seite 12

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

Seite 13

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

Seite 14

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

Seite 15

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

Seite 16

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

Seite 17

2. Programming Concepts M1002MOV K17 D1121H86 D1120K16K16M1351ENDSET M1120MOVMOVD1434D1450MOVM1350X1K16K16MOVMOVD1435D1451Retain communication protoco

Seite 18

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

Seite 19

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

Seite 20

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming MEMO 2-84

Seite 21

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

Seite 22

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-2 3.1 Basic Instructions (without API numbers) Execution speed (us) Instruction Functio

Seite 23

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

Seite 24

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

Seite 25

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-4 Program example: Ladder diagram: X0X1Y1 Instruction: Operation: LDI X1 Load NC

Seite 26

3. Instruction Set 3-5Explanations: The ORI instruction is used to connect NC contact in parallel. Program example: Ladder diagram: X0X1Y1 Instructio

Seite 27

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-6 Program example: Ladder diagram: X0X2Y1X1X3ORBBlock ABlock B Instruction: Operation: LD

Seite 28

3. Instruction Set 3-7Program example: Ladder diagram: X0Y1X1M0X2Y2ENDMPPMRDMPS Instruction: Operation: LD X0 Load NO contact X0 MPS Store cu

Seite 29

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

Seite 30

3. Instruction Set 3-9between MC/MCR will operate as the following table. Instruction type Explanation General purpose timer Present value = 0, Coi

Seite 31

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

Seite 32

3. Instruction Set 3-11Timing Diagram: A scan cycleM0Y0M1A scan cycle Mnemonic Function Program stepsPN Positive contact to Negative contact 1 Co

Seite 33

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

Seite 34

3. Instruction Set 3-13: IRET Interruption return External interrupt: ES2 supports 8 external input interrupts: (I000/I001, X0), (I100/I101, X1

Seite 35

1. PLC Concepts 1-51.5 Ladder Logic Symbols The following table displays list of WPLSoft symbols their description, command, and memory registers th

Seite 36

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

Seite 37

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

Seite 38

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

Seite 39

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

Seite 40

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

Seite 41

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

Seite 42

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

Seite 43

3. Instruction Set 3-21Binary Floating Point DVP-PLC represents floating point value in 32 bits, following the IEEE754 standard: Sexponentmantiss

Seite 44

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

Seite 45

3. Instruction Set 3-23MOV K20E0 D10F0E0 = 8 F0 = 1420 + 8 = 28 10 + 14 = 24Transmission K28 D24The opposite diagram E, F index reg

Seite 46

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-6 Ladder Diagram Structure Explanation Instruction Available Devices Multiple output b

Seite 47

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

Seite 48

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

Seite 49

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

Seite 50

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

Seite 51

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-28 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2SA2SESX2

Seite 52

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

Seite 53

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

Seite 54

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

Seite 55

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-32 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2EX2SS2SA2SESX2

Seite 56

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

Seite 57

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

Seite 58

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

Seite 59

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

Seite 60

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

Seite 61

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

Seite 62

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

Seite 63

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

Seite 64

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

Seite 65

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

Seite 66

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

Seite 67

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

Seite 68

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 (

Seite 69

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

Seite 70

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

Seite 71

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

Seite 72

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

Seite 73

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

Seite 74

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

Seite 75

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

Seite 76

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

Seite 77

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

Seite 78

3. Instruction Set 3-53CJ Instruction Program Flow X1CALL P63P0P63CJ P0I301X00The program flowwhen X0=off, X1=off Main program Main program Main p

Seite 79

1. PLC Concepts 1-9Branch instructionBranch Symbol Description MPS ┬ Start of branches. Stores current result of program evaluation. Max. 8 MPS-MPP

Seite 80

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-54 CALL Instruction Program Flow X1CALL P63P0P63CJ P0I301X00The program flowwhen X0=off,

Seite 81

3. Instruction Set 3-55API Mnemonic Function 07 WDT P Watchdog Timer Refresh Controllers ES2/EX2 SS2 SA2 SESX2 OP Descriptions Program Steps N/

Seite 82

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

Seite 83

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

Seite 84

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

Seite 85

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

Seite 86

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

Seite 87

3. Instruction Set 3-61API Mnemonic Operands Function 11 D ZCP P Zone Compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 88

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-62 X0RSTM0RSTRSTM1M2X0ZRSTM0M2

Seite 89

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

Seite 90

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-10 eS0S21S22M1002initialpulseM1002SETS0SETS21SS0SETS22SS21SS22S0RET 1.5.12 RET (Return)

Seite 91

DVP-ES2/SA2/SS2/SA2/SX2/SE Operation Manual - Programming 3-64 API Mnemonic Operands Function13 SMOV P Shift Move Controllers ES2/EX2 SS2

Seite 92

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

Seite 93

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

Seite 94

3. Instruction Set 3-67API Mnemonic Operands Function 14 D CML P Compliment Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pro

Seite 95

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

Seite 96

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

Seite 97

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

Seite 98

3. Instruction Set 3-71API Mnemonic Operands Function 17 D XCH P Exchange Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program

Seite 99

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

Seite 100

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

Seite 101

1. PLC Concepts 1-111.6 Conversion between Ladder Diagram and Instruction List Mode Ladder Diagram X0 X2 X1X1M1C0Y0SET S0M2Y0M0X10Y10SET S10S0SX11Y

Seite 102

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

Seite 103

3. Instruction Set 3-75API Mnemonic Operands Function 20 D ADD P Addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Progr

Seite 104

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.

Seite 105

3. Instruction Set 3-77API Mnemonic Operands Function 21 D SUB P Subtraction Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr

Seite 106

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

Seite 107

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

Seite 108

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

Seite 109

3. Instruction Set 3-81API Mnemonic Operands Function 24 D INC P Increment Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Progra

Seite 110

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

Seite 111

3. Instruction Set 3-83API Mnemonic Operands Function 26 WAND P Logical Word AND Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 112

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual Programming Publication History Issue Description of Changes Date First Edition The first edition is i

Seite 113

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

Seite 114

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

Seite 115

3. Instruction Set 3-85API Mnemonic Operands Function 27 WOR P Logical Word OR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 116

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

Seite 117

3. Instruction Set 3-87API Mnemonic Operands Function 28 WXOR P Logical Word XOR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 118

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

Seite 119

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

Seite 120

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

Seite 121

3. Instruction Set 3-91API Mnemonic Operands Function 30 D ROR P Rotation Right Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 122

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

Seite 123

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

Seite 124

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..

Seite 125

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

Seite 126

3. Instruction Set 3-95API Mnemonic Operands Function 34 SFTR P Bit Shift Right Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device

Seite 127

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

Seite 128

3. Instruction Set 3-97API Mnemonic Operands Function 36 WSFR P Word Shift RightControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device

Seite 129

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

Seite 130

3. Instruction Set 3-99API Mnemonic Operands Function 37 WSFL P Word Shift Left Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device

Seite 131

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-100 API Mnemonic Operands Function 38 SFWR P Shift Register Write Controllers ES

Seite 132

3. Instruction Set 3-101API Mnemonic Operands Function 39 SFRD P Shift Register ReadControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word de

Seite 133

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

Seite 134

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,

Seite 135

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

Seite 136

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

Seite 137

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

Seite 138

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

Seite 139

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

Seite 140

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

Seite 141

3. Instruction Set 3-109API Mnemonic Operands Function 44 D BON P Check specified bit status Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 142

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

Seite 143

3. Instruction Set 3-111API Mnemonic Operands Function 46 ANS Timed Annunciator Set Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word dev

Seite 144

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

Seite 145

3. Instruction Set 3-113Y0ANS T0 K100 S912X2X4ANRPM1000M1049Y1ANS T1 K200 S920X3X0Y0X2M1048Y2Y0X1Y1X3Y1 1. M1048 and D1049 are valid only when M1049

Seite 146

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

Seite 147

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

Seite 148

3. Instruction Set 3-115API Mnemonic Operands Function 49 D FLT P Floating Point Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 149

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

Seite 150

3. Instruction Set 3-117M1000FLT D10 D100BIN K2X0 D200FLT D200 D202DEDIV K615 K10DEDIV D100 D202DEMUL D400 D300DEBCD D20 D30DINT D20 D40D300D400D2012

Seite 151

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

Seite 152

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

Seite 153

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

Seite 154

3. Instruction Set 3-121API Mnemonic Operands Function 52 MTR Input Matrix Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P

Seite 155

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

Seite 156

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

Seite 157

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

Seite 158

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

Seite 159

3. Instruction Set 3-125¾ Table of settings for the high-speed interrupts of the software counters and software comparators: Counter C232 C233 C23

Seite 160

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

Seite 161

3. Instruction Set 3-127¾ 6 comparators are available for software counters while 8 comparators are available for 2 groups of hardware counters ( 4

Seite 162

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-128 M1000DCNTC251 K100DHSCSC251K100M0 ¾ When C251 counts up and the value in C251 varies

Seite 163

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

Seite 164

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-130 API Mnemonic Operands Function 54 D HSCR High Speed Counter Reset Controller

Seite 165

3. Instruction Set 3-131API Mnemonic Operands Function 55 D HSZ High Speed Zone Compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wor

Seite 166

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-132 ¾ There are 6 software zone comparators available exclusively for zone compare oper

Seite 167

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

Seite 168

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,

Seite 169

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-134 Timing diagram 20002400Speed variable transmission device0X10Y10Y11Y12High speedLow

Seite 170

3. Instruction Set 3-135API Mnemonic Operands Function 56 SPD Speed Detection Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P

Seite 171

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

Seite 172

3. Instruction Set 3-137API Mnemonic Operands Function 57 D PLSY Pulse Output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 173

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

Seite 174

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

Seite 175

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

Seite 176

3. Instruction Set 3-141Program Example 1: M1000EIFENDI 001IRETM1000DPLSY K1000 K1000 Y2I 101IRETSET M1524ENDDPLSY K1000 K1000 Y0SET M1347 Explanat

Seite 177

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-142 API Mnemonic Operands Function 58 PWM Pulse Width Modulation Controllers ES2

Seite 178

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-

Seite 179

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-18 Example 6- Interlock control X3Y1X1Y1X4Y2X2Y2Y1Y2 X1X3X2X4Y1Y2 NC contact Y1 is co

Seite 180

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

Seite 181

3. Instruction Set 3-145API Mnemonic Operands Function 59 D PLSR Pulse Ramp Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 182

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 =

Seite 183

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

Seite 184

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

Seite 185

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

Seite 186

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

Seite 187

3. Instruction Set 3-151Explanations:  When M0 is triggered, Y0 executes pulse output. When external interrupt is detected on X4 after 50,000 pulse

Seite 188

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-152 API Mnemonic Operands Function 60 IST Initial State Controllers ES2/EX2 SS2

Seite 189

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

Seite 190

1. PLC Concepts 1-19Example 9 – Oscillating Circuit with Timer An oscillating circuit with cycle nT+ΔT T0X0TMRY1Y1T0Kn Y1TTnX0 When X0 = ON, T0 start

Seite 191

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-154 86. Control panel X35X36X37X20X21X22X23X24X25Step X32One cycleoperation X33Continuou

Seite 192

3. Instruction Set 3-15589. Zero return mode: a) SFC: S1S10X35S11X4S12X1RST Y4RST Y1Y0RSTY2Y3SETM1043RST S12Release ballsStop lowering robot armRaise

Seite 193

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-156 90. Auto operation (Single step / One-cycle operation / continuous operation): a) S

Seite 194

3. Instruction Set 3-157b) Ladder Diagram: ENDRETSET S20SET S30SET Y4Y0X5S31SX4TMR T0SET S32S2SM1041 M1044S20SS30SY1X0SET S40X5 X0SET S31T0K30Y2S32SX

Seite 195

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

Seite 196

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

Seite 197

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

Seite 198

3. Instruction Set 3-161API Mnemonic Operands Function 62 D ABSD Absolute Drum Sequencer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word

Seite 199

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

Seite 200

3. Instruction Set 3-163API Mnemonic Operands Function 63 INCD Incremental drum sequencer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wo

Seite 201

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

Seite 202

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

Seite 203

3. Instruction Set 3-165API Mnemonic Operands Function 64 TTMR Teaching Timer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P

Seite 204

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

Seite 205

3. Instruction Set 3-167API Mnemonic Operands Function 65 STMR Special Timer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 206

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

Seite 207

3. Instruction Set 3-169API Mnemonic Operands Function 66 ALT P Alternate State Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 208

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-170 API Mnemonic Operands Function 67 D RAMP Ramp variable Value Controllers ES2

Seite 209

3. Instruction Set 3-171If X20 = ON, D10D12D11D11D12D10D10<D11D10 >D11n scansThe scan times is stored in D13n scans Points to note: The varia

Seite 210

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-172 API Mnemonic Operands Function 68 DTM P Data Transform and Move Controlle

Seite 211

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-

Seite 212

1. PLC Concepts 1-21Example 16 - Traffic light control (Step Ladder Logic) Traffic light control Red light Yellow light Green light Green light bl

Seite 213

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

Seite 214

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.

Seite 215

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

Seite 216

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

Seite 217

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

Seite 218

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

Seite 219

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

Seite 220

3. Instruction Set 3-181API Mnemonic Operands Function 69 D SORT Data sort Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr

Seite 221

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

Seite 222

3. Instruction Set 3-183API Mnemonic Operands Function 70 D TKY Ten key input Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 223

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.

Seite 224

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-22 Ladder Diagram: M1002ZRST S0 S127SET S0SET S20Y2ENDS0SS21SY1S23SY22S30ST13S23SS33SSET

Seite 225

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

Seite 226

3. Instruction Set 3-185API Mnemonic Operands Function 71 D HKY Hexadecimal key input Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word d

Seite 227

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

Seite 228

3. Instruction Set 3-187174. External wiring: Y23Y22Y21Y20CX23X22X21X20S/SCDEF89AB45670123PLC(Transistor output)+24V24G Points to note: 175. When H

Seite 229

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-188 API Mnemonic Operands Function 72 DSW DIP Switch Controllers ES2/EX2 SS2

Seite 230

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

Seite 231

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

Seite 232

3. Instruction Set 3-191API Mnemonic Operands Function 74 SEGL 7-segment with Latch Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word de

Seite 233

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

Seite 234

3. Instruction Set 3-193OnPLCVCCYPull-up resistorSignal outputDrive Y 199. Positive logic (negative polarity) output of BCD code BCD value Y output

Seite 235

1. PLC Concepts 1-23WPLSoft programming (SFC mode) SFC logic Internal Ladder Logic LAD-0 S0ZRST S127M1002S0SET Transfer condition 1 TRANS*T0 S22 Y

Seite 236

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-194 ’+’: Positive logic (Negative polarity) output ‘-’: Negative logic (Positive polari

Seite 237

3. Instruction Set 3-195API Mnemonic Operands Function 75 ARWS Arrow switch Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pr

Seite 238

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-196 X0ARWS X20 D20 Y20 K0 1248103102101100Y20Y21Y22Y23Y27Y26Y25Y24Digit indicationLEDX21X

Seite 239

3. Instruction Set 3-197API Mnemonic Operands Function 76 ASC ASCII code conversion Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi

Seite 240

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-198 API Mnemonic Operands Function 77 PR Print (ASCII Code Output) Controllers ES2/

Seite 241

3. Instruction Set 3-199TTTABCD HX20 start signalY20~Y27 dataY30 scan signalY31 being executedT : scan time(ms) Program Example 2: 1. PR instructi

Seite 242

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

Seite 243

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

Seite 244

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

Seite 245

3. Instruction Set 3-203API Mnemonic Operands Function 80 RS Serial Communication Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 246

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 1-24 MEMO

Seite 247

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

Seite 248

3. Instruction Set 3-205Receiving data: (External equipment -> PLC) D120L D122L D123L D124L D125L D126LD121LRegisters for received data, starting

Seite 249

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

Seite 250

3. Instruction Set 3-207Registers for received data (VFD-B responds with messages) Register Data Explanation D120 low ‘: ’ 3A H STX D120 high ‘

Seite 251

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

Seite 252

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

Seite 253

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-210 Receving data: (External equipment→PLC) D120L D122L D123L D124L D125L D126LD121LRegis

Seite 254

3. Instruction Set 3-211Sending data: (PLC→External equipment) D100L D101L D102L D103LSource data register, starting fromlower 8 bits of D100Length =

Seite 255

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

Seite 256

3. Instruction Set 3-213Flag Function Action M1121 Data transmission ready. M1121 = OFF indicates that RS-485 in COM2 is transmitting System sets

Seite 257

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

Seite 258

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

Seite 259

3. Instruction Set 3-215Special register Function D1070~D1085 Feedback data (ASCII) of Modbus communication. When PLC’s RS-485 communication instruc

Seite 260

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

Seite 261

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

Seite 262

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-218 COM1 COM2 COM3 Function Description - D1125 - Definition of ETX1 (RS) - D1126 -

Seite 263

3. Instruction Set 3-219 COM1 COM2 COM3 Function Description - M1141 - MODRD/MODWR/MODRW parameter error (Exception Code exists in received data)

Seite 264

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

Seite 265

3. Instruction Set 3-221Value Error Description H0005 Communication data length error 9. Corresponding table between D1167~D1169 and the associate

Seite 266

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

Seite 267

3. Instruction Set 3-223Field Name Descriptions Address Communication address: n 8-bit binary Function Function code: n 8-bit binary DATA (n-1) ……

Seite 268

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/

Seite 269

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

Seite 270

3. Instruction Set 3-225Timing diagram: SET M1122 X0RS executes X20MODRD/RDST/MODRW data receiving/converting completedM1127Coverting data ofMOD

Seite 271

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

Seite 272

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

Seite 273

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

Seite 274

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” “

Seite 275

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

Seite 276

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

Seite 277

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

Seite 278

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

Seite 279

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

Seite 280

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

Seite 281

3. Instruction Set 3-235API Mnemonic Operands Function 84 CCD P Check Code Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pro

Seite 282

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

Seite 283

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

Seite 284

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-238 API Mnemonic Operands Function 86 VRSC P Volume Scale Read Controllers ES2EX2SS

Seite 285

3. Instruction Set 3-239API Mnemonic Operands Function 87 D ABS P Absolute Value Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 286

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

Seite 287

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

Seite 288

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

Seite 289

3. Instruction Set 3-243Device No. Function Setup Range Explanation S3+10, 11: Accumulated integral value Available range of 32-bit floating point

Seite 290

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Specifications I602~I699, I702~I799, 2 points (Timer resolution = 1ms) Timer interrupt High-

Seite 291

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

Seite 292

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

Seite 293

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

Seite 294

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

Seite 295

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

Seite 296

3. Instruction Set 3-249Example 2: Block diagram of application on AC motor drive (S3+4 = 0) PIDS+MVSpeed instruction (S)Acceleration/deceleration in

Seite 297

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

Seite 298

3. Instruction Set 3-251PIDMVD5SVPVD1D1110051105110V10V0rpmrpm3000D111602550V5VWave A Wave Bpressure meterPressureSV (D0)Set valueramp upMVco

Seite 299

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-252 Application 2: Speed control system and pressure control system work individually (

Seite 300

3. Instruction Set 3-253Application 3: Using auto-tuning for temperature control Control purpose: Calculating optimal parameter of PID instruction fo

Seite 301

2. Programming Concepts 2.2 SS2 Memory Map Specifications Control Method Stored program, cyclic scan system Batch processing method (when END instru

Seite 302

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

Seite 303

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

Seite 304

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

Seite 305

3. Instruction Set 3-257API Mnemonic Operands Function 90 LDP Rising–edge detection operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 306

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-258 API Mnemonic Operands Function 91 LDF Falling–edge detection operationControllers

Seite 307

3. Instruction Set 3-259API Mnemonic Operands Function 92 ANDP Rising-edge series connection Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word

Seite 308

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-260 API Mnemonic Operands Function 93 ANDF Falling-edge series connection Controllers

Seite 309

3. Instruction Set 3-261API Mnemonic Operands Function 94 ORP Rising-edge parallel connection Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wor

Seite 310

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-262 API Mnemonic Operands Function 95 ORF Falling-edge parallel connection Controllers

Seite 311

3. Instruction Set 3-263API Mnemonic Operands Function 96 TMR Timer Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program Steps

Seite 312

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

Seite 313

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

Seite 314

3. Instruction Set 3-265API Mnemonic Operands Function 97 DCNT 32-bit counter Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Pro

Seite 315

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-266 API Mnemonic Operands Function 98 INV - Inverse operation Controllers ES2/EX2 SS2

Seite 316

3. Instruction Set 3-267API Mnemonic Operands Function 99 PLF Falling-edge output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 317

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-268 API Mnemonic Operands Function 100 MODRD Read Modbus Data Controllers ES2/EX2

Seite 318

3. Instruction Set 3-269Program Example 1: Communication between PLC and VFD-B series AC motor drives (ASCII Mode, M1143 = OFF) MOV D1120H87M1002SET

Seite 319

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-270 Registers for received data (responding messages) Register Data Descriptions D1070

Seite 320

3. Instruction Set 3-271Program Example 2: Communication between PLC and VFD-B series AC motor drive (RTU Mode, M1143= ON) MOV D1120H87M1002SET M1120

Seite 321

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

Seite 322

3. Instruction Set 3-273API Mnemonic Operands Function 101 MODWR Write Modbus Data Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word dev

Seite 323

2. Programming Concepts Specifications High-speed I010, I020, I030, I040, I050, I060, I070, I080, 8 points counter interrupt Communication I140(COM1),

Seite 324

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

Seite 325

3. Instruction Set 3-275Registers for received data (responding messages) Register Data Descriptions D1070 low ‘0’ 30 H ADR 1 D1070 high ‘1’ 31

Seite 326

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

Seite 327

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

Seite 328

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-278 API Mnemonic Operands Function 102 FWD Forward Operation of VFD Controllers E

Seite 329

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

Seite 330

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

Seite 331

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

Seite 332

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

Seite 333

3. Instruction Set 3-283API Mnemonic Operands Function 105 RDST Read VFD Status Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 334

iDVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual Programming Contents 1 PLC Concepts 1.1 PLC Scan Method……………………………………………………………………………... 1-2 1.2 Curre

Seite 335

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2.3 SA2 Memory Map Specifications Control Method Stored program, cyclic scan system Batch

Seite 336

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

Seite 337

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

Seite 338

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)

Seite 339

3. Instruction Set 3-287API Mnemonic Operands Function 106 RSTEF Reset Abnormal VFD Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 340

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-288 M1002MOV H86 D1120SET M1120MOVK100D1129RSTM1127M1127X0RSTEFK1 K0SETM1122M1129X0Proces

Seite 341

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

Seite 342

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

Seite 343

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

Seite 344

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

Seite 345

3. Instruction Set 3-293API Mnemonic Operands Function 108 CRC P CRC checksum Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 346

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

Seite 347

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-

Seite 348

3. Instruction Set 3-295API Mnemonic Operands Function 110 D ECMP P Floating point compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wo

Seite 349

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

Seite 350

3. Instruction Set 3-297API Mnemonic Operands Function 112 D MOVR P Move floating point dataControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W

Seite 351

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

Seite 352

3. Instruction Set 3-299API Mnemonic Operands Function 117 D DEG P Radian  Degree Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 353

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

Seite 354

3. Instruction Set 3-301API Mnemonic Operands Function 119 D EBIN P Scientific to float conversion Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devic

Seite 355

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-302 K314MOVPX0D0D0DEBIN D2K-2MOVP D1K314 D0 [D1]K-2 D1 [D0

Seite 356

3. Instruction Set 3-303API Mnemonic Operands Function 120 D EADD P Floating point addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W

Seite 357

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

Seite 358

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-304 API Mnemonic Operands Function 121 D ESUB P Floating point subtraction Contro

Seite 359

3. Instruction Set 3-305API Mnemonic Operands Function 122 D EMUL P Floating point multiplication Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devi

Seite 360

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-306 API Mnemonic Operands Function 123 D EDIV P Floating point division Controlle

Seite 361

3. Instruction Set 3-307API Mnemonic Operands Function 124 D EXP P Float exponent operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W

Seite 362

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-308 API Mnemonic Operands Function 125 D LN P Float natural logarithm operationContr

Seite 363

3. Instruction Set 3-309API Mnemonic Operands Function 126 D LOG P Float logarithm operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 364

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-310 M0RST M1081M1M2DEBCD D20 D30DFLT D0 D10D2 D12DLOG D10 D12 D20DFLT

Seite 365

3. Instruction Set 3-311API Mnemonic Operands Function 127 D ESQR P Floating point square rootControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 366

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

Seite 367

3. Instruction Set 3-313M0RST M1081M1D10 D12M2DEBCD D20 D30D2 D12D20DPOWDFLTDFLTD0 D10

Seite 368

2. Programming Concepts 2.4 SX2 Memory Map Specifications Control Method Stored program, cyclic scan system Batch processing method (when END instru

Seite 369

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

Seite 370

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

Seite 371

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

Seite 372

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

Seite 373

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

Seite 374

3. Instruction Set 3-319API Mnemonic Operands Function 132 D TAN P Tangent Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices Program

Seite 375

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-320 D1 D0D11 D10TAN valuebinary floating pointbinary floating pointRAD value(degree x /

Seite 376

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

Seite 377

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-322 D1 D0D11 D10ASIN valueBinary floating pointbinary floating point

Seite 378

3. Instruction Set 3-323API Mnemonic Operands Function 134 D ACOS P Arc Cosine Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 379

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

Seite 380

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-324 D1 D0D11 D10ACOS valueBinary floating pointbinary floating point

Seite 381

3. Instruction Set 3-325API Mnemonic Operands Function 135 D ATAN P Arc Tangent Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 382

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

Seite 383

3. Instruction Set 3-327API Mnemonic Operands Function 144 GPWM General PWM output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device

Seite 384

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

Seite 385

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

Seite 386

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

Seite 387

3. Instruction Set 3-331API Mnemonic Operands Function 150 MODRW MODBUS Read/ WriteControllers ES2/EX2 SA2 SE SA2 SX2 Bit Devices Word devices

Seite 388

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

Seite 389

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

Seite 390

2. Programming Concepts Specifications High-speed I010, I020, I030, I040, I050, I060, I070, I080, 8 points counter interrupt Communication I140(COM1),

Seite 391

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

Seite 392

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

Seite 393

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-336 H87MOVM1002D1109SETM1136K100MOVD1252MODRWK2K1X0H0500 D0 K16Connection device address:

Seite 394

3. Instruction Set 3-337PLC data receiving register: Register Data Descriptions D0 1234 H PLC converts the data in address 0500H ~ 0515H and stores

Seite 395

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

Seite 396

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

Seite 397

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

Seite 398

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

Seite 399

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-342 H87MOVM1002D1109SETM1136K100MOVD1252MODRWK3K1X0H2100 D0 K6Connection deviceaddress: K

Seite 400

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

Seite 401

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

Seite 402

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-344 H87MOVM1002D1120SETM1120K100MOVD1129RST M1127MODRWK5K1X0H0500 D0K1Function Code K5: F

Seite 403

3. Instruction Set 3-345Registers for received data (responding messages) Register Data Descriptions D1070 low byte ‘0’ 30 H ADR 1 D1070 high byt

Seite 404

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 (

Seite 405

3. Instruction Set 3-347ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF): When X0 = ON, MODRW instruction executes the function specified by Funct

Seite 406

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

Seite 407

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

Seite 408

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-350 5. M1316→M1312: sending request 6. M1318→M1314: receiving completed flag H87MOVM1002D

Seite 409

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

Seite 410

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

Seite 411

3. Instruction Set 3-353Registers for data to be sent (sending messages) Register Data Descriptions D1256 下 01 H Address D1257 下 0F H Function D125

Seite 412

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

Seite 413

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

Seite 414

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

Seite 415

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

Seite 416

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

Seite 417

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

Seite 418

3. Instruction Set 3-359API Mnemonic Operands Function 154 D RAND P Random number Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word device

Seite 419

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-360 API Mnemonic Operands Function 155 D ABSR Absolute position read Controller

Seite 420

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

Seite 421

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

Seite 422

3. Instruction Set 3-363API Mnemonic Operands Function 156 D ZRN Zero return Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word Devices

Seite 423

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

Seite 424

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

Seite 425

3. Instruction Set 3-365Output in reverseOFFONEnd flagM1029/M1102DOG switch: X4/X6Freq.Target freq.JOG freq.TimeStartMeet DOG switch DOG switch OFFO

Seite 426

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-366 OffOnOnOffOnLimit switch X5/X7Limit switch ONOffReverse outputEnd flag M1029/M1102DOG

Seite 427

3. Instruction Set 3-367State 5: Current position at right side of zero point, D1312=-2, M1308=Off, M1346=On. Target speedTimeFreq.X4StartMeet DOGLef

Seite 428

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

Seite 429

3. Instruction Set 3-369 API Mnemonic Operands Function 157 D PLSV Adjustable Speed Pulse Output Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devi

Seite 430

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-370 API Mnemonic Operands Function 158 D DRVI Relative Position Control Controlle

Seite 431

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

Seite 432

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

Seite 433

3. Instruction Set 3-373D1232 Output pulse number for ramp-down stop when Y0 masking sensor receives signals. (LOW WORD) D1233 Output pulse number

Seite 434

2. Programming Concepts Binary Octal Decimal (K) BCD Hexadecimal (H)(BIN) (OCT) (DEC) (Binary Code Decimal) (HEX) Costant K, No. of registers

Seite 435

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-374 API Mnemonic Operands Function 159 D DRVA Absolute Position Control Controlle

Seite 436

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

Seite 437

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:

Seite 438

3. Instruction Set 3-377API Mnemonic Operands Function 160 TCMP P Time compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 439

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

Seite 440

3. Instruction Set 3-379API Mnemonic Operands Function 162 TADD P Time addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 441

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-380 API Mnemonic Operands Function 163 TSUB P Time subtraction Controllers ES2/E

Seite 442

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

Seite 443

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

Seite 444

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

Seite 445

ii 3.2 Explanations to Basic Instructions…………………………………………………………... 3-3 3.3 Pointers………………………………………………………………………………………… 3-123.4 Interrupt Pointers………

Seite 446

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-18 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1

Seite 447

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

Seite 448

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

Seite 449

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 3-386 API Mnemonic Operands Function 168 D MVM P Transfer Designated Bits Controlle

Seite 450

3. Instruction Set 3-387 API Mnemonic Operands Function 169 D HOUR Hour meter Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 451

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

Seite 452

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

Seite 453

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

Seite 454

3. Instruction Set 3-391API Mnemonic Operands Function 172 D ADDR P Floating point addition Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W

Seite 455

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-392 X0DADDR D0 D2 D10

Seite 456

3. Instruction Set 3-393API Mnemonic Operands Function 173 D SUBR P Floating point subtraction Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 457

2. Programming Concepts 2-19Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1052 Disable interruption I200 / I

Seite 458

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-394 X0DSUBRD0D2D10

Seite 459

3. Instruction Set 3-395API Mnemonic Operands Function 174 D MULR P Floating point multiplication Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devi

Seite 460

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-396 X1D0 D10 D20DMULR

Seite 461

3. Instruction Set 3-397API Mnemonic Operands Function 175 D DIVR P Floating point division Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices W

Seite 462

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-398 API Mnemonic Operands Function 176 MMOV P 16-bit→32-bit ConversionControllers ES2

Seite 463

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

Seite 464

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

Seite 465

3. Instruction Set 3-401M1002MOV H81D1036SETM1138MOV K2000 D1249Set communication protocol as 9600,8,N,1Retain communication settingSet receiving tim

Seite 466

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-402 1234567812345678

Seite 467

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

Seite 468

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-20 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1

Seite 469

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

Seite 470

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

Seite 471

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-406 API Mnemonic Operands Function 179 D WSUM P Sum of multiple devices Controller

Seite 472

3. Instruction Set 3-407API Mnemonic Operands Function 180 MAND P Matrix AND Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 473

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

Seite 474

3. Instruction Set 3-409API Mnemonic Operands Function 181 MOR P Matrix OR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices P

Seite 475

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

Seite 476

3. Instruction Set 3-411API Mnemonic Operands Function 183 MXNR P Matrix XNR Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devices

Seite 477

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-412 API Mnemonic Operands Function 184 MINV P Matrix inverse Controllers ES2/EX2 SS

Seite 478

3. Instruction Set 3-413API Mnemonic Operands Function 185 MCMP P Matrix compare Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi

Seite 479

2. Programming Concepts 2-21Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1109 Y1 pulse output pause (ramp do

Seite 480

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

Seite 481

3. Instruction Set 3-415API Mnemonic Operands Function 186 MBRD P Matrix bit read Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 482

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-416 b0D20451010101010110110101010101010101101010101010b4700101PointerD0D1D2 Points to note:

Seite 483

3. Instruction Set 3-417API Mnemonic Operands Function 187 MBWR P Matrix bit write Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi

Seite 484

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-418 1b0010101010101011010101010101010101101010101010b47D204511M10961010101010101011010101010

Seite 485

3. Instruction Set 3-419API Mnemonic Operands Function 188 MBS P Matrix bit shift Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devic

Seite 486

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-420 Before executionAfter bits shift to left1b0010101010101011010101010101010101101010101010

Seite 487

3. Instruction Set 3-421API Mnemonic Operands Function 189 MBR P Matrix bit rotate Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Word devi

Seite 488

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-422 Before executionAfter rotation to the left1B001010101010101101010101010101010110101010

Seite 489

3. Instruction Set 3-423API Mnemonic Operands Function 190 MBC P Matrix bit status count Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices Wor

Seite 490

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-22 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1

Seite 491

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

Seite 492

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,

Seite 493

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-426 M0RST= D0 K1DPPMR D200D202 K100000Y0= D0 K2DPPMR D204D206 K100000Y0= D0 K3DPPMR D2

Seite 494

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

Seite 495

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 (

Seite 496

3. Instruction Set 3-429API Mnemonic Operands Function 193 D CIMR 2-Axis Relative Position Arc Interpolation Controllers ES2/EX2 SS2 SA2 SESX2

Seite 497

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

Seite 498

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

Seite 499

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

Seite 500

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

Seite 501

2. Programming Concepts 2-23Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1203 C203 counting mode (ON: count

Seite 502

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-434 API Mnemonic Operands Function 194 D CIMA 2-Axis Absolute Position Arc Interpolatio

Seite 503

3. Instruction Set 3-435above). Place them in the 32-bit registers (D200, D202), (D204, D206), (D208, D210), (D212, D214). b) Select “draw clockwise

Seite 504

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), (

Seite 505

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

Seite 506

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

Seite 507

3. Instruction Set 3-439 API Mnemonic Operands Function 197 D CLLM Close loop position control Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 508

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

Seite 509

3. Instruction Set 3-441FrequencyTimePulse NumberHigh speed counter receives target number of feedbacksorExternal interrupt occursTarget frequencySta

Seite 510

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-442 MOVMOVMOVK100K100K100D0M1002D1131D1343D1348SETDMOV K0D1030EIFENDIRETENDDCLLMX4K50000K100

Seite 511

3. Instruction Set 3-443MOVMOVMOVK100K600D0M1002D1131D1348SETDMOV K0D1030EIFENDIRETENDDCLLMC243K50000K100000Y0INCM1534M0M1000I010K200D1340MOVD1343MOV

Seite 512

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-24 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1

Seite 513

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-444 100KHzD1340D1348D1343C243 =K50000600msFrequencyY0 output stops TimePulse numberSpecified

Seite 514

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

Seite 515

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-446 API Mnemonic Operands Function 198 D VSPO Variable speed pulse output Controllers E

Seite 516

3. Instruction Set 3-447Function Explanations: Pulse output diagram: Freq.Timet1t2t3g1g2g3S2Pulse number 1. Definitions: t1 Æ target frequency of 1st

Seite 517

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

Seite 518

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

Seite 519

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-450 API Mnemonic Operands Function 199 D ICF Immediately change frequencyControllers ES

Seite 520

3. Instruction Set 3-451Freq.TimeGap freq.Delayed by program scan cycleGaptimeGaptimeChange target freq.Actual timing of changing 2. If users change

Seite 521

DVP-ES2/EX2/SS2/SA2/SX2 Operation Manual - Programming 3-452 Freq.(Hz)Time(ms)1000Hz10ms20ms800Hz100ms2000HzM0=ON X6=ONX7=ON100KHz50KHz100Hz1,000,000

Seite 522

3. Instruction Set 3-453MOVM0EIMOVMOVFENDDMOVPK100000 D500K1000D502K10D503DVSPOK1000000Y0D502D500MOVM1000MOVMOVIRETDMOVK50000 D500K800D502K20D503DICF

Seite 523

2. Programming Concepts 2-25Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1274 C239 counting mode (ON: fallin

Seite 524

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-454 API Mnemonic Operands Function 202 SCAL P Proportional calculation Controller

Seite 525

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

Seite 526

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-456 API Mnemonic Operands Function 203 D SCLP P Parameter proportional calculation

Seite 527

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

Seite 528

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

Seite 529

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

Seite 530

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-460 API Mnemonic Operands Function 205 CMPT P Compare table Controllers ES2/EX2

Seite 531

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

Seite 532

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

Seite 533

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

Seite 534

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-26 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1

Seite 535

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-464 H87MOVM1002D1120SET M1120K100MOVD1129RST M1127ASDRW K0K1X0D0ASDA address: K1Function

Seite 536

3. Instruction Set 3-465Points to note: Relative flags and special D registers of COM2/COM3 : COM2 COM3 Function Description M1120 M1136Retain

Seite 537

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-466 API Mnemonic Operands Function 207 CSFO Catch speed and proportional output

Seite 538

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

Seite 539

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-468 API Mnemonic Operands Function 215~217 D LD# Contact Type Logic OperationContr

Seite 540

3. Instruction Set 3-469API Mnemonic Operands Function 218~220 D AND# Serial Type Logic Operation Controllers ES2/EX2 SS2 SA2 SESX2 Bit Device

Seite 541

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

Seite 542

3. Instruction Set 3-471API Mnemonic Operands Function 224~230 D LD※ Contact Type Comparison Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 543

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-472 API Mnemonic Operands Function 232~238 D AND※ Serial Type Comparison Controlle

Seite 544

3. Instruction Set 3-473API Mnemonic Operands Function 240~246 D OR※ Parallel Type Comparison Controllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 545

2. Programming Concepts 2-27Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. Latch-edDefaultM1378* Indicate Slave ID#3 data inte

Seite 546

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

Seite 547

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

Seite 548

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

Seite 549

3. Instruction Set 3-477API Mnemonic Operands Function 269 D BLD Load NO Contact by Specified BitControllers ES2/EX2 SS2 SA2 SESX2 Bit Devices

Seite 550

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

Seite 551

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

Seite 552

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

Seite 553

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

Seite 554

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

Seite 555

3. Instruction Set 3-483 API Mnemonic Operands Function 275~280 FLD※ Floating Point Contact Type Comparison LD※ Controllers ES2/EX2 SS2 SA2 SES

Seite 556

iii7.4 Sending SDO, NMT and Reading Emergency Message through the Ladder Diagram... 7-15 7.4.1 Data Structure of SDO Request Message……………………………………

Seite 557

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-28 Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultM1

Seite 558

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-484 API Mnemonic Operands Function 281~286 FAND※ Floating Point Contact Type Compar

Seite 559

3. Instruction Set 3-485API Mnemonic Operands Function 287~292 FOR※ Floating Point Contact Type Comparison OR※ Controllers ES2/EX2 SS2 SA2 SE

Seite 560

DVP-ES2/SX2/SS2/SA2/SX2/SE Operation Manual – Programming 3-486 MEMO

Seite 561

Communications This chapter introduces information regarding the communications ports of the PLC. Through this chapter, the user can obtain a full

Seite 562

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

Seite 563

4. Communications − 7 data bits − 1 stop bit − Even parity − Baud rate: 9600 4.2 Communication Protocol ASCII mode Communication Data Structure 96

Seite 564

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

Seite 565

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

Seite 566

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Exception response: The PLC is expected to return a normal response after receiving command

Seite 567

4. Communications Exception code: Explanation: 01 Illegal command code: The command code received in the command message is invalid for PLC. 02 Illeg

Seite 568

2. Programming Concepts Special M Function ES2EX2SS2 SA2 SX2OFFØONSTOPØ RUNRUN Ø STOP Attrib. LatchDefault-edIndicate that writing to Slave ID#14 is c

Seite 569

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

Seite 570

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

Seite 571

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>>

Seite 572

4. Communications Feedback message: Field Name Example (Hex) START No data input ≥ 10 ms Slave Address 01 Function 81 Exception Code 02 CRC CHK

Seite 573

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

Seite 574

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)

Seite 575

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

Seite 576

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

Seite 577

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

Seite 578

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

Seite 579

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

Seite 580

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

Seite 581

4. Communications Sent message: Field Name ASCII STX : Slave Address 01 Command code 10 Starting Address Hi 06 Starting Address Lo 00 Number

Seite 582

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming MEMO 4-20

Seite 583

Sequential Function Chart This chapter provides information for programming in SFC mode. Chapter Contents 5.1 Step Ladder Instruction [STL], [RE

Seite 584

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 5.1 Step Ladder Instruction [STL], [RET] Mnemonic Operands Function Program stepsSTL S0~S

Seite 585

5. Sequential Function Chart action and the transition from one step to another generally requires some transition criteria (condition). The action of

Seite 586

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

Seite 587

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

Seite 588

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

Seite 589

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:

Seite 590

2. Programming Concepts Accumulative Timer The timer executes once when the program reaches END instruction. When TMR instruction is executed, the tim

Seite 591

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming STL diagram. However, there are restrictions on some of the instructions. Care should be take

Seite 592

5. Sequential Function Chart SETY0S10SS20SY2S20Y1SETY0S10SS20SY2S20Y1 2. As indicated in the below diagram, make sure to connect RET instruction dire

Seite 593

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

Seite 594

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

Seite 595

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

Seite 596

5. Sequential Function Chart Ladder diagram of simultaneous divergence: X0SETSET S22S21SSET S23S20SET S24 SFC diagram of simultaneous divergence: S20S

Seite 597

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming In simultaneous convergence, only when all sequences are completed will the transfer be allow

Seite 598

5. Sequential Function Chart Example of alternative divergence & alternative convergence: Step Ladder Diagram: SFC Diagram: M1002ZRST S0 S127SE

Seite 599

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Example of simultaneous divergence & simultaneous convergence: Step Ladder Diagram: S

Seite 600

5. Sequential Function Chart Example of the simultaneous divergence & alternative convergence: Step Ladder Diagram: SFC Diagram: S127K10M1002ZR

Seite 601

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

Seite 602

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Combination example 1: (Includes alternative divergence/convergence and simultaneous divergen

Seite 603

5. Sequential Function Chart SFC Diagram: S0S20S30S40S0M1002X0X1X4X27Y1Y2Y5S50X7S70Y27S51S61X22Y20Y24S52S62X23Y21Y25X21X25S60Y23Y0Y7S31Y3X5X2S32Y4X6X3

Seite 604

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Combination example 2: (Includes alternative divergence/convergence and simultaneous divergen

Seite 605

5. Sequential Function Chart SFC Diagram: S0S20S30S40S0M1002X0X1X11X51Y0Y1Y11S50X20S80Y41S51S71X33Y15Y33S53S73X35Y17Y35X32X44S70Y32Y14S31Y2X12X2S32Y4X

Seite 606

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 5.6 IST Instruction API Mnemonic Operands Function Controllers ES2/EX260 IST Initial

Seite 607

5. Sequential Function Chart “manual operation mode”, S1 initiates “zero return mode” and S2 initiates “auto mode”. Thus, the three step points of ini

Seite 608

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 5. Control panel X35X36X37X20X21X22X23X24X25Step X32One cycleoperation X33Continuousoperation

Seite 609

5. Sequential Function Chart 8. Zero return mode: a) SFC: S1S10X35S11X4S12X1RST Y4RST Y1Y0RSTY2Y3SETM1043RST S12Release ballsStop lowering robot armRa

Seite 610

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming 9. Auto operation (Single step / One-cycle operation / continuous operation): a) SFC: S2S20S

Seite 611

5. Sequential Function Chart b) Ladder Diagram: ENDRETSET S20SET S30SET Y4Y0X5S31SX4TMR T0SET S32S2SM1041 M1044S20SS30SY1X0SET S40X5 X0SET S31T0K30Y2S

Seite 612

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

Seite 613

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming MEMO 5-28

Seite 614

Troubleshooting This chapter offers error code table and information for troubleshooting during PLC operation. Chapter Contents 6.1 Common Prob

Seite 615

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

Seite 616

6. Troubleshooting 6-3Symptom Troubleshooting and Corrective Actions Diagnosing Input Malfunction When input indicator LEDs are OFF, 1. Check the w

Seite 617

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

Seite 618

6. Troubleshooting 6-5Error code Description Action 0E05 DCNT operand CXXX misuse 0E18 BCD conversion error 0E19 Division error (divisor=0) 0E1A

Seite 619

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

Seite 620

7-1CANopen Function and Operation This chapter explains the functions of CANopen and the usage. Chapter Contents 7.1 The Introduction of CANope

Seite 621

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,

Seite 622

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

Seite 623

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

Seite 624

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

Seite 625

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

Seite 626

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

Seite 627

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

Seite 628

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

Seite 629

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

Seite 630

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

Seite 631

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

Seite 632

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-12 Reply code (hex) Description 80 Stopping the SDO function ¾ NMT (network management

Seite 633

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

Seite 634

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

Seite 635

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

Seite 636

7 CANopen Function and Operation 7-15¾ The corresponding object in the predefined connection set Object Function code COB-ID Index of the communica

Seite 637

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

Seite 638

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

Seite 639

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

Seite 640

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

Seite 641

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

Seite 642

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

Seite 643

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-22 ¾ Explanation of Request Message Devices: Explanation PLC device Content (Hex) High

Seite 644

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

Seite 645

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

Seite 646

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

Seite 647

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

Seite 648

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

Seite 649

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

Seite 650

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

Seite 651

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

Seite 652

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 7-30 4) Click “Network”> “Master Parameter” and the following “Master configure…” dialo

Seite 653

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

Seite 654

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

Seite 655

7 CANopen Function and Operation 7-33PDO transmission type can be synchronous transmission and asynchronous transmission. In synchronous transmission

Seite 656

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

Seite 657

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

Seite 658

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

Seite 659

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

Seite 660

7 CANopen Function and Operation 7-37Index Subindex Object name Data type Attribute Default valueH’00 Number of valid subindex Unsigned 8 bits

Seite 661

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

Seite 662

7 CANopen Function and Operation 7-39Index Subindex Object name Data type Attribute Default valueH’05 Timer Unsigned 16 bits RW 100 -- TxPDO2

Seite 663

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

Seite 664

7 CANopen Function and Operation 7-41Index Subindex Object name Data type Attribute Default valueH’03 The third mapped object Unsigned 32 bits R

Seite 665

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

Seite 666

Appendix An introduction of installing the USB driver in the PLC Contents A.1 Installing the USB Driver ...

Seite 667

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

Seite 668

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming X21012345X20676543X1count upX0count downC247presentvalueY0, C247 contact AB-phase input high

Seite 669

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

Seite 670

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

Seite 671

DVP-ES2EX2/SS2/SA2/SX2/SE Operation Manual - Programming Select Communication Setting in Options to open the Communication Setting window. Select RS

Seite 672

2. Programming Concepts 012345X21X2063012345A-phase X0B-phase X1C251 present valueY0, C251 contactCounting upCounting down 2.13 Special Data Registe

Seite 673

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-40 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD102

Seite 674

2. Programming Concepts 2-41Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1070 ↓ D1085 Feedback data (ASCII)

Seite 675

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-42 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD112

Seite 676

2. Programming Concepts 2-43Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1187 Index register F3 ○ ○ ○ ○0 - -

Seite 677

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-44 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD125

Seite 678

2. Programming Concepts 2-45Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1352 Start/end frequency of the 2nd

Seite 679

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming 2-46 Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. Latch-ed DefaultD139

Seite 680

2. Programming Concepts 2-47Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. Latch-edDefaultD1442* Data length to be read on Sla

Seite 682

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. LatchDefault-ed ↓ PLC LINK

Seite 683

2. Programming Concepts Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOP Ø RUN RUN Ø STOP Attrib. LatchDefault-ed↓ PLC LINK D1767* D1768* The data which

Seite 684

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Special D Content ES2EX2SS2SA2SX2OFFØ ONSTOPØ RUNRUNØ STOPAttrib. LatchDefault-ed D1960* The

Seite 685

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

Seite 686

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

Seite 687

2. Programming Concepts Y0X1P2CALLX0Y1P**20P2FENDY1SRET24(subroutine P2)subroutineCall subroutine P**subroutine return Interrupt pointer I: use

Seite 688

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

Seite 689

2. Programming Concepts 2.16 Applications of Special M Relays and D Registers PLC Operation Flag Function Group M1000~M1003 Number Contents: These r

Seite 690

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

Seite 691

2. Programming Concepts 2. D1008 saves the STEP address where the timeout occurred Scan Time Monitor Function Group D1010~D1012 Number Contents: The

Seite 692

1-1 PLC Concepts This chapter introduces basic and advanced concepts of ladder logic, which is the mostly adopted programming language of PLC. Users

Seite 693

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming X10M1015 M1016~M1017, D1313~D1319 Function Group Real Time Clock Number Contents: 1. Speci

Seite 694

2. Programming Concepts Adjustment on Input Terminal Response Time Function Group D1020 Number Contents: 1. D1020 can be used for setting up the re

Seite 695

DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming Communication Error Code Function Group M1025, D1025 Number Contents: In the connection betw

Seite 696

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

Seite 697

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

Seite 698

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

Seite 699

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

Seite 700

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

Seite 701

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

Seite 702

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

Verwandte Modelle: DVP-EX2 | DVP-SS2 | DVP-SA2 | DVP-SX2 | DVP-SE |

Kommentare zu diesen Handbüchern

Keine Kommentare