18: P
ULSE
O
UTPUT
I
NSTRUCTIONS
18-34
FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
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)
•
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.
D1
M0050
S2
M0000
RAMPL
12
S1
D0200
RAMPL12
instruction input
Y [pulses]
Target position
(2000, -1000)
Current position (0, 0)
X axis movement distance
and direction
Y axis
movement distance
and direction
X [pulses]
RAMPL12 instruction
input
X axis
pulse frequency
X axis
pulse reversible
control signal
Q0
Pulse output
ON
M0050
Pulse output
complete
M0051
Y axis
pulse frequency
Q2
Y axis
pulse reversible
control signal
Q3
Pulse output
status
M0052
Q1
Frequency
change time
Frequency
change time
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...