Mitsubishi — 2.11 Functions of Special Auxiliary Relays and Special Registers

2 Functions of Devices in DVP-PLC 2. Sample program:

 Setting initial values Target frequency in the constant speed output section Number of pulses in the constant speed output section Acceleration time in the constant speed output section Deceleration time in the constant speed output section Setting the initial target frequency No limit on the number of output pulses Setting the interval frequency between variable speeds Setting the interval time between variable speeds Clearing the number of pulses output by Y0  Actual output control program Enabling the variable speed function of Y0 Enabling the constant speed section output function of Y0 Changing the target frequency of Y0 Setting the number of pulses in the constant speed output section Updating Y0’s state flags #1 Y10 is set when the target frequency is reached.

Y10 is reset when the constant speed distance is reached. Y0 is in the constant speed section output state. Note 1: If DICF is not enabled, and the constant speed output section is executed, the instruction will constantly check whether the target frequency is reached and whether the output state is complete, and will set the corresponding flags. If the scan time is long, users can insert many lines of DICF instructions, or execute DICF in a time interrupt (do not need to enable the instruction) to update the output state constantly. DVP-PLC Application Manual 2-143