Delta DVP-ES2/EX2/SS2/SA2/SX2/SE - Manuals
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE – Manual in PDF format online.
Manuals:
Manual Delta DVP-ES2/EX2/SS2/SA2/SX2/SE
Summary
DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual P r o g r a m m i n g Publication History I s s u e D e s c r i p t i o n o f C h a n g e s D a t e F i r s t E d i t i o n T h e f i r s t e d i t i o n i s i s s u e d . 2 0 1 0 / 0 8 / 0 4 S e c o n d E d i t i o n 1 . C h a p t e r 2 . 8 M R e l a y : ...
i DVP-ES2/EX2/SS2/SA2/SX2/SE Operation Manual Programming Contents 1 P L C C o n c e p t s 1.1 PLC Scan Method……………………………………………………………………………... 1-2 1.2 Current Flow……………………………………………………………………………………. 1-3 1.3 NO Contact, NC Contact……………………………………………………………………… 1-3 1.4 PLC Registers and Relays…………………………………...
i i i 7.4 Sending SDO, NMT and Reading Emergency Message through the Ladder Diagram... 7-15 7.4.1 Data Structure of SDO Request Message………………………………………... 7-15 7.4.2 Data Structure of NMT Message…………………………………………………... 7-18 7.4.3 Data Structure of EMERGENCY Request Message…………………………….. 7-19 7.4.4 Exam...
i v T h e D V P - E S 2 s e r i e s P L C s , t h e D V P - E S 2 - C s e r i e s P L C s , t h e D V P - E X 2 s e r i e s P L C s , t h e D V P - S S 2 s e r i e s P L C s , t h e D V P - S A 2 s e r i e s P L C s , t h e D V P - S X 2 s e r i e s P L C s , a n d t h e D V P - S E s e r i e s P L ...
1 - 1 PLC Concepts This chapter introduces basic and advanced concepts of ladder logic, which is the mostly adopted programming language of PLC. Users familiar with the PLC concepts can move to the next chapter for further programming concepts. However, for users not familiar with the operating prin...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 2 1.1 PLC Scan Method PLC utilizes a standard scan method when evaluating user program. Scanning process: Scan input status Read the physical input status and store the data in internal memo...
1 . P L C C o n c e p t s 1 - 3 Scan time exception PLC can process certain items faster than the scan time. Some of these items interrupts and halt the scan time to process the interrupt subroutine program. A direct I/O refresh instruction REF allows the PLC to access I/O immediately during user pr...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 4 1.4 PLC Registers and Relays Introduction to the basic internal devices in a PLC X (Input Relay) Bit memory represents the physical input points and receives external input signals. Devi...
1 . P L C C o n c e p t s 1 - 5 1.5 Ladder Logic Symbols The following table displays list of WPLSoft symbols their description, command, and memory registers that are able to use the symbol. Ladder Diagram Structure Explanation Instruction Available Devices NO (Normally Open) contact / A contact LD...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 6 Ladder Diagram Structure Explanation Instruction Available Devices Multiple output branches MPS MRD MPP None Output coil OUT Y, M, S S Step ladder STL S Basic / Application instruction - B...
1 . P L C C o n c e p t s 1 - 7 Execution 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 7 ANB 8 OUT Y1 TMR T0 K10 1.5.2 LD / LDI (Load NO contact / Load NC contact) LD or LDI starts a row or block AN D b lo ck OR b lo ck LD i nstru ct i on...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 8 1.5.6 OR / ORI (Connect NO contact in parallel / Connect NC contact in parallel) OR (ORI) instruction connects a NO (NC) in parallel with another device or block. OR i n structi on OR i n ...
1 . P L C C o n c e p t s 1 - 9 Branch instruction Branch Symbol Description MPS ┬ Start of branches. Stores current result of program evaluation. Max. 8 MPS-MPP pairs can be applied MRD ├ Reads the stored current result from previous MPS MPP └ End of branches. Pops (reads then resets) the stored re...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 1 0 e S 0 S2 1 S2 2 M 1 00 2i n i ti alp u ls e M 1 00 2 S E T S 0 S E T S 2 1 S S 0 S E T S 2 2 S S 2 1 S S 2 2 S 0 RE T 1.5.12 RET (Return) RET instruction has to be placed at the end of s...
1 . P L C C o n c e p t s 1 - 11 1.6 Conversion between Ladder Diagram and Instruction List Mode Ladder Diagram X 0 X2 X 1 X 1 M 1 C0 Y0 SE T S0 M 2 Y 0 M 0 X 1 0 Y 1 0 SE T S1 0 S0 S X 11 Y 11 SE T S11 S1 0 S SE T S1 2 SE T S1 3 X 1 2 Y 1 2 SE T S2 0 S 11 S X 1 3 S 0 RE T S 2 0 S S 1 2 S S1 3 S X0 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 1 2 1.7 Fuzzy Syntax Generally, the ladder diagram programming is conducted according to the “up to down and left to right” principle. However, some programming methods not following this pr...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 1 4 “Reverse current” exists 1.8 Correcting Ladder Diagram Example 1: Connect the block to the front for omitting ANB instruction because simplified program improves processing speed Instruc...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 1 6 Example 5: Correct the circuit of reverse current. The pointed reverse current loops are modified on the right. X 0 X 3 X 6 X 1 X 4 X 7 X 2 X 5 X 1 0 L OO P 1 re v er se c u rre n t Ö X0...
1 . P L C C o n c e p t s 1 - 1 7 Example 2 - Start First latched circuit When X1 (START) = ON and X2 (STOP) = OFF, Y1 will be ON and latched. If X2 is turned ON, Y1 remains ON. This is a Start First circuit because START button has the control priority than STOP X2 Y1 X1 Y1 Example 3 - Latched circ...
1 . P L C C o n c e p t s 1 - 1 9 Example 9 – Oscillating Circuit with Timer An oscillating circuit with cycle nT+ Δ T T0 X0 TMR Y1 Y1 T0 Kn Y1 T T n X0 When X0 = ON, T0 starts timing (nT). Once the set time is reached, contact T0 = ON to enable Y1( Δ T). In next scan, Timer T0 is reset due to the r...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 2 0 Example 13 - Output delay circuit The output delay circuit is composed of two timers executing delay actions. No matter input X0 is ON or OFF, output Y4 will be delayed. T5 T5 TMR Y4 T6 ...
1 . P L C C o n c e p t s 1 - 2 1 Example 16 - Traffic light control (Step Ladder Logic) Traffic light control Red light Yellow light Green light Green light blinking Vertical light Y0 Y1 Y2 Y2 Horizontal light Y20 Y21 Y22 Y22 Light Time 35 Sec 5 Sec 25 Sec 5 Sec Vertical Light HorizontalLight Timin...
1 . P L C C o n c e p t s 1 - 2 3 WPLSoft programming (SFC mode) SFC logic Internal Ladder Logic LAD-0 S0 ZRST S1 27 M1 00 2 S0 SET Transfer condition 1 TRAN S* T0 S22 Y2 T2 TMR K5 0 M1 01 3 Transfer condition 4 TRAN S* T13 TRAN S* T13 TRAN S* T13 TRAN S* T13 TRAN S* T13 TRAN S* T13 TRAN S* T13 0 2 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 1 - 2 4 MEMO
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 2.1 ES2/EX2 Memory Map Specifications Control Method Stored program, cyclic scan system I/O Processing Method Batch processing method (when END instruction is executed) Execution Speed LD instru...
2 . P r o g r a m m i n g C o n c e p t s Specifications C235~C242, 1 phase 1 input, 8 points, (*2) Soft- ware C232~C234, 2 phase 2 input, 3 points, (*2) C243~C244, 1 phase 1 input, 2 points, (*2) C245~C250, 1 phase 2 input, 6 points, (*2) 32bit high- speed count up/down Hard- ware C251~C254 2 phase...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 2.5 Status and Allocation of Latched Memory Memory type Power OFF=>ON STOP=>RUN Clear all Clear all RUN=>STOP non-latched Factory latched area area setting (M1032=ON) (M1031=ON) When M1...
2 . P r o g r a m m i n g C o n c e p t s 2.6 PLC Bits, Nibbles, Bytes, Words, etc For different control purposes, there are five types of values inside DVP-PLC for executing the operations. Numeric Description Bit Bit is the basic unit of a binary number system. Range is 0 or 1 Consists of 4 consec...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g z Constant K: Decimal value in PLC operation is attached with an “K”, e.g. K100 indicates the value 100 in Decimal format. Exception: When constant K is used with bit devices X, Y, M, S, the val...
2 . P r o g r a m m i n g C o n c e p t s Binary Octal Decimal (K) BCD Hexadecimal (H) (BIN) (OCT) (DEC) (Binary Code Decimal) (HEX) Costant K, No. of registers M, S, T, C, D, E, F, P, I devices For PLC internal operation For DIP Switch and 7-segment display No. of X, Y relay Constant H 1101 15 13 0...
2 . P r o g r a m m i n g C o n c e p t s Accumulative Timer The timer executes once when the program reaches END instruction. When TMR instruction is executed, the timer coil will be ON when the current value reaches its preset value. For accumulative timers, current value will not be cleared when ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 2.12 High-speed Counters There are two types of high speed counters provided including Software High Speed Counter (SHSC) and Hardware High Speed Counter (HHSC). The same Input point (X) can be ...
2 . P r o g r a m m i n g C o n c e p t s Applicable Hardware High Speed Counters: 1-phase input 1-phase 2-input 2-phase 2-input C X C243 C244 C245 C246 C247 C248 C249 C250 C251 C252 C253 C254 X0 U U/D U/D U U A A X1 R Dir Dir D D B B X2 U U/D U/D A A X3 R Dir Dir B B X4 R R R X5 R R U: Count up A: ...
2 . P r o g r a m m i n g C o n c e p t s 1. X21 drives M1235 to determine counting direction (Up/Down) of C235. 2. When X20 = ON, RST instsruction executes and the current value in C235 will be cleared. Contact C235 will be OFF 3. When X22 = ON, C235 receives signals from X0 and counter will count ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g X2 1 0 1 2 3 4 5 X2 0 6 7 6 5 4 3 X1 count up X0 count down C247presentvalue Y0, C247 contact AB-phase input high-speed counter: Example: LD M1002 C2 51 Y0 X2 1 C2 51 K5 DCNT C2 51 RS T X2 0 M1 ...
2 . P r o g r a m m i n g C o n c e p t s 0 1 2 3 4 5 X2 1 X2 0 6 3 0 1 2 3 4 5 A-phase X0 B-phase X1 C251 present value Y0, C251 contact Counting up Counting down 2.13 Special Data Register The types and functions of special registers (special D) are listed in the table below. Care should be taken ...
2 . P r o g r a m m i n g C o n c e p t s 2.14 E, F Index Registers Index registers are used as modifiers to indicate a specified device (word, double word) by defining an offset. Devices can be modified includes byte device (KnX, KnY, KnM, KnS, T, C, D) and bit device (X, Y, M, S). E, F registers c...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g I000/I001(X0), I100/I101(X1), I200/I201(X2), I300/I301(X3), I400/I401(X4), I500/I501(X5), I600/I601(X6), I700/I701(X7), 8 points (01, rising-edge trigger External interrupt , 00, falling-edge tr...
2 . P r o g r a m m i n g C o n c e p t s Y0 X1 P2 CA LL X0 Y1 P* * 20 P2 FEND Y1 SR ET 24 (subroutine P2) subroutine Call subroutine P** subroutine return Interrupt pointer I: used with application instruction API 04 EI, API 05 DI, API 03 IRET. There are four types of interruption pointers. To inse...
2 . P r o g r a m m i n g C o n c e p t s 2.16 Applications of Special M Relays and D Registers PLC Operation Flag Function Group M1000~M1003 Number Contents: These relays provide information of PLC operation in RUN status. M1000: NO contact for monitoring PLC status. M1000 remains “ON” when PLC is ...
2 . P r o g r a m m i n g C o n c e p t s Content 0100(H4): 600 0101(H5): 1200 0110(H6): 2400 0111(H7): 4800 1000(H8): 9600 1001(H9): 19200 1010(HA): 38400 1011(HB): 57600 1100(HC): 115200 1101(HD): 500000 (COM2 / COM3) 1110(HE): 31250 (COM2 / COM3) b7 921000 (COM2 / COM3) 1111(HF): b8 Select start ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Example 3: Modifying COM3 communication format 1. Add the below instructions on top of the program to modify the communication format of COM3. When PLC switches from STOP to RUN, the program wil...
2 . P r o g r a m m i n g C o n c e p t s Note: 1. The modified communication format will not be changed when PLC state turns from RUN to STOP. 2. If the PLC is powered OFF then ON again in STOP status, the modified communication format on COM1~COM3 will be reset to default communication format (960...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 2. By using PLC-Link, D1038 can be set to send next communication data with delay. Unit: 1 scan cycle. 0~10,000 adjustable Fixed scan time Function Group M1039, D1039 Number Contents: 1. When M1...
2 . P r o g r a m m i n g C o n c e p t s 5. The analog output signals and ondi their corresp ng digital values: Model 20EX2/SX2 30EX2 Mode Voltage -10 V~+10 V -2000~+2000 -32000~+32000 +0 mA 0~+4000 +0~+32000 ~+20 mA + Current +4 mA 0~+40 00 ~+20 mA + 00 +0~+320 6. The descriptions of the special d...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g MASTER PLC SLAVE SLAVE ID E ID 4 SLAV 6 SLAVE I VE ID 8 ID 1 SLAVE ID 2 3 SLAV E ID 5 SLAVE ID D 7 SLA Read out W Read out Wri in Write in Read out rite Read out W Write in rite in Read out Writ...
2 . P r o g r a m m i n g C o n c e p t s D1442 D1458 D1443 464 D1449 D1465 D1459 D1444 D1460 D1445 D1461 D1446 D1462 D1447 D1463 D1448 D1 Starting ref f the Sl acces erence o ave to be sed* D1363 D1423 D1364 1429 D1370 D1430 D1424 D1365 D1425 D1366 D1426 D1367 D1427 D1368 D1428 D1369 D M1355 = ON, ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Operation flow chart: 10. Se t st ar ti n g re f er en ce of t h e S rea d: D1 35 5~D1 37 0 Se t da t a l e ng th f o r re ad in g f rom Sla ve PLC: D1 43 4~D1 44 9 C wi ll t ake d ef a ul t or ...
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 concerning the usage of the instructions. Chapter Contents 3.1 Basic Instructions (without API numbers) ....................................................
3 . I n s t r u c t i o n S e t 3 - 3 execution time could be longer due to a more complicated program, e.g. program contains multiple interruptions or high speed input/output. 3.2 Explanations to Basic Instructions Mnemonic Operands Function Program steps LD X, Y, M, S, T, C Load NO contact 1~3 Con...
3 . I n s t r u c t i o n S e t 3 - 5 Explanations: The ORI instruction is used to connect NC contact in parallel. Program example: Ladder diagram: X0 X1 Y1 Instruction: Operation: LD X0 Load NO contact X0 ORI X1 Connect NC contact X1 in parallel OUT Y1 Drive Y1 coil Mnemonic Function Program steps ...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 6 Program example: Ladder diagram: X0 X2 Y1 X1 X3 ORB Bl ock A Bl ock B Instruction: Operation: LD X0 Load NO contact X0 ANI X1 Connect NC contact X1 in series LDI X2 Load NC contact X2 AND ...
3 . I n s t r u c t i o n S e t 3 - 7 Program example: Ladder diagram: X0 Y1 X1 M0 X2 Y2 EN D M PP M R D M PS Instruction: Operation: LD X0 Load NO contact X0 MPS Store current status AND X1 Connect NO contact X1 in series OUT Y1 Drive Y1 coil MRD Read the stored status AND X2 Connect NO contact X2 ...
3 . I n s t r u c t i o n S e t 3 - 11 Timing Diagram: A scan cycle M 0 Y 0 M 1 A scan cycle Mnemonic Function Program steps PN Positive contact to Negative contact 1 Controllers ES2/EX2 SS2 SA2 SE SX2 Explanation: When the conditions preceding PN command change from true to false, PN command (works...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 2 3.3 Pointers Mnemonic Operands Function Program steps P P0~P255 Pointer 1 Controllers ES2/EX2 SS2 SA2 SE SX2 Explanation: Pointer P is used with API 00 CJ and API 01 CALL instructions. T...
3 . I n s t r u c t i o n S e t 3 - 1 3 : IRET Interruption return External interrupt: ES2 supports 8 external input interrupts: (I000/I001, X0), (I100/I101, X1), (I200/I201, X2), (I300/I301, X3), (I400/I401, X4), (I500/I501, X5), (I600/I601, X6) and (I700/I701, X7). (01, rising-edge trigger , 00, f...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 4 3.5 Application Programming Instructions 1. PLC instructions are provided with a unique mnemonic name to make it easy to remember instructions. In the example below the API number given ...
3 . I n s t r u c t i o n S e t 3 - 1 5 Source: if there are more than one source is required, it will be indicated as S 1 , S 2. ...etc. Destination: if there are more than one destination is required, it will be indicated as D 1 , D 2. ...etc. If the operand can only be constant K/H or a register,...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 6 supports index E and F. A symbol “ * ” is given to device which can be used for this operand Steps occupied by the 16-bit/32-bit/pulse instruction Applicable PLC models for 16-bit/32-bit...
3 . I n s t r u c t i o n S e t 3 - 1 7 1. 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 registers E, F are defined as word devices. 3. “Kn” can be placed before bit devices X, Y, M and S to make it a word device for performing wor...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 8 X0 S E T M 0 M0 D S W X 1 0 Y 1 0 D 0 K 0 R S T M 0 M1 02 9 When X0 = ON, DSW will be enabled. When X0 = OFF, M0 is latched. M0 will be reset only when DSW instruction is completed to ac...
3 . I n s t r u c t i o n S e t 3 - 1 9 5. For counters C243, C245~C248, C251, C252, the total max times for using DHSCS, DHSCR and DHSZ instructions: 4. DHSZ takes up 2 times of the total available times. 6. For counters C244, C249, C250, C253, C254, the total max times for using DHSCS, DHSCR and D...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 0 3. Transmit K1M0, K2M0, K3M0 to 16-bit registers. Only the valid bit data will be transmitted and the upper bits in the 16-bit register will all be filled with 0. The same rule applies w...
3 . I n s t r u c t i o n S e t 3 - 2 1 Binary Floating Point DVP-PLC represents floating point value in 32 bits, following the IEEE754 standard: S ex ponent mant is sa 8- bi t 23-bit b3 1 Si gn bi t 0: po sit i ve1: ne ga ti ve b0 Equation ( ) 127 ; . 1 2 1 = × × − − B M B E S Therefore, the range ...
3 . I n s t r u c t i o n S e t 3 - 2 3 M O V K 2 0 E 0 D 1 0 F 0 E 0 = 8 F 0 = 1 4 2 0 + 8 = 2 8 1 0 + 1 4 = 2 4 Tr a n s m i s s io n K 2 8 D 2 4 The opposite diagram E, F index register modification refers to the content in the operand changes with the contents in E and F. For example, E0 = 8 and...
3 . I n s t r u c t i o n S e t 3 - 2 5 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX2 SS2 SA2 SE SX2 16-bit 32-bit 23 DIV DDIV Division 7 13 24 INC DINC Increment 3 5 25 DEC DDEC Decrement 3 5 26 WAND DAND Logical Word AND 7 13 27 WOR DOR Logical Word OR 7 13 28 WXOR DXOR L...
3 . I n s t r u c t i o n S e t 3 - 2 7 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX2 SS2 SA2 SE SX2 16-bit 32-bit 76 ASC - - ASCII code conversion 11 - 77 PR - - Print (ASCII code output) 5 - Serial I/O Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX...
3 . I n s t r u c t i o n S e t 3 - 2 9 Mnemonics Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX2 SS2 SA2 SE 2 SX2 16-bit 32-bit 127 - DESQR Floating point square root - 9 128 - DPOW Floating point power operation - 13 129 INT DINT Float to integer 5 9 130 - DSIN Sine - 9 131 - DCOS C...
3 . I n s t r u c t i o n S e t 3 - 3 1 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX2 SS2 SA2 SE SX2 16-bit 32-bit 167 TWR - Time write 3 - 169 HOUR DHOUR - Hour meter 7 13 Gray Code Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX2 SS2 SA2 SE SX2 16-b...
3 . I n s t r u c t i o n S e t 3 - 3 3 Mnemonic Applicable to STEPS API 16 bits 32 bits PULSE Function ES2 EX2 SS2 SA2 SE SX2 16-bit 32-bit 272 BANI DBANI - Connect NC contact in series by specified bit 5 9 273 BOR DBOR - Connect NO contact in parallel by specified bit 5 9 274 BORI DBORI - Connect ...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 2 3.8 Detailed Instruction Explanation API Mnemonic Operands Function 00 CJ P Conditional Jump Controllers ES2/EX2 SS2 SA2 SE SX2 OP Range Program Steps P0~P255 CJ, CJP: 3 steps PULSE 16-b...
3 . I n s t r u c t i o n S e t 3 - 4 7 API Mnemonic Function 02 SRET Subroutine Return Controllers ES2/EX2 SS2 SA2 SE SX2 OP Descriptions Program Steps N/A No contact to drive the instruction is required Automatically returns program execution to the address after CALL instruction in O100. SRET: 1 ...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 5 2 API Mnemonic Function 06 FEND The End of The Main Program (First End) Controllers ES2/EX2 SS2 SA2 SE SX2 OP Descriptions Program Steps N/A No contact to drive the instruction is required...
3 . I n s t r u c t i o n S e t 3 - 5 3 CJ Instruction Program Flow X1 CA LL P6 3 P0 P6 3 CJ P0 I 30 1 X0 0 The program flowwhen X0=off, X1=off Main program Main program Main program Interrupt subroutine Command CALL subroutine EI DI FEND FEND SRET I RET EN D The program flow when X0=Onprogram jumps...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 5 4 CALL Instruction Program Flow X1 CA LL P6 3 P0 P6 3 CJ P0 I 30 1 X0 0 The program flowwhen X0=off, X1=off Main program Main program Main program Interrupt subroutine Command CALL subrout...
3 . I n s t r u c t i o n S e t 3 - 5 5 API Mnemonic Function 07 WDT P Watchdog Timer Refresh Controllers ES2/EX2 SS2 SA2 SE SX2 OP Descriptions Program Steps N/A WDT, WDTP: 1 step PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SA2 SE SX2 Explanations: 1. WDT instructi...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 5 8 Program example 1: After program A has been executed for 3 times, it will resume its execution after NEXT instruction. Program B will be executed for 4 times whenever program A is execut...
3 . I n s t r u c t i o n S e t 3 - 5 9 Program example 3: Users can adopt CJ instruction to skip a specified FOR ~ NEXT loop. When X1 = ON, CJ instruction executes to skip the most inner FOR ~ NEXT loop. X 0 T M R T 0 K 1 0 P 0 F O R K 4 X 1 0 0 X 0 I N C D 0 K 2 X 0 D 1 K 3 X 0 D 2 K 4 X 0 W D T D...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 6 0 API Mnemonic Operands Function 10 D CMP P Compare Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * ...
3 . I n s t r u c t i o n S e t 3 - 6 1 API Mnemonic Operands Function 11 D ZCP P Zone Compare Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * S * * * * * * * * * * * D * * * Z...
3 . I n s t r u c t i o n S e t 3 - 6 5 Program example 1: 1. When M1168 = OFF (in BCD mode) and X0 = ON, the 4 th (thousand) and 3 rd (hundred) digit of the decimal value in D10 start to move to the 3 rd (hundred) and 2 nd (ten) digit of the decimal value in D20. 10 3 and 10 0 of D20 remain unchang...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 6 6 Program example 3: 1. This instruction can be used to combine the DIP switches connected to the input terminals without continuous numbers. 2. Move the 2 digits of the right DIP switch (...
3 . I n s t r u c t i o n S e t 3 - 6 7 API Mnemonic Operands Function 14 D CML P Compliment Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * * * * * D * * * * * * * * CML, CMLP: 5 steps DCML, DCMLP: 9 steps PULSE...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 6 8 API Mnemonic Operands Function 15 BMOV P Block Move Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * ...
3 . I n s t r u c t i o n S e t 3 - 6 9 Program example 2: Assume the bit devices KnX, KnY, KnM and KnS are designated for moving, the number of digits of S and D has to be the same, i.e. their n has to be the same. M1 00 0 K1 M0 K1 Y0 K3 M0 M1 M2 M3 M4 M5 M6 M7 M8 M9 M1 0 n=3 M11 Y0 Y1 Y2 Y3 Y4 Y5 ...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 7 0 API Mnemonic Operands Function 16 D FMOV P Fill Move Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * *...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 7 2 API Mnemonic Operands Function 18 D BCD P Convert BIN to BCD Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * *...
3 . I n s t r u c t i o n S e t 3 - 7 3 API Mnemonic Operands Function 19 D BIN P Convert BCD to BIN Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * * * D * * * * * * * * BIN, BINP: 5 steps DBIN, DBINP: 9 steps P...
D V P - E S 2 / S A 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 7 4 10 1 10 0 10 2 6 4 2 X37 X20 8 8 8 10 3 6 8 Y37 Y20 4-digit DIP switch in BCD format 4-digit BCD value Using BIN instruction to store the BIN value into D100 Using BCD instruction to con...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 7 8 API Mnemonic Operands Function 22 D MUL P Multiplication Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * *...
3 . I n s t r u c t i o n S e t 3 - 7 9 Program Example: The 16-bit D0 is multiplied by the 16-bit D10 and brings forth a 32-bit product. The higher 16 bits are stored in D21 and the lower 16-bit are stored in D20. ON/OFF of MSB indicates the positive/negative status of the operation result. X 0 M U...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 8 0 API Mnemonic Operands Function 23 D DIV P Division Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * *...
3 . I n s t r u c t i o n S e t 3 - 8 3 API Mnemonic Operands Function 26 WAND P Logical Word AND Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * D * * * * * * * * WAND, WANDP:...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 8 4 API Mnemonic Operands Function 26 DAND P Logical DWord AND Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * *...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 8 6 API Mnemonic Operands Function 27 DOR P Logical DWord OR Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * *...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 8 8 API Mnemonic Operands Function 28 DXOR P Logical DWord XOR Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * *...
3 . I n s t r u c t i o n S e t 3 - 8 9 API Mnemonic Operands Function 29 D NEG P 2’s Complement (Negation) Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F D * * * * * * * * NEG, NEGP: 3 steps DNEG, DNEGP: 5 steps PULSE 16-bit 3...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 9 0 X0 CMP D0 D2 M0 M0 SUB D0 D2 D4 M2 SUB D2 D0 D4 M1 Detailed explanations on negative value and its absolute value 1. MSB = 0 indicates the value is positive while MSB = 1 indicates the v...
3 . I n s t r u c t i o n S e t 3 - 9 5 API Mnemonic Operands Function 34 SFTR P Bit Shift Right Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * D * * * n 1 * * n 2 * * SFTR, SFTRP: 9 steps PULSE 16-bit 32-bit ES2/EX2 ...
3 . I n s t r u c t i o n S e t 3 - 9 7 API Mnemonic Operands Function 36 WSFR P Word Shift Right Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * D * * * * * * n 1 * * n 2 * * WSFR, WSFRP: 9 steps PULSE 16-bit 32...
3 . I n s t r u c t i o n S e t 3 - 9 9 API Mnemonic Operands Function 37 WSFL P Word Shift Left Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * D * * * * * * n 1 * * n 2 * * WSFL, WSFLP: 9 steps PULSE 16-bit 32-...
3 . I n s t r u c t i o n S e t 3 - 1 0 1 API Mnemonic Operands Function 39 SFRD P Shift Register Read Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * D * * * * * * * * n * * SFRD, SFRDP: 7 steps PULSE 16-bit 32-bi...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 0 4 API Mnemonic Operands Function 41 DECO P Decode Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * ...
3 . I n s t r u c t i o n S e t 3 - 1 0 5 Program 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 decoded data is 2 4 = 16 bits. 3. When X20 goes from OFF to ON, the data in D10 (b2 to b0) will be decoded and stored in D20 (b7 to b...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 0 6 API Mnemonic Operands Function 42 ENCO P Encode Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * ...
3 . I n s t r u c t i o n S e t 3 - 1 0 7 Program 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 decoded data is 2 4 = 16 bits data. 3. When X0 goes from OFF to ON, the 2 3 bits (b0 ~ b7) in D10 will be encoded and the result will...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 1 0 API Mnemonic Operands Function 45 D MEAN P Mean Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * ...
3 . I n s t r u c t i o n S e t 3 - 1 1 1 API Mnemonic Operands Function 46 ANS Timed Annunciator Set Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * m * D * ANS: 7 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 1 2 API Mnemonic Function 47 ANR P Annunciator Reset Controllers ES2/EX2 SS2 SA2 SE SX2 OP Descriptions Program Steps N/A Instruction driven by contact is necessary. ANR, ANRP: 1 steps PUL...
3 . I n s t r u c t i o n S e t 3 - 1 1 3 Y0 ANS T0 K100 S9 12 X2 X4 AN RP M1000 M104 9 Y1 ANS T1 K200 S9 20 X3 X0 Y0 X2 M104 8 Y2 Y0 X1 Y1 X3 Y1 1. M1048 and D1049 are valid only when M1049 = ON. 2. When Y0 = ON for more than 10 sec and the product fails to reach the front position X2, S912 = ON 3....
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 1 4 API Mnemonic Operands Function 48 D SQR P Square Root Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 1 6 M1 00 2 RS T M1 08 1 X2 0 FLT D0 D1 2 X2 1 DFLT D0 D2 0 Program Example 2: 1. When M1081 = ON, the source data is converted from floating point value to BIN integer. (Decimal ignored) ...
3 . I n s t r u c t i o n S e t 3 - 1 1 7 M1 00 0 FLT D1 0 D1 00 BI N K2 X0 D2 00 FLT D2 00 D2 02 DE DI V K6 15 K1 0 DE DI V D1 00 D2 02 DE MUL D4 00 D3 00 DE BCD D2 0 D3 0 DI NT D2 0 D4 0 D3 00 D4 00 D2 0 1 2 3 4 5 6 7 8 1. Covert D10 (BIN integer) to D101, D100 (floating point). 2. Covert the valu...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 1 8 API Mnemonic Operands Function 50 REF P Refresh Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F D * * n * * REF,...
3 . I n s t r u c t i o n S e t 3 - 1 1 9 X0 RE F Y0 K4 Program Example 3: When X0 = ON, I/O points starting from X10 or Y4 will all be refreshed. X0 RE F X10 K8 X0 RE F Y4 K8 或 Program Example 4: For DVP-EX2/SX2 only: When X0 = ON and M1180 = ON, A/D signal in D1110~D1113 will be refreshed immediat...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 2 0 API Mnemonic Operands Function 51 REFF P Refresh and Filter Adjust Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 2 2 M1 00 0 MT R X4 0 Y4 0 M1 0 K2 The figure below illustrates the external wiring of the 2-array matrix input loop constructed by X40 ~ X47 and Y40 ~ Y41. The 16 switches correspond to t...
3 . I n s t r u c t i o n S e t 3 - 1 2 3 Points 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 devices. 2. Operand D 1 should be a multiple of 10, i.e. 00, 10, 20, which means Y0, Y10… etc. and occupies n continuous devices 3. Op...
3 . I n s t r u c t i o n S e t 3 - 1 2 5 ¾ Table of settings for the high-speed interrupts of the software counters and software comparators: Counter C232 C233 C234 C235 C236 C237 DHSCS High-speed interrupt I010 I050 I070 I010 I020 I030 High-speed comparator Set C232~C242 share 6 software comparato...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 2 6 ¾ If DCNT instruction enables C243 as high speed counter (group A) and DHSC/DHSC instruction uses C245 as high speed counter (group A) at the same time, PLC takes C243 as the source co...
3 . I n s t r u c t i o n S e t 3 - 1 2 7 ¾ 6 comparators are available for software counters while 8 comparators are available for 2 groups of hardware counters ( 4 comparators for each group) ¾ Output timing of software comparator Æ count value equals to comparative value in both counting up/down ...
3 . I n s t r u c t i o n S e t 3 - 1 3 3 DHSZ instruction. Also, when DHSCS uses I070 or I080, comparators B3 and B4 are no longer available for DHSZ instruction. If comparators are used repeatedly, the syntax error will be detected on the instruction behind. ¾ For DVP-SE, if DHSZ instruction uses ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 3 4 Timing diagram 2 00 0 2 40 0 Sp ee d v ari ab le t ra nsmi ssi on de vice 0 X1 0 Y1 0 Y11 Y1 2 Hi g h sp ee d L ow spe ed Sto p Pre se nt va lue o f C2 51 0
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 3 6 Max frequency SA2/SE/SX2: 100kHz SS2: 20kHz 5KHz. X1(X0/X1) of SA2/SE: 30kHz 10KHz 14. D occupies 5 consecutive registers, D + 1 and D store the results of previous pulse detection; D ...
3 . I n s t r u c t i o n S e t 3 - 1 3 9 32. There is no limitation on the times of using this instruction, however the program allows only 4 instructions (PLSY, PWM, PLSR) to be executed at the same time. If Y1 is used for several high speed pulse output instructions, PLC will output according to ...
3 . I n s t r u c t i o n S e t 3 - 1 4 1 Program Example 1: M1 00 0 EI FEND I 0 01 I RET M1 00 0 DP LSY K1 00 0 K1 00 0 Y2 I 1 01 I RET SET M1 52 4 END DP LSY K1 00 0 K1 00 0 Y0 SET M1 34 7 Explanations: a) Whenever I001 is triggered, Y0 will output 1,000 pulses; whenever I101 is triggered, Y2 will...
3 . I n s t r u c t i o n S e t 3 - 1 4 3 46. 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-SE.) 47. When M1113 = ON, the unit of Y2 output pulse is 100 μ s, when M1113 = OFF, the unit is 1ms. (It is only applicable to DVP...
3 . I n s t r u c t i o n S e t 3 - 1 4 5 API Mnemonic Operands Function 59 D PLSR Pulse Ramp Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * S 3 * * * * * * * * * * * D * PLSR...
3 . I n s t r u c t i o n S e t 3 - 1 4 7 66. There is no limitation on the times of using this instruction in the program. However, only 4 instructions can be executed at the same scan time. When several pulse output instructions (PLSY, PWM, PLSR) use Y1 as the output device in the same scan cycle,...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 4 8 M1156: Enabling the mask and alignment mark function on I400/I401(X4) corresponding to Y0. M1257: Set the ramp up/down of Y0, Y2 to be “S curve.” ON = S curve. M1158: Enabling the mask...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 5 0 output will stop after 1,000,000 pulses are completed. When pulse output ramps down and stops after Mark is detected, M1538 will be ON to indicate the pause status. If users need to ...
3 . I n s t r u c t i o n S e t 3 - 1 5 1 Explanations: When M0 is triggered, Y0 executes pulse output. When external interrupt is detected on X4 after 50,000 pulses, pulse output will perform ramp down process for 10,000 pulses and then stop. M1108 will be ON. If no interrupt is detected on X4, Y...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 5 2 API Mnemonic Operands Function 60 IST Initial State Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D 1 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 5 4 86. Control panel X35 X36 X37 X20 X21 X22 X23 X24 X25 St e p X3 2 O ne c yc l eop er a t ion X3 3 Con t inu ou sop er a t ion X3 4 M anu al op er a t ion X3 0 Ze r o r e t ur n X31 Pow...
3 . I n s t r u c t i o n S e t 3 - 1 5 5 89. Zero return mode: a) SFC: S 1 S 1 0 X 3 5 S 11 X 4 S 1 2 X 1 R S T Y 4 R S T Y 1 Y 0 R S T Y 2 Y 3 S E T M 1 0 4 3 R S T S 1 2 Rel ea se b al l s St o p l ow er in g r ob ot a rm Ra i se r ob ot a r m t o t heupp er-l i mit (X4 = ON) Sto p sh i ft i ng t...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 6 0 API Mnemonic Operands Function 61 D SER P Search a Data Stack Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S ...
3 . I n s t r u c t i o n S e t 3 - 1 6 1 API Mnemonic Operands Function 62 D ABSD Absolute Drum Sequencer Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * S 2 * * * D * * * n * * ABSD: 9 steps DABSD: 17 steps P...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 6 4 122. When X0 turns from ON → OFF, C10 and C11 will all be reset to 0 and M10~M14 = OFF. When X0 turns ON again, this instruction will be executed again from the beginning. I NCD D1 00 ...
3 . I n s t r u c t i o n S e t 3 - 1 6 5 API Mnemonic Operands Function 64 TTMR Teaching Timer Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F D * n * * TTMR: 5 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SA2 S...
3 . I n s t r u c t i o n S e t 3 - 1 6 7 API Mnemonic Operands Function 65 STMR Special Timer Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * m * * D * * * STMR: 7 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS...
3 . I n s t r u c t i o n S e t 3 - 1 6 9 API Mnemonic Operands Function 66 ALT P Alternate State Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F D * * * ALT, ALTP: 3 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 7 0 API Mnemonic Operands Function 67 D RAMP Ramp variable Value Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1...
3 . I n s t r u c t i o n S e t 3 - 1 7 1 If X20 = ON, D1 0 D1 2 D11 D11 D1 2 D1 0 D1 0< D11 D1 0 >D11 n sca ns The sca n ti me s i s st o red i n D 13 n sca ns Points to note: The variation of the content in D12 according to ON/OFF state of M1026 (Ramp mode selection): X2 0 M 10 29 S t a rt s...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 7 4 K6: When n = 4, transform 8-bit ASCII data (higher 4 bits, lower 4 bits) into HEX data in the following rule: (ASCII value to be transformed includes 0 ~ 9 (0x30~0x39), A ~ F (0x41~0x4...
3 . I n s t r u c t i o n S e t 3 - 1 7 7 The combination will be performed in the following rule: ‘A’ ‘B’ ‘C’ ‘D’ Hi-byte Lo -byte ‘a’ ‘b’ ‘c’ Hi-byte Lo -byte 0x00 0x00 S+0 S+1 S+2 S+3 S+4 D+0 D+1 D+2 D+3 ‘a’ ‘b’ ‘c’ Hi-byte Lo -byte ‘A’ D+0 D+1 D+2 D+3 ‘B’ ‘C’ ‘D’ 0x00 D+4 D+5 D+6 D+7 ‘A’ ‘B’ ‘C’...
3 . I n s t r u c t i o n S e t 3 - 1 7 9 The conversion will be performed in the following rule: ‘1’ ‘2’ ‘3’ Hi-byte Lo -byte ‘.’ D+0 D+1 D+2 D+3 ‘4’ ‘5’ ‘6’ 0x00 D+4 D+5 D+6 D+7 123.45678 32-bit Flo ating value S+0S+1 n = k6 ‘1’ ‘2’ ‘3’ Hi-byte Lo -byte ‘.’ D+0 D+1 D+2 D+3 ‘4’ ‘5’ ‘6’ 0x00 D+4 D+5...
3 . I n s t r u c t i o n S e t 3 - 1 8 1 API Mnemonic Operands Function 69 D SORT Data sort Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * m 1 * * m 2 * * D * n * * * SORT: 11 steps DSORT: 21 steps PULSE 16-bit 32-bit ES2/...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 8 2 Example table of data sort Columns of data: m 2 Data Column 1 2 3 4 5 Column Row Students No. English Math. Physics Chemistry 1 ( D0 ) 1 ( D5 ) 90 ( D10 ) 75 ( D15 ) 66 ( D20 ) 79 2 ( ...
3 . I n s t r u c t i o n S e t 3 - 1 8 3 API Mnemonic Operands Function 70 D TKY Ten key input Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * D 1 * * * * * * * * D 2 * * * TKY: 7 steps DTKY: 13 steps PULSE 16-bit 32-...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 8 4 0 1 2 3 4 5 6 7 8 9 D0 10 3 10 2 10 1 10 0 nu mb er k ey BCD va lu e 1- di gi t BCD co de BI N val ue ov erf l ow BC D va lu e 160. As shown in the timing diagram below, four keys conn...
3 . I n s t r u c t i o n S e t 3 - 1 8 5 API Mnemonic Operands Function 71 D HKY Hexadecimal key input Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * D 1 * D 2 * * * * * D 3 * * * HKY: 9 steps DHKY: 17 steps PULSE 16-bit 3...
3 . I n s t r u c t i o n S e t 3 - 1 8 7 174. External wiring: Y23 Y22 Y21 Y20 C X23 X22 X21 X20 S/S C D E F 8 9 A B 4 5 6 7 0 1 2 3 PL C(Tr an sis to r o ut p ut ) +2 4V 24 G Points to note: 175. When HKY instruction is executed, 8 scan cycles (matrix scan) are required for reading the input value...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 8 8 API Mnemonic Operands Function 72 DSW DIP Switch Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * D 1 * D 2 *...
3 . I n s t r u c t i o n S e t 3 - 1 8 9 182. Please use transistor output for Y20 ~ Y23. Every pin 1, 2, 4, 8 shall be connected to a diode (0.1A/50V) in series before connecting to the input terminals on PLC. Wiring diagram of DIP switch: S/ S X20 X 21 X22 X23 X24 X25 X26 X27 Y23 Y22 Y21 Y20 C 1 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 9 0 API Mnemonic Operands Function 73 SEGD P 7-segment decoder Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * *...
3 . I n s t r u c t i o n S e t 3 - 1 9 1 API Mnemonic Operands Function 74 SEGL 7-segment with Latch Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * * * * * D * n * * SEGL: 7 steps PULSE 16-bit 32-bit ES2/EX2 SS...
3 . I n s t r u c t i o n S e t 3 - 1 9 3 On P L C VCC Y Pull-up resistor Signal output Drive Y 199. Positive logic (negative polarity) output of BCD code BCD value Y output (BCD code) Signal output b 3 b 2 b 1 b 0 8 4 2 1 A B C D 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 0 0 0 1 0 0 0 1 0 1 1 0...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 9 4 ’ + ’: Positive logic (Negative polarity) output ‘ - ’: Negative logic (Positive polarity) output 203. The polarity of PLC transistor output and the polarity of the 7-segment display i...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 1 9 8 API Mnemonic Operands Function 77 PR Print (ASCII Code Output) Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S...
3 . I n s t r u c t i o n S e t 3 - 1 9 9 T T T A B C D H X2 0 s ta rt si gn al Y2 0~Y27 d at a Y3 0 sca n signa l Y3 1 bei ng exe cu te d T : s can tim e(ms) Program Example 2: 1. PR instruction supports ASCII data output of 8-bit data string when M1027 = OFF. When M1027 = ON, the PR instruction is...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 0 0 API Mnemonic Operands Function 78 D FROM P Read CR data from Special Modules Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM K...
3 . I n s t r u c t i o n S e t 3 - 2 0 1 API Mnemonic Operands Function 79 D TO P Write CR data into Special Modules Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F m 1 * * * m 2 * * * S * * * n * * * TO, TOP: 9 steps DTO, DTOP...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 0 2 CR # 10 CR # 9 Up pe r 1 6-b i t Lo we r 1 6-b i t Sp eci f ie d CR nu mbe r 4. n : Number of data to be written at a time. n = 2 in 16-bit instruction has the same operation results a...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 0 4 3. When data receiving is completed, M1123 will automatically be ON. When data processing on the received data is completed, M1123 has to be reset (OFF) and the PLC will be ready for c...
3 . I n s t r u c t i o n S e t 3 - 2 0 5 Receiving data: (External equipment -> PLC) D1 20 L D1 22 L D1 23 L D1 24 L D1 25 L D1 26 L D1 21 L Registers for received data, starting from the lower 8 bitsof D120 length = 7 STX ETX1 ETX2 3. The STX and ETX of external equipments will be received by P...
3 . I n s t r u c t i o n S e t 3 - 2 0 9 3. The forward running function of Delta’s VFD series inverter can also be set by handy instruction API 102 FWD instruction through COM2/COM3 on PLC. Program Example 5: COM1 RS-232 1. Only 8-bit mode is supported. Communication format and speed are specified...
3 . I n s t r u c t i o n S e t 3 - 2 11 Sending data: (PLC → External equipment) D1 00 L D1 01 L D1 02 L D1 03 L Source data register, starting fromlower 8 bits of D100 Length = 4 Receving data: (External equipment → PLC) D1 20 L D1 22 L D1 23L D1 24L D1 25 L D126 L D1 21 L Registers for r starting...
3 . I n s t r u c t i o n S e t 3 - 2 1 5 Special register Function D1070~D1085 Feedback data (ASCII) of Modbus communication. When PLC’s RS-485 communication instruction receives feedback signals, the data will be saved in the registers D1070~D1085 and then converted into Hex in other registers. RS...
3 . I n s t r u c t i o n S e t 3 - 2 1 9 COM1 COM2 COM3 Function Description - M1141 - MODRD/MODWR/MODRW parameter error (Exception Code exists in received data) Exception Code is stored in D1130 - M1142 - Data receiving error of VFD-A handy instructions (FWD/REV/STOP/RDST/RSTEF) - D1130 - COM2 (RS...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 2 0 6. When RS instruction is applied for communication between PLC and peripheral devices on COM2 RS-485, usually STX (Start of the text) and ETX (End of the text) have to be set into com...
3 . I n s t r u c t i o n S e t 3 - 2 2 3 Field Name Descriptions Address Communication address: n 8-bit binary Function Function code: n 8-bit binary DATA (n-1) ……. DATA 0 Data: n × 8-bit data CRC CHK Low CRC CHK High CRC checksum: 16-bit CRC consists of 2 8-bit binary data END Refer to the followi...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 2 6 API Mnemonic Operands Function 81 D PRUN P Parallel Run Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * D ...
3 . I n s t r u c t i o n S e t 3 - 2 2 7 API Mnemonic Operands Function 82 ASCI P Convert Hex to ASCII Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * * * D * * * * * * n * * ASCI, ASCIP: 7 steps PULSE 16-bit 32...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 3 0 4. When n is 2, the bit structure will be as: 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 2 3 D1 0=0 12 3 H 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1 0 0 1 3 3 3 2 1 0 0 0 1 0 0 0 0 ASCI I cod e...
3 . I n s t r u c t i o n S e t 3 - 2 3 1 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 “5” “4” “B” “A” “9” “8” “F” “E” D23 “6” “5” “4” “B” “A” “9” “8” “F” D24 “7” “6” “5” “4” “B” “A” “9” “8” D25 “0” “7” “6” “5” “4” “B” “A” “9” D26 “1”...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 3 2 PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SA2 SE SX2 Operands: S : Source device D : Destination device n : number of bytes to be converted ( n = 1~...
3 . I n s t r u c t i o n S e t 3 - 2 3 3 4. When n = 4, the bit structure will be as: 0 1 0 0 1 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 0 0 1 0 0 1 1 1 1 0 1 1 1 1 0 1 1 1 C D E F D 1 0 D 2 0 D 2 1 4 4H D 4 6H F 4 3H C 4 5H E 5. When n = 1 ~ 16: D n D13 D12 D11 D10 1 ***C H 2 **CD H 3 *CD...
3 . I n s t r u c t i o n S e t 3 - 2 3 5 API Mnemonic Operands Function 84 CCD P Check Code Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * D * * * * * n * * * CCD, CCDP: 7 steps PULSE 16-bit 32-bit ES2/EX2 SS2 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 3 6 Program Example 2: 1. M1161 = ON, 8-bit conversion. 2. When X0 = ON, 6 bytes from low byte of D0 to low byte of D5 will be summed up, and the checksum is stored in D100 while the parit...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 3 8 API Mnemonic Operands Function 86 VRSC P Volume Scale Read Controllers ES2EX2 SS2 SA2 SX2 SE Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * ...
3 . I n s t r u c t i o n S e t 3 - 2 3 9 API Mnemonic Operands Function 87 D ABS P Absolute Value Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F D * * * * * * * * ABS, ABSP: 3 steps DABS, DABSP: 5 steps PULSE 16-bit 32-bit ES2...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 4 0 API Mnemonic Operands Function 88 D PID PID control Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * S 2 * ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 4 6 y PID equation for control mode k0~k2: ( ) ( ) ( ) S t PV K S t E K t E K MV D I P * 1 * * + + = where MV : Output value P K : Proprotional gain ( ) t E : Error value PV (t) : Present ...
3 . I n s t r u c t i o n S e t 3 - 2 4 7 2. When control mode ( S 3 +4) is selected as K3 and K4: y The equation is exclusively for temperature control will be modified as: ( ) ( ) ( ) ⎥ ⎦ ⎤ ⎢ ⎣ ⎡ + ⎟ ⎠ ⎞ ⎜ ⎝ ⎛ + = S t E K S t E K t E K MV D I P * 1 1 1 , where ( ) ( ) ( ) t PV - t SV t E = y Contr...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 4 8 Where ( ) ( ) ( ) t PV - t SV t E = y Control diagram: G ( s ) S 1 /S 1 /T I T D + + + P I D o p e r a t io n i s w i t h i n d o t t e d a r e a P + K Notes and suggestion: 1. S 3 + 3...
3 . I n s t r u c t i o n S e t 3 - 2 5 1 P I D M V D 5 SV PV D 1 D 111 0 0 5 11 0 5 11 0 V 1 0 V 0 rp m rp m 3 0 0 0 D 111 6 0 2 5 5 0 V 5 V Wave A Wave B pressure meter PressureSV (D0) Set value ramp up MV converted to speed Voltage converted to SV Speed converted to voltage AC motor drive 28 0 0 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 5 2 Application 2: Speed control system and pressure control system work individually (use diagram of Example 2) Control purpose: After the speed control operates in open loop for a period...
3 . I n s t r u c t i o n S e t 3 - 2 5 3 Application 3: Using auto-tuning for temperature control Control purpose: Calculating optimal parameter of PID instruction for temperature control Control properties: Users may not be familiar with a new temperature environment. In this case, selecting auto-...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 5 4 Results of initial auto-tuning A ut o t u ni ng a reaS 3 +4 = k3 PID contr ol are aS 3 +4 = k4 A ut o t u ni ng a reaS 3 +4 = k3 PID contr ol are aS 3 +4 = k4 Results of using adjusted...
3 . I n s t r u c t i o n S e t 3 - 2 5 5 From the figure above, we can see that the temperature control after auto-tuning is working fine and it spent only approximately 20 minutes for the control. Next, we modify the target temperature from 80°C to 100°C and obtain the result below. From the resul...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 5 6 API Mnemonic Operands Function 89 PLS Rising-edge output Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * P...
3 . I n s t r u c t i o n S e t 3 - 2 6 7 API Mnemonic Operands Function 99 PLF Falling-edge output Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * PLF: 3 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SA2 SE...
3 . I n s t r u c t i o n S e t 3 - 2 6 9 Program Example 1: Communication between PLC and VFD-B series AC motor drives (ASCII Mode, M1143 = OFF) MOV D112 0 H8 7 M1 002 SET M11 20 M11 27 Receivingcompleted Set communication protocol as 9600, 8, E, 1 Retain communication protocol Set receiving time-o...
3 . I n s t r u c t i o n S e t 3 - 2 7 7 Program Example 3: 1. In the communication between PLC and VFD-B series AC motor drive (ASCII Mode, M1143 = OFF), executes Retry when communication time-out, data receiving error or parameter error occurs 2. When X0 = ON, PLC will write data H1770 (K6000) in...
3 . I n s t r u c t i o n S e t 3 - 2 7 9 5. If rising-edge (LDP, ANDP, ORP) or falling-edge (LDF, ANDF, ORF) contacts are used before FWD, REV, STOP instructions, sending request flags M1122 (COM2) / M1316 (COM3) has to be enabled in advance for obtaining correct operation. 6. For detailed informat...
3 . I n s t r u c t i o n S e t 3 - 2 8 1 In STOP instruction: operand n is reserved. d) When Forward JOG is selected in FWR instruction, set value in S 2 is invalid. If users need to modify the JOG frequency, please refer to manuals of specific VFDs. Program Example: COM2 (RS-485) Communication bet...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 8 8 M1 00 2 MOV H8 6 D112 0 SET M11 20 MOV K1 00 D112 9 RS T M11 27 M11 27 X0 RS TEF K1 K0 SET M11 22 M11 29 X0 Processing received data Receiving completed Communication instruction setti...
3 . I n s t r u c t i o n S e t 3 - 2 9 1 Program Example: Connect PLC to VFD series AC motor drive (ASCII mode, M1143 = OFF), (8-bit mode, M1161 = ON), Write the data to be sent into registers starting from D100 in advance for reading 6 data from address H0708 on VFD. MOV D112 0 H8 6 M1 00 2 SET M1...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 9 4 Program Example: Connect PLC to VFD series AC motor drive (RTU mode, M1143 = ON), (8-bit mode, M1161 = ON), Write the data to be sent (H1770) into address H0706 on VFD. M1 00 2 MOV H8 ...
3 . I n s t r u c t i o n S e t 3 - 2 9 5 API Mnemonic Operands Function 110 D ECMP P Floating point compare Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * S 2 * * * D * * * DECMP, DECMPP: 13 steps PULSE 16-bit 32-bit...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 9 6 API Mnemonic Operands Function 111 D EZCP P Floating point zone compare Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 2 9 8 API Mnemonic Operands Function 116 D RAD P Degree Radian Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * *...
3 . I n s t r u c t i o n S e t 3 - 2 9 9 API Mnemonic Operands Function 117 D DEG P Radian Degree Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D * DDEG, DDEGP: 9 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/E...
3 . I n s t r u c t i o n S e t 3 - 3 11 API Mnemonic Operands Function 127 D ESQR P Floating point square root Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D * DESQR, DESQRP: 9 steps PULSE 16-bit 32-bit ES2/EX2 SS2 S...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 1 4 API Mnemonic Operands Function 129 D INT P Float to integer Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 1 6 Program Example 2: M1018 = OFF, radian mode. Select the degree value from inputs X0 and X1 and convert it to RAD value for further sine operation. D 1 0 F LT M1 000 D 1 4 K 3 1 4 1 5 9...
3 . I n s t r u c t i o n S e t 3 - 3 1 7 API Mnemonic Operands Function 131 D COS P Cosine Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D * DCOS, DCOSP: 9 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 1 8 Program Example 2: M1018 = ON, degree mode. When X0 = ON, DCOS instruction performs cosine operation on the degree value (0° degree ≦ < 360°) in (D1, D0) and stores the COS value in (D...
3 . I n s t r u c t i o n S e t 3 - 3 2 1 API Mnemonic Operands Function 133 D ASIN P Arc Sine Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D * DASIN, DASINP: 9 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/EX2...
3 . I n s t r u c t i o n S e t 3 - 3 2 3 API Mnemonic Operands Function 134 D ACOS P Arc Cosine Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D * DACOS, DACOSP: 9 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/E...
3 . I n s t r u c t i o n S e t 3 - 3 2 5 API Mnemonic Operands Function 135 D ATAN P Arc Tangent Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * D * DATAN, DATANP: 9 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES2/...
3 . I n s t r u c t i o n S e t 3 - 3 2 7 API Mnemonic Operands Function 144 GPWM General PWM output Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * S 2 * D * * * GPWM: 7 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 ES...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 2 8 API Mnemonic Operands Function 147 D SWAP P Byte swap Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * ...
3 . I n s t r u c t i o n S e t 3 - 3 2 9 API Mnemonic Operands Function 148 MEMR P Reading the data from the file register Controllers ES2/ EX2 SS2 SA2 SX2 SE Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F m * * * D * n * * * 7 steps The 32-bit instruction and ...
3 . I n s t r u c t i o n S e t 3 - 3 3 3 3. 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 stored in registers starting with S and converted into D1296~D1311 in Hex automatically. 4. Take the connection between PLC1 (PLC COM2)...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 3 8 3. Take the connection between PLC (PLC COM2) and VFD-B for example, the tables below explains the status when PLC reads status of VFD-B. (M1143 = OFF, ASCII Mode) (M1143 = ON, RTU Mod...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 4 2 H 8 7 M OV M 10 02 D 110 9 SE T M 11 36 K1 00 M OV D 1 25 2 M OD R W K 3 K 1 X0 H 2 10 0 D 0 K 6 Connecti on device address: K1 Function code: Read multiple words K3 Data address: H 2 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 4 4 H 8 7 M OV M 10 02 D 112 0 SE T M 11 20 K1 00 M OV D 112 9 R S T M 11 27 M OD R W K 5 K1 X 0 H 0 50 0 D 0 K 1 Function Code K5 : Force ON/OFF bit device Reserved Force ON status (Set F...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 5 0 5. M1316 → M1312: sending request 6. M1318 → M1314: receiving completed flag H 8 7 M OV M 10 02 D 110 9 S ET M 11 36 K1 00 M OV D 1 25 2 M OD R W K 6 K1 X 0 H 2 00 0 D 5 0 K1 Connectio...
3 . I n s t r u c t i o n S e t 3 - 3 5 5 Program Example 11: COM2 (RS-485), Function Code H10 1. Function code K16 (H10): Write in multiple Word devices. Up to 16 Words can be written. For PLC COM2 ASCII mode, only 8 words can be written. 2. For ASCII or RTU mode, PLC COM2 stores the data to be sen...
3 . I n s t r u c t i o n S e t 3 - 3 5 9 API Mnemonic Operands Function 154 D RAND P Random number Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * D * * * * * * * * RAND, RAND...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 6 0 API Mnemonic Operands Function 155 D ABSR Absolute position read Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F...
3 . I n s t r u c t i o n S e t 3 - 3 6 1 6. Please use NO contact as the drive contact of DABSR instruction. If the drive contact is OFF during the execution of DABSR, the instruction will be stopped and errors will occur on read data. 7. If the drive contact of DABSR instruction turns OFF after th...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 6 2 4. When DABSR instruciton executes, servo ON (SON) and ABS data transmission mode are driven for output. 5. By “transmission ready” and “ABS request” signals, users can confirm the tra...
3 . I n s t r u c t i o n S e t 3 - 3 6 7 State 5: Current position at right side of zero point, D1312=-2, M1308=Off, M1346=On. Ta rg et speed Time Freq. X4 Start Meet DOG Left DOG On Off Jog spe ed On Off M1029 Y4 Off On X2 2 nd Z p hase in Ta rg et speed Time Freq. X4 Start Meet DOG Left DOG On Of...
3 . I n s t r u c t i o n S e t 3 - 3 7 1 11. Ramp-down time of CH0 and CH1 can be particularly modified by using (M1534, D1348) and (M1535, D1349). When M1534 / M1535 = ON, CH0 / CH1 ramp-down time is specified by D1348 / D1349. 12. If M1078 / M1104 = ON during instruction execution, Y0 / Y2 will p...
3 . I n s t r u c t i o n S e t 3 - 3 7 5 10. M1305 and M1306 can change the output direction of CH0 / CH1 set in D 2 . When S is “-“, D 2 will be ON, however, if M1305/M1306 is set ON before instruction executes, D 2 will be OFF during execution of instruction.. 11. Ramp-down time of CH0 and CH1 ca...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 7 6 2. Registers for setting ramp up/down time and start/end frequency: z Output Y0: Def au lt : 1 00ms Y0 (D1 34 3) Y0(D1 34 0) Y0 (D134 0) M in : 6Hz Mi n: 6 Hz Y0(D134 3) Ra mp- upsl op...
3 . I n s t r u c t i o n S e t 3 - 3 7 7 API Mnemonic Operands Function 160 TCMP P Time compare Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * S 3 * * * * * * * * * * * S * *...
3 . I n s t r u c t i o n S e t 3 - 3 7 9 API Mnemonic Operands Function 162 TADD P Time addition Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * S 2 * * * D * * * TADD, TADDP: 7 steps PULSE 16-bit 32-bit ES2/EX2 SS2 S...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 8 0 API Mnemonic Operands Function 163 TSUB P Time subtraction Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 *...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 8 2 API Mnemonic Operands Function 166 TRD P Time read Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F D * * * TRD, ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 8 4 API Mnemonic Operands Function 167 TWR P Time write Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * TWR,...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 8 6 API Mnemonic Operands Function 168 D MVM P Transfer Designated Bits Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D ...
3 . I n s t r u c t i o n S e t 3 - 3 8 7 API Mnemonic Operands Function 169 D HOUR Hour meter Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * * * * * D 1 * D 2 * * * HOUR: 7 steps DHOUR: 13 steps PULSE 16-bit 32...
3 . I n s t r u c t i o n S e t 3 - 3 8 9 API Mnemonic Operands Function 170 D GRY P BIN → Gray Code Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * * * * * D * * * * * * * * GRY, GRYP: 5 steps DGRY, DGRYP: 9 ste...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 9 0 API Mnemonic Operands Function 171 D GBIN P Gray Code → BIN Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * ...
3 . I n s t r u c t i o n S e t 3 - 3 9 1 API Mnemonic Operands Function 172 D ADDR P Floating point addition Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * S 2 * D * DADDR, DADDRP: 13 steps PULSE 16-bit 32-bit ES2/EX2 SS...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 9 2 X0 DADDR D0 D2 D1 0
3 . I n s t r u c t i o n S e t 3 - 3 9 3 API Mnemonic Operands Function 173 D SUBR P Floating point subtraction Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * S 2 * D * DSUBR: 13 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 9 4 X0 DSU BR D0 D2 D1 0
3 . I n s t r u c t i o n S e t 3 - 3 9 5 API Mnemonic Operands Function 174 D MULR P Floating point multiplication Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * S 2 * D * DMULR, DMULRP: 13 steps PULSE 16-bit 32-bit ES2/...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 9 6 X1 D0 D1 0 D2 0 DMU LR
3 . I n s t r u c t i o n S e t 3 - 3 9 7 API Mnemonic Operands Function 175 D DIVR P Floating point division Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * S 2 * D * DDIVR: 13 steps PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 3 9 8 API Mnemonic Operands Function 176 MMOV P 16-bit → 32-bit Conversion Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 0 0 No. Content Range Format Note D + 2 Second 0 ~ 59 Word D + 3~4 Latitude 0 ~ 90 Float Unit: dd.mmmmmm D + 5 North / South 0 or 1 Word 0(+) Æ North, 1(-) Æ South D + 6~7 Longitude 0 ~ 180 Floa...
3 . I n s t r u c t i o n S e t 3 - 4 0 5 Program example: 1. Input parameters starting from D4000: 2009/3/23/(y/m/d),10:10:30, Δ t = 0, Local time zone = +8, Longitude/Latitude = +119.192345 East, +24.593456 North, Elevation = 132.2M, Pressure = 820m, MAT = 15.0 ℃ , Slope = 0 degree, Azimuth = -10 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 0 6 API Mnemonic Operands Function 179 D WSUM P Sum of multiple devices Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S ...
3 . I n s t r u c t i o n S e t 3 - 4 0 7 API Mnemonic Operands Function 180 MAND P Matrix AND Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * S 2 * * * * * * * D * * * * * * n * * * MAND, MANDP: 9 steps PULSE ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 0 8 Points to note: 1. A matrix consists of more than 1 consecutive 16-bit registers. The number of registers is indicated as the matrix length (n). A matrix contains 16 × n bits (points) and th...
3 . I n s t r u c t i o n S e t 3 - 4 0 9 API Mnemonic Operands Function 181 MOR P Matrix OR Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * S 2 * * * * * * * D * * * * * * n * * * MOR, MORP: 9 steps PULSE 16-b...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 1 0 API Mnemonic Operands Function 182 MXOR P Matrix XOR Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * *...
3 . I n s t r u c t i o n S e t 3 - 4 11 API Mnemonic Operands Function 183 MXNR P Matrix XNR Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * S 2 * * * * * * * D * * * * * * n * * * MXNR, MXNRP: 9 steps PULSE 1...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 1 2 API Mnemonic Operands Function 184 MINV P Matrix inverse Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * *...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 1 4 o D20 = 45, M1091 = ON, M1089 = OFF. p D20 = 47, M1091 = OFF, M1089 = ON (comparison proceeds to he last bit) q D20 = 1, M1091 = ON, = OFF. X0 MCM PP D0 D1 0 D20 K3 b0 1 0 1 1 0 0 0 1 0 0 0 ...
3 . I n s t r u c t i o n S e t 3 - 4 1 5 API Mnemonic Operands Function 186 MBRD P Matrix bit read Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * n * * * D * * * * * * * * MBRD, MBRDP: 7 steps PULSE 16-bit 32-b...
3 . I n s t r u c t i o n S e t 3 - 4 1 7 API Mnemonic Operands Function 187 MBWR P Matrix bit write Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * n * * * D * * * * * * * * MBWR, MBWRP: 7 steps PULSE 16-bit 32-...
3 . I n s t r u c t i o n S e t 3 - 4 2 1 API Mnemonic Operands Function 189 MBR P Matrix bit rotate Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * D * * * * * * n * * * MBR, MBRP: 7 steps PULSE 16-bit 32-bit ES...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 2 2 Before execution After rotation to the left 1 B0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 1 0 1 0 1 0 b 15 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 1 0 1 0 ...
3 . I n s t r u c t i o n S e t 3 - 4 2 3 API Mnemonic Operands Function 190 MBC P Matrix bit status count Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * * n * * * D * * * * * * * * MBC, MBCP: 7 steps PULSE 16-bit...
3 . I n s t r u c t i o n S e t 3 - 4 2 5 8. For pulse output with ramp-up/down section, if only 1 axis is specified with pulse output number, i.e. another axis is 0, the pulse output will only be performed on the axis with output pulse number. However, if the output pulse number is less than 20 in ...
3 . I n s t r u c t i o n S e t 3 - 4 2 9 API Mnemonic Operands Function 193 D CIMR 2-Axis Relative Position Arc Interpolation Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * S 2 * * * S * D * DCIMR: 17 steps PULSE 16-...
3 . I n s t r u c t i o n S e t 3 - 4 3 1 that 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 settings of start frequency and ramp-up/down time. 14. There is no limitation on the number of times for using the instruction. However, a...
3 . I n s t r u c t i o n S e t 3 - 4 3 3 3. Operation: When PLC runs and M0 = ON, PLC will start the drawing of the first segment of the arc. D0 will plus 1 whenever a segment of arc is completed and the second segment of the arc will start to execute automatically. The operation pattern repeats un...
3 . I n s t r u c t i o n S e t 3 - 4 3 5 above). Place them in the 32-bit registers (D200, D202), (D204, D206), (D208, D210), (D212, D214). b) Select “draw clockwise arc” and default “motion time” ( S = D100 = K0) c) RUN the PLC. Set ON M0 to start the drawing of the ellipse. D2 14 M1 02 9 DCI MA Y...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 4 0 4. D can only designate Y0 (Direction signal output: Y1) or Y2 (Direction signal output: Y3). The direction signal output will be OFF only when the drive contact of the instruction is OFF, i...
3 . I n s t r u c t i o n S e t 3 - 4 4 1 Fr e que nc y Tim ePul se N um be r H ig h s pe ed co un ter re ce i v es t a rg et nu mb er o f f e ed bac ks or Ex t er na l int e r r upt oc cu r s Tar ge t f r eq ue nc y St a r t / en d fr eq ue nc y Ra m p - u p ti m e Hi g h sp ee d t im e Ra m p- d o...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 4 2 MOV MOV MOV K1 00 K1 00 K1 00 D0 M1 00 2 D113 1 D1 34 3 D1 34 8 SET DMOV K0 D1 03 0 EI F END I RET END DCLL M X4 K5 00 00 K1 00 00 0 Y0 I NC M1 53 4 M0 M1 00 0 I 40 1 MOV K1 00 D1 34 0 MOV K...
3 . I n s t r u c t i o n S e t 3 - 4 4 3 MOV MOV MOV K1 00 K6 00 D0 M1 00 2 D113 1 D1348 SET DMOV K0 D1030 EI FEND I RET END DC LL M C2 43 K5 00 00 K1 00 00 0 Y0 I NC M153 4 M0 M1 00 0 I01 0 K2 00 D1340 MOV D1 34 3 MOV K3 00 D1 34 3 DMOV K0 C243 DC NT C2 43 K9 99 9 DH SCS C2 43 K5 00 00 I 01 0 2. A...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 4 4 10 0KHz D 13 40 D13 48 D13 43 C 24 3 =K50 00 0 60 0m s Fr e que nc y Y0 ou t pu t s t ops Tim ePul se nu m ber S p e ci f i e d n u m b er o f o u t p ut pu l s es : 5 0 ,5 0 0 A ct u a l n ...
3 . I n s t r u c t i o n S e t 3 - 4 4 5 reset after CH0 (Y0, Y1) pulse output is completed. M1524 Auto-reset CH1 (Y2, Y3) when high speed pulse output completed. M524 will be reset after CH1 (Y2, Y3) pulse output is completed. M1534 Enable ramp-down time setting on Y0. Has to be used with D1348 M1...
3 . I n s t r u c t i o n S e t 3 - 4 4 7 Function Explanations: Pulse output diagram: Freq . Ti me t 1 t 2 t 3 g1 g2 g3 S 2 Pu lse n umb er 1. Definitions: t1 Æ target frequency of 1 st shift t2 Æ target frequency of 2 nd shift t3 Æ target frequency of 3 rd shift g1 Æ ramp-up time of 1 st shift g2 ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 O p e r a t i o n M a n u a l - P r o g r a m m i n g 3 - 4 4 8 2 nd shift: Assume t2 = 11kHz, internal frequency = 2kHz, gap time = 20ms Ramp-up steps of 2 nd shift: Freq. Time 2k Hz t 2=11 kHz 2 0 m s g2 = 40 ms 2 0 ms 2 0 m s 1kHz 2k Hz t 1= 6 kHz ...
3 . I n s t r u c t i o n S e t 3 - 4 5 1 F r e q. Ti me G ap f re q. Del ayed b y pro gra m sca n cycl e Gapt im e Gapt im e Ch ange t a rget f req. Act u al t i ming o f changi ng 2. If users change the target frequency by applying DICF instruction in insterupt subroutines, the actual changing tim...
D V P - E S 2 / S X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g 3 - 4 5 4 API Mnemonic Operands Function 202 SCAL P Proportional calculation Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E...
3 . I n s t r u c t i o n S e t 3 - 4 5 5 Program Example 1: 1. Assume S 1 = 500, S 2 = 168 and S 3 = -4. When X0 = ON, SCAL instruction executes and the result of proportional calculation will be stored in D0. 2. Equation: D0 = (500 × 168 ) ÷ 1000 + (-4) = 80 X0 S C A L K 5 0 0 K 1 6 8 K - 4 D 0 D ...
3 . I n s t r u c t i o n S e t 3 - 4 5 7 6. Substitute the above parameters into y = kx + b and the operation instruction can be obtained. y = kx + b = D = k S 1 + b = slope × S 1 + offset = slope × S 1 + min. destination value – min. source value × slope = slope × ( S 1 – min. source value) + min....
D V P - E S 2 / S X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g 3 - 4 5 8 D 0 S =5 00 1 = 30 = 50 0 So urce va lu e De st i na ti o n va l ue Program Example 2: 1. Assume source value S 1 = 500, max. source value D0 = 3000, min. source value D1 = 200, max. d...
3 . I n s t r u c t i o n S e t 3 - 4 6 1 9. The 16-bit comparison values used in the 16-bit instruction are signed values. The comparison values used in the 32-bit instruction are 32-bit signed values (M1162=OFF), or floating-point numbers (M1162=ON). 10. The 16-bit data or 32-bit data is written i...
3 . I n s t r u c t i o n S e t 3 - 4 6 7 6. S 1 +0 specifies the sampling times. The set value of sampling times is recommended to be bigger when the input speed increases, so as to achieve a higher accuracy for speed catching. For example, set S 1 +0 as K1 for the speed range 1Hz~1KHz, K10 for the...
D V P - E S 2 / S X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g 3 - 4 6 8 API Mnemonic Operands Function 215~ 217 D LD# Contact Type Logic Operation Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS...
3 . I n s t r u c t i o n S e t 3 - 4 6 9 API Mnemonic Operands Function 218~ 220 D AND# Serial Type Logic Operation Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * AND#: 5 ste...
D V P - E S 2 / S X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g 3 - 4 7 0 API Mnemonic Operands Function 221~ 223 D O R # Parallel Type Logic Operation Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM ...
D V P - E S 2 / S X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l – P r o g r a m m i n g 3 - 4 7 8 API Mnemonic Operands Function 270 D BLDI Load NC Contact by Specified Bit Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS...
3 . I n s t r u c t i o n S e t 3 - 4 7 9 API Mnemonic Operands Function 271 D BAND Connect NO Contact in Series by Specified Bit Controllers ES2/EX2 SS2 SA2 SE SX2 Bit Devices Word devices Program Steps Type OP X Y M S K H KnX KnY KnM KnS T C D E F S * * * * * * n * * * * * * * * * * * BAND: 5 step...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 4.1 Communication Ports DVP-ES2/EX2/SA2/SE/SX2 offers 3 communication ports (COM1~COM3), and DVP-SS2 offers 2 COM ports (COM1~COM2). COM ports of the above models support DELTA Q-link communicat...
4 . C o m m u n i c a t i o n s − 7 data bits − 1 stop bit − Even parity − Baud rate: 9600 4.2 Communication Protocol ASCII mode Communication Data Structure 9600 (Baud rate), 7 (data bits), Even (Parity), 1 (Start bit), 1 (Stop bit) Field name Content Explanation Start bit STX Start bit ‘:’ (3AH) A...
4 . C o m m u n i c a t i o n s Exception code: Explanation: 01 Illegal command code: The command code received in the command message is invalid for PLC. 02 Illegal device address: The device address received in the command message is invalid for PLC. 03 Illegal device content: The data received in...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Effective Range Device Range ES2/EX2 SS2 MODBUS Address SA2/SE Address SX2 200~255 200~255 401793~401903 (Odd address valid) 0700~076F D 000~255 1000~10FF D 256~511 1100~11FF D 512~767 1200~12FF...
4 . C o m m u n i c a t i o n s 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) = FF (Hex) Example : Read contacts T20~T56 from Slave ID#1 PC → PLC “:01 01 06 14 00 25 BF CR LF” Sent message: Field Name ASCII STX : Sl...
Sequential Function Chart This chapter provides information for programming in SFC mode. Chapter Contents 5.1 Step Ladder Instruction [STL], [RET] ............................................................................... 5-2 5.2 Sequential Function Chart (SFC) ....................................
5 . S e q u e n t i a l F u n c t i o n C h a r t action and the transition from one step to another generally requires some transition criteria (condition). The action of the previous step finishes as long as all criteria is true. When next step begins, the action of previous step will be cleared. ...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Step jump. Used for a step to jump to another non-adjacent step. (Jumping up/down to non-adjacent steps in the same sequence, returning to initial step, or jumping among different sequences.) Tran...
5 . S e q u e n t i a l F u n c t i o n C h a r t Actions of Step Points: STL program is composed of many step points, and each step point represents a single task in the STL control process. To perform a sequential control result, every step point needs to do 3 actions. 1. Drive output coils 2. Des...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g of output coils should be avoided. The No. of output coil used by a step should also avoid being used when the step ladder diagram returns to a general ladder diagram. Repeated usage of timer: See...
5 . S e q u e n t i a l F u n c t i o n C h a r t c Returning to the initial step in the same sequence. d Jumping up/down to non-adjacent steps in the same sequence. SFC: Ladder diagram: S0 S2 1 S2 4 S2 5 X7 X2 OUT OUT S2 4 S2 1 S S0 S S2 3 S X2 S2 4 S S2 5 S S0 X7 RET Using OUT S24 Using OUT S0 S25...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g STL diagram. However, there are restrictions on some of the instructions. Care should be taken when using the instructions listed in the table below. Basic Instructions Applicable in a Step Basic ...
5 . S e q u e n t i a l F u n c t i o n C h a r t S E T Y 0 S1 0 S S2 0 S Y 2 S 2 0 Y 1 S E T Y 0 S1 0 S S20 S Y 2 S 2 0 Y 1 2. As indicated in the below diagram, make sure to connect RET instruction directly after the step point rather than the NO or NC contact. S 0 S2 0 S R E T X1 S 0 S2 0 S R E T...
5 . S e q u e n t i a l F u n c t i o n C h a r t 5.5 Types of Sequences Single Sequence: The basic type of sequence The first step in a step ladder diagram is called initial step, ranged as S0 ~ S9. The steps following the initial step are general steps numbered as S10 ~ S1023. When IST instruction...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 2. Step Jump a) The control power over the step is transferred to a certain step on top. S 0 S 2 1 S 4 2 S 4 3 OUT OUT b) The control power over the step is transferred to the step in another sequ...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g In simultaneous convergence, only when all sequences are completed will the transfer be allowed. Ladder diagram of simultaneous convergence: X2 S E T S 5 0 S S40 S S41 S S4 2 SFC diagram of simult...
5 . S e q u e n t i a l F u n c t i o n C h a r t Example of alternative divergence & alternative convergence: Step Ladder Diagram: SFC Diagram: M1 00 2 Z RS T S 0 S 1 2 7 S E T S 1 S E T S 2 0 Y 0 S E T S 3 0 Y 1 S E T S 4 0 Y 2 E N D X0 S1 S S2 0 S X1 S3 0 S X2 S4 0 S X3 S E T S 3 1 X4 S E T S...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Example of simultaneous divergence & simultaneous convergence: Step Ladder Diagram: SFC Diagram: M1 00 2 Z R S T S 0 S 1 2 7 S E T S 3 S E T S 2 0 Y 0 S E T S 3 0 Y 1 S E T S 4 0 Y 2 E N D X0 ...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Combination example 1: (Includes alternative divergence/convergence and simultaneous divergence/convergence) Step Ladder Diagram: S 1 2 7 M1 00 2 Z R S T S 0 S E T S 0 Y 1 S E T S 3 0 Y 2 S E T S ...
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g Combination example 2: (Includes alternative divergence/convergence and simultaneous divergence/convergence) Step Ladder Diagram: SFC Diagram: S 1 2 7 M1 00 2 Z R S T S 0 S E T S 0 S E T S 3 0 Y 0...
5 . S e q u e n t i a l F u n c t i o n C h a r t 8. Zero return mode: a) SFC: S 1 S 1 0 X 3 5 S 11 X 4 S 1 2 X 1 R S T Y 4 R S T Y 1 Y 0 R S T Y 2 Y 3 S E T M 1 0 4 3 R S T S 1 2 Re l ea se b al l s St o p l ow er in g r ob ot a rm Ra i se r ob ot a r m t o t heupp er-l i mit (X4 = ON) Sto p sh i f...
Troubleshooting This chapter offers error code table and information for troubleshooting during PLC operation. Chapter Contents 6.1 Common Problems and Solutions .......................................................................................... 6-2 6.2 Error code Table (Hex) ...................
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 6 - 2 6.1 Common Problems and Solutions The following tables list some common problems and troubleshooting procedures for the PLC system in the event of faulty operation. System Operation Sympto...
6 . T r o u b l e s h o o t i n g 6 - 3 Symptom Troubleshooting and Corrective Actions Diagnosing Input Malfunction When input indicator LEDs are OFF, 1. Check the wiring of the input devices. 2. Check that the power is properly supplied to the input terminals. 3. If the power is properly supplied t...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 6 - 6 Error code Description Action C40B MC / MCR does not begin from N0 or discontinuously C40C MC / MCR corresponding value N is different C40D Use I / P incorrectly C40E IRET doesn’t follow b...
7 - 1 CANopen Function and Operation This chapter explains the functions of CANopen and the usage. Chapter Contents 7.1 The Introduction of CANopen .............................................................................................. 7- 2 7. 1 .1 The Description of the CANopen Functions ......
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 2 7.1 The Introduction of CANopen ¾ Due to the simple wiring, immediate communication, strong debugging ability, stable communication, and low cost, the CANopen network is widely used in fie...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 3 Storage Data type 64-bit LINT ULINT LREAL LWORD ¾ If the CAN port functions as a slave, it has the following functions. It supports the standard CANopen protocol DS301 V4.02. It supports the NMT (network management object) service. ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 4 7.2.2 The Profile 7.2.3 The CAN Interface and the Network Topology ¾ The pins of COM3 (CAN interface) Pin Description CAN+ CAN-H CAN- CAN-L SG Signal ground W h i t e ( C A N _ H ) B l u e...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 5 ¾ The CAN network endpoint and the topology structure In order to make the CAN communication more stable, the two endpoints of the CAN network are connected to 120 ohm terminal resistors. The topology structure of the CAN network is illus...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 6 1) Users should use standard Delta cables when creating the CANopen network. These cables are the thick cable TAP-CB01, the thin cable TAP-CB02, and the thin cable TAP-CB10. The communicat...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 8 Product Model Function TAP-CN03 It is the CANopen network topology distribution box which carries a 120 ohm resistor. Users can enable the resistor through the switch. TAP-CBO3 TAP-CBO5 TA...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 9 ¾ The object dictionary CANopen uses an object-based way to define a standard device. Every device is represented by a set of objects, and can be visited by the network. The model of the CANopen device is illustrated below. As the figure ...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 1 4 Boot-up services After the slave completes the initialization and enters the pre-operational state, it transmits the Boot-up message. ¾ Other predefined CANopen communication objects (...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 1 5 ¾ The corresponding object in the predefined connection set Object Function code COB-ID Index of the communication parameter Emergency 0001 129 (81h)–255 (FFh) 1014h, 1015h PDO1 (TX) 0011 385 (181h)–511 (1FFh) 1800h PDO1 (RX) 0100 513 (...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 2 1 Emergency response data Response message PLC device High byte Low byte D6000 ReqID=01 Status code =01 D6001 Reserved =0 Size =2A (Hex) D6002 Message header Type =04 Node ID =02 D6003 Total number of data =1 Number of data stored =1 D6...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 2 4 LED indicator Description How to deal with The red light flashes. There are syntax error existing in the program written to PLC or the PLC device or instruction is out of the allowed ran...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 2 7 Code Indication How to correct F4 BUS-OFF state is detected. Check if CANopen bus cables are properly connected and ensure that all the node devices run at the same baud rate before re-powering. FB The sending buffer in DVP-ES2-C is ful...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 2 9 Item Explanation Default COM port The serial port of computer used for communication with DVP-ES2-C. COM1 Address The communication address of DVP-ES2-C 01 Baud rate The communication rate between computer and DVP-ES2-C 9600 bps Data bi...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 3 3 PDO transmission type can be synchronous transmission and asynchronous transmission. In synchronous transmission, master will send out the SYNC message in the fixed cycle. The length of the cycle is set in master properties dialog box w...
D V P - E S 2 / E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g 7 - 3 4 3> After the above setting is finished, double click the master, select ASDA-A2 Drive, and click “ > ” to move A2 to the right list and download the configured data. The mapping re...
7 C A N o p e n F u n c t i o n a n d O p e r a t i o n 7 - 3 5 7.7 Object Dictionary The communication objects in the object dictionary are shown as below: Index Subindex Object name Data type Attribute Default value H’1000 H’00 Device type Unsigned 32 bits R 0x00000000 H’1001 H’00 Error register U...
Appendix An introduction of installing the USB driver in the PLC Contents A.1 Installing the USB Driver .........................................................................................................A-2 A - 1
D V P - E S 2 E X 2 / S S 2 / S A 2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g A.1 Installing the USB Driver This section introduces the installation of the DELTA PLC USB driver in the computer. After the driver is installed, the USB interface can be used as the serial port ...
A p p e d n d i x A After the driver is installed, users can find the Delta PLC device and the communication port assigned to it in the Device Manger window. The usage of this device is the same as that of RS-232. A - 3
Delta Manuals
-
Delta 28-150
User Manual
-
Delta 17-900
User Manual
-
Delta 17-900
Manual
-
Delta DT2400CS
User Manual
-
Delta DT2400CS
Manual
-
Delta 32-326
User Manual
-
Delta 32-325
User Manual
-
Delta MS350
User Manual
-
Delta BS150LS
User Manual
-
Delta BS150LS
Manual
-
Delta 28-185
User Manual
-
Delta BS150LS TYPE 1
User Manual
-
Delta 22-540
User Manual
-
Delta 22-540
Manual
-
Delta DP300L TYPE 1
User Manual
-
Delta VFD-F Series
Manual
-
Delta 33-990
Manual
-
Delta D3500K
Manual
-
Delta TCE0502H
Manual
-
Delta 198
Manual