Chapter 6 Applied Instructions DPPGB instruction is executed. When S 1 is 30,000 and S 2 is -30,000, the motion goes toward the target position A1=30,000. If the pulse position>15,000, the relative positions are modified into S 1 :20,000 and S 2 :-20,000, and the target position is momentarily A1=30,000. The target positions obtained through calculation are B1=10,000(A1+ S 2 ) and A2=30,000(B1+ S 1 ), since the outputting target positions cannot be modified. 3. S 3 is the target speed (must be a 32-bit integer), and S 4 is the target speed ratio adjusted value (must be a floating point number).
The actual speed is the result of multiplying the values in S 3 and S 4 and then rounding down the calculation result to a 32-bit integer. The acceptable input speed range is 1–200 kHz. When values are out of range, the PLC automatically processes the value as the minimum or the maximum of the operation range. The ratio 6_ formula for the actual target speed is S 3 x S 4 . For instance, if target speed is 1 kHz, the adjusted floating point is 1.2345 and the actual value is 1234 Hz. 4. When the instruction is outputting, the target speed and the adjusted ratio can be modified, and the result is updated to the actual output speed once the instruction is scanned.
But it is suggested that you do not change the target speed too much in case the calculated deceleration is affected. 5. The output points for D 1 can only be Y0, Y2, Y4, and Y6, and it occupies 2 consecutive output points. The output sets and the output special register modes are listed in the following table. 6-861 Output axis number 1 2 3 4 D1+0 output point Y0 Y2 Y4 Y6 D1+1 output point Y1 Y3 Y5 Y7 Output mode SR462 SR482 SR502 SR522