Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 77 Operands: S : Device for storing ASCII code (occupies 4 consecutive devices) D : External ASCII code output points (occupies 10 consecutive devices) Explanations: 1. This instruction will output the ASCII codes in the 4 registers starting from S through output points started from D. 2. D 0 ~ D 7 map to source data (ASCII code) directly in order, D 10 is the scan signal and D 11 is the execution flag. 3. This instruction can only be used twice in the program. 4. Flags: M1029 (PR execution completed); M1027 (PR output mode selection). Program Example 1: 1. Use API 76 ASC to convert A ~ H into ASCII codes and store them in D0 ~ D3.

After this, use this instruction to output the codes in sequence. 2. When M1027 = OFF and X20 = ON, the instruction will designate Y20 (lowest bit) ~ Y27 (highest bit) as the output points and Y30 as scan signals, Y31 as execution flag. In this mode, users can execute an output for 8 letters in sequence.. 3. If X20 turns from ON → OFF during the execution of the instruction, the data output will be interrupted, and all the output points will be OFF. When X20 = ON again, the data output will start from the first letter again. X20 X20 start signal Y20~Y27 data T T T A B C D H T :

scan time(ms) Y30 scan signal Y31 being executed 3-214 Mnemonic Operands Function Controllers PR Print (ASCII Code Output) ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F PR: 5 steps S * * * D * PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 ES2/EX2 SS2 SA2 SE SX2 ES2/EX2 SS2 SX2 SE PR D0 Y20