IDEC MICROSmart FC6A Series Ladder Programming Manual page 331

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

RAMPL34 Instruction (Reversible Control Enabled, Dual-pulse Output) Timing Chart
When data register D0200 is specified for S1 and internal relay M0050 is specified for D1 of the RAMPL34
instruction in order to move from the current position (2000, -1000) to the target position (-2000, -3000)
RAMPL
34
RAMPL34
instruction input
Y [pulses]
X axis movement distance
and direction
Target position
(-2000, -3000)
RAMPL34 instruction
input
X axis forward
Q4
pulse frequency
X axis reverse
Q5
pulse frequency
Y axis forward
Q6
pulse frequency
Y axis reverse
Q7
pulse frequency
Pulse output
M0050
ON
Pulse output
M0051
complete
Pulse output
M0052
status
When the RAMPL34 instruction input is turned on, pulses are output according to the settings configured by the control registers. X axis
reverse pulses are output from Q5 and Y axis reverse pulses are output from Q7 in order to move both X and Y axes in reverse.
When pulse output starts, M0050 turns on. M0052 turns on while the pulse frequency is increasing or decreasing.
The steady pulse frequency and initial pulse frequency of each axis are calculated from the preset value, combined steady pulse frequency,
and combined initial pulse frequency, and then the pulses are output for each axis so that the frequency reaches the steady pulse frequency
from the initial pulse frequency in the frequency change time. When the frequency change time is specified as 100, the steady pulse
frequency is reached in 100 ms by increasing or decreasing the frequency every 10 ms.
Pulse output stops when the pulses calculated from the difference between the current position and the target position are output. (The
number of pulses is also counted while changing the frequency.) At this time, M0050 turns off and M0051 turns on.
If the RAMPL34 instruction input turns off during pulse output, pulse output stops. If the input turns on again, the operation starts from the
beginning.
Even if the contents of the data registers are changed during pulse output, the change is not reflected in pulse output operation. The
changed content is reflected the next time the RAMPL34 instruction is started.
S1
S2
D1
D0200
M0000
M0050
Current position
(2000, -1000)
Y axis movement distance
and direction
Frequency
change time
Frequency
change time
FC6A S
MICROS
ERIES
MART
X [pulses]
L
P
M
ADDER
ROGRAMMING
ANUAL
18: P
O
ULSE
UTPUT
FC9Y-B1726
I
NSTRUCTIONS
18-35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents