Rampl (Linear Interpolation Control) - IDEC MICROSmart FC6A Series Ladder Programming Manual

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

Advertisement

RAMPL (Linear Interpolation Control)

The RAMPL instruction outputs pulses with a frequency change function that operates simultaneously from two outputs, so that
the trajectory of movement is linear.
This instruction can be used with the Plus CPU module transistor output type and CAN J1939 All-in-One CPU module transistor
output type.
Ladder Diagram
RAMPL
12
Operation
When the input is on, the initial pulse frequency and steady pulse frequency are calculated from the preset value specified by S1
(target position), the combined initial pulse frequency, and the combined steady pulse frequency, so that the trajectory of
movement is linear. Then the pulses are simultaneously output from the two specified outputs, and the pulse frequency increases
at a constant rate until the frequency reaches the steady pulse frequency of the axes. After pulses of a constant speed are output
at the steady pulse frequency, the pulses frequency decreases before reaching the preset value specified by S1, and then the pulse
output stops when it reaches the preset value.
Y axis
Y axis
preset value
When the initialization input specified by S2 is turned on, the initial values configured in the WindLDR RAMPL (Ramp Pulse
Output with Liner Interpolation) dialog box, on the Common Settings tab, are stored in the control registers.
The control status, including the pulse output status (output on/output direction/output complete), is stored in the operation
status specified by D1.
Notes:
If a pulse output instruction is simultaneously executed with the same output, a user program execution error will occur.
Error code 48 will be stored in D8006 and instructions that are executed later will be canceled.
The RAMPL instruction cannot be used in an interrupt program. If used in an interrupt program, a user program execution error will occur.
Error code 18 will be stored in D8006 and instruction execution will be canceled.
If a pulse output instruction is executed with the relay output type, a user program execution error will occur.
Error code 19 will be stored in D8006 and instruction execution will be canceled.
The RAMPL instruction operates only in absolute position mode with accompanying reversible control. After starting operation of the ladder
program, execute the ABS instructions that correspond to the specified outputs to initialize the absolute position counters. If the
corresponding absolute position counter initialized flags in D8239 (absolute position control status) are 0 (not initialized), a user program
execution error will occur when the instruction is executed.
For user program execution errors, see "User Program Execution Errors" on page 3-10.
Valid Devices
Device
S1 (Source 1)
S2 (Source 2)
D1 (Destination 1)
*1 Special data registers cannot be used.
*2 Special internal relays cannot be used.
S1
S2
D1
*****
*****
*****
X axis
X axis preset value
Function
Control registers
Initialization input
Operation status
FC6A S
MICROS
ERIES
MART
X axis steady
pulse frequency
Y axis steady
pulse frequency
Frequency increase time
Frequency increase and decrease times are the same
I
Q
M
X
X
*2
X
L
P
M
ADDER
ROGRAMMING
ANUAL
18: P
O
ULSE
UTPUT
X axis preset value
Y axis preset value
Frequency decrease time
Trapezoid area = Preset value
R
T
C
D
P
Constant
*1
X
FC9Y-B1726
I
NSTRUCTIONS
Repeat
18-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents