3. Instruction Set 62 Operands: S 1 : Start device of the data table S 2 : No. of counter D : Start device for indicating comparison result n : Groups of data to be compared ( n : 1~64) Explanations: 1. ABSD instruction creates various output wave forms according to the current value of the 2. S 2 of DABSD instruction can designate high speed counters. However, when the present value counter designated by S 2. Usually, the instruction is applied for absolute cam control. in the high speed counter is compared with the target value, the result cannot output immediately owing to the scan time.
If an immediate output is required, please use DHSZ instruction that is exclusively for high speed counters. 3. When operand S 1 uses KnX, KnY, KnM, KnS patterns, Kn should be K4 for 16-bit instruction and K8 for 32-bit instruction. Program Example: 1. Before the execution of ABSD instruction, use MOV instruction to write all the set values into D100 ~ D107 in advance. The even-number D is for lower bound value and the odd-number D is 2. When X10 = ON, the present value in counter C10 will be compared with the four groups of for upper bound value. lower and upper bound values in D100 ~ D107. The comparison results will be stored in M10 ~ M13. 3.
When X10 = OFF, the original ON/OFF status of M10 ~ M13 will be retained. X20 C10 X21 RST C10 X21 3-167 Mnemonic Operands Function Controllers D ABSD Absolute Drum Sequencer ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX Kn Y KnM KnS T C D E F ABSD: 9 steps DABSD: 17 steps S 1 * * * * * * * S 2 * * * D * * * n * * PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 SA2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE ABSD D100 C10 M10 K4 CNT C10 K400