IDEC MICROSmart FC6A Series Ladder Programming Manual page 330

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

Advertisement

18: P
O
I
ULSE
UTPUT
NSTRUCTIONS
RAMPL12 Instruction (Reversible Control Enabled, Single-pulse Output) Timing Chart
When data register D0200 is specified for S1 and internal relay M0050 is specified for D1 of the RAMPL12
instruction in order to move from the current position (0, 0) to the target position (2000, -1000)
RAMPL
12
RAMPL12
instruction input
Y [pulses]
Current position (0, 0)
Y axis
movement distance
and direction
RAMPL12 instruction
input
X axis
Q0
pulse frequency
X axis
Q1
pulse reversible
control signal
Y axis
Q2
pulse frequency
Y axis
Q3
pulse reversible
control signal
Pulse output
M0050
ON
Pulse output
M0051
complete
Pulse output
M0052
status
When the RAMPL12 instruction input is turned on, pulses are output from Q0 and Q2 according to the settings configured by the control
registers. Q1 turns off for the X axis to travel forward. Q3 turns on for the Y axis to travel 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 RAMPL12 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 RAMPL12 instruction is started.
18-34
S1
S2
D1
D0200
M0000
M0050
X axis movement distance
and direction
Frequency
change time
Frequency
change time
FC6A S
MICROS
ERIES
MART
X [pulses]
Target position
(2000, -1000)
L
P
M
ADDER
ROGRAMMING
ANUAL
FC9Y-B1726

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents