DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming API 57 Operands: S 1 : Pulse output frequency S 2 : Number of output pulses D : Pulse output device (Y0 ~ Y3 available) Explanations: 1. When PLSY instruction has been executed, the specified quantity of pulses S 2 will be output through the pulse output device D at the specified pulse output frequency S 1 2. S 1 specifies the pulse output frequency 3. S 2 specifies the number of output pulses. 16-bit instruction: -32,768~32,767. 32-bit instruction: -2,147,483,648~2,147,483,647. When S 2 is specified as K0, the pulse will be output continuously regardless of the limit of pulse number. 4.
When D1220/D1221 = K1 or K2, the positive/negative sign of S 2 denotes pulse output direction (Positive/negative). 5. Four pulse output modes: (They are not applicable to DVP-12SE.) Pulse: Pulse A: A phase pulse CW: clockwise Dir: Direction B: B phase pulse CCW: Counter-clockwise Note # : When D1220 is specified as K3, D1221 is invalid. 3-140 Mnemonic Operands Function Controllers D PLSY Pulse 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 PLSY: 7 steps DPLSY:
13 steps S 1 * * * * * * * * * * * S 2 * * * * * * * * * * * D * PULSE 16-bit 32-bit ES2/EX2 SS2 SA2 SE SX2 SA2 SA2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE Output frequency range of MPU range Output Y0, Y2 Y1, Y3 16-bit instruction SS2: 0~10,000Hz ES2/EX2/SA2/SX2/SE: 0~32,767 Hz 0~10,000Hz 32-bit instruction SS2: 0~10,000Hz ES2/EX2/SA2/SX2/SE: 0~100,000 Hz 0~10,000Hz If frequency equals or smaller than 0Hz is specified, pulse output will be disabled. If frequency bigger than max frequency is specified, PLC will output with max frequency. Mode D1220 D1221 Output K0 K1 K2 K3 K0 K1 K2 K3# Y0 Pulse Pulse A CW Y1 Pulse Dir B Pulse Y2 Pulse Pulse A CCW Y3 Pulse Dir B Pulse