DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming 158 Operands: S 1 : Number of pulses (relative positioning) S 2 : Pulse output frequency D 1 : Pulse output device D 2 : Direction signal output Explanations: 1. The instruction only supports the pulse output type: Pulse + Direction. 2. S 1 is the number of pulses (relative positioning). Available range: -2,147,483,648 ~ +2,147,483,647. “+/-” signs indicate forward and reverse direction. 3. S 2 is the pulse output frequency. Available range: 6 ~ 100,000Hz. 4. D 1 is the pulse output device. It can designate CH0 (Y0) and CH1 (Y2). 5. D 2 is the direction signal output device. It can designate CH0 (Y1) and CH1 (Y3). 6.
ES2/EX2 V3.46; ES2-C V3.48; ES2-E V1.00 and later version support the settings in D 1 and D 2 as shown below. 7. The operation of D 2 corresponds to the “+” or “-“ of S . When S is “+”, D 2 will be OFF; when S is “-“, D 2 will be ON. D 2 will not be OFF immediately after pulse output completion and will be OFF when the drive contact is OFF. 8. The set value in S 1 is the relative position of - current position (32-bit data) of CH0 (Y0, Y1) which is stored in D1031(high), D1030 (low) - current position (32-bit data) of CH1 (Y2, Y3) which is stored in D1337(high), D1336 (low). In reverse direction pulse output, value in (D1031, D1330) and (D1336, D1337) decreases. 9.
D1343 (D1353) is the ramp up/down time setting of CH0 (CH1). Available range: 20 ~ 32,767ms. Default: 100ms. PLC will take the upper/lower bound value as the set value when specified value exceeds the available range. 3-406 Mnemonic Operands Function Controllers D DRVI Relative Position Control 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 DDRVI:
17 steps S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * D 1 * D 2 * * * 16-bit 32-bit SA2 SA2 SA2 SS2 SX2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE SE Pulse output device (D 1) Y0 Y2 Corresponding direction signal output device (D 2) Y1 Y3 Pulse output device (D 1) Y0 Y1 Y2 Y3 Corresponding direction signal output device (D 2) Y4 Y5 Y6 Y7