Delta Electronics — 6.26.2 Explanation of High-speed Output Instructions

Chapter 6 Applied Instructions Symbol S : Pulse output frequency D 1 : Pulse output device D 2 : Pulse direction output device Explanation 6_ 1. This instruction adjusts the pulse output frequency and direction ( S ) for the devices specified in D and D 2 . S specifies the pulse output frequency: for line driver output models, the range is between -4 MHz to +4 MHz; for open collector output models, the range is between -200 kHz to +200 kHz. The minus sign and plus sign indicate the positive direction and negative pulse direction.

You can change the pulse output frequency during the pulse output; but if the new frequency is different from the previous frequency in direction, the instruction stops the output, and one cycle later it outputs the target frequency again in the new direction. 2. Refer to the following table for the selection of pulse output devices for D 1 and D 2 . When the output mode for D 1 and D 2 is not the default Pulse+direction output (0 is the default value), modify the mode by setting SR to 1, which changes the mode to A/B phase output.

Axis 6 Y0.10 Y0.11 SR562 SM560 6-807 API Instruction Operand Description 2705 D PLSV S,D1,D2 Adjustable pulse output Device X Y M S T C HC D FR SM SR E K 16# “$” F S       D1  D2   BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S   D1  D2  Pulse Instruction 16-bit instruction 32-bit instruction - - AS Axis number Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Output point for D1 Y0.0 Y0.2 Y0.4 Y0.6 Y0.8 Direction output point for D2 Y0.1 Y0.3 Y0.5 Y0.7 Y0.9 Output mode SR462 SR482 SR502 SR522 SR542 Busy flag SM460 SM480 SM500 SM520 SM540