730
AppendixAppendix D Customized Function - Supplementary Description of Electronic Cam Functions
◆
Operands
Operand
Bit Soft Element Word Soft Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
S3 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM V Z Modication K H E
Note: The soft elements in gray background correspond to H3U PLCs only.
◆
Functions and actions
Pulses are superposed at the preset frequency.
[S1] indicates the total number of superposed pulses, ranging from -32,767 to +32,767. "+" indicates an
increase, and "-" indicates a reduction. Note: Pulses can be increased or reduced in only one direction.
Pulse reduction cannot change the direction of a pulse output instruction. Pulses can be reduced until the
pulse output frequency is 0.
[S2] indicates the pulse superposition frequency. The value ranges from 1 to 200, in the unit of KHz. The
actual frequency may be different from the preset one. Maximum frequency:
Vmax =
P
2
. P indicates
the total number of pulses set in [S1]. When the preset frequency is greater than Vmax, Vmax is regarded
as the superposition frequency. Actual frequency of pulses output through the port = Positioning instruction
frequency ± Superposition frequency
[S3] indicates the superposition mode; 0: acceleration/deceleration mode; others: reserved.
[D] indicates the pulse output port. Y0, Y1, and Y2 indicate the x-axis, y-axis, and z-axis respectively.
◆
Note
●
Special ags can be used to monitor the motion superposition state.
X-axis Y-axis Z-axis Function
SM22 SM122 SM222
Motion
superposition
state
ON: Motion being
superposed
OFF: End of motion
superposition
●
After motion superposition is enabled, the output frequency is increased by 1 KHz/ms. Pulses can be
increased or reduced by increasing or reducing the superposition frequency.
◆
Example