Mitsubishi — Chapter 8 Application Instructions API 100-149

9 Application Instructions API 150-199 b) Settings of relative positioning and the acceleration/deceleration speed: D1343 (D1353) is for settings of the time of the first acceleration segment and last deceleration segment of Y10 (Y11). D1340 (D1352) is for settings of start/end frequency of Y10 (Y11). Acceleration sampling time output pulse frequency Acceleration slope The first acceleration segment Y10 (D1340) Y11 (D1352) Min: 100Hz The last deceleration segment Y10 (D1340) Y11 (D1352) Min: 100Hz accel/decel time accel/decel time Output pulse numbers Current position Default: 200ms Y10 (D1343) Y11 (D1353) Default:

200ms Y10 (D1343) Y11 (D1353) c) Many DRVI instructions can be compiled synchronously in the program, but only one instruction can be activated whenever the PLC executes the program. For example, if Y10 output has already been activated by an instruction, other instructions that are also used to activate Y10 output will not be excecuted. Therefore, the principle of the instruction activation sequence is “first activated, first executed”. d) When Y10 is activated by DDRVI instruction, the output function of Y10 will be disabled until DDRVI is OFF. e) Once the instruction is activated, all other parameters cannot be modified until the instruction is disabled. The same rule applies to Y11.

f) When the instruction is disabled but the output has not yet completed: M1334 = On indicates that Y10 will stop output immediately. M1334 = Off indicates that Y10 will decelerate according to the deceleration time till it reaches end frequency and stop the pulse output. M1335 corresponds to Y11 output and applies the same rule. 3. Flags for SC series MPU: M1102: M1102 = On after Y10 pulse output is completed. M1103: M1103 = On after Y11 pulse outout is completed. M1334: Y10 pulse output stops immediately without deceleration when the pulse output instruction is disabled. M1335: Y11 pulse output stops immediately without deceleration when the pulse output instruction is disabled. M1347:

For SC (V1.6 and later versions). Auto reset after Y0 output is completed. M1348: For SC (V1.6 and later versions). Auto reset after Y1 output is completed. M1524: For SC (V1.6 and later versions). Auto reset after Y10 output is completed. M1525: For SC (V1.6 and later versions). Auto reset after Y11 output is completed. 4. Special registers for SC series MPU: D1348: Low word of the current number of Y10 output pulses. DVP-PLC Application Manual 9-53