AX-Series Motion Controller Instructions Manual Chapter 2
479
2.4 Industry-Specific Instructions
2.4.1 Servo Press Instruction
2.4.1.1 DFC_SP_DegreeToHeight
Supported Devices: AX-308E, AX-8
Servo Press industry-specific input crankshaft length, connecting rod length and crankshaft angle, and the corresponding slider
height are obtained by this Function. In motion control, the current height of the slider can be calculated from the current
crankshaft angle, crankshaft length, and connecting rod length. When an invalid value is entered, the value 0 is returned.
FB/FC Instruction Graphic Expression ST Language
FB DFC_SP_DegreeToHeigh
_parameter : =
DFC_SP_DegreeToHeight(
MachParameters: = _parameter,
lrDegree: = _parameter);
*Note:
If the input parameter range is invalid, the value of 0 will be output, indicating that no calculation will be performed.
Valid Input Range:
MachParameters.lrLLength > (2 * MachParameters.lrRLength)
0 <= lrDegree <= 360
Inputs
Name Function Data Type
Setting Value
(Default)
Timing to Take
Effect
MachParameters
ServoPress machine
electromechanical
parameters
Reference
DMC_SP_MACHINE_PARAME
TERS
*2
- -
lrDegree
The degree of the slave axis
LREAL
*1
Positive(0)
When Execute
turns to True and
Busy state is
False
*Note1:
LREAL Range:
Positive values: -1.7976931348623157E+308 to -4.9406564584124654E-324
Zero: 0
Negative values: 4.9406564584124654E-324 to 1.7976931348623157E+308
*Note2:
DMC_SP_MACHINE_PARAMETERS
Name Function Data Type Setting Value
lrRLength
Crank length (unit: mm),
provided by machine maker
LREAL Positive
lrLLength
Link length (unit: mm),
provided by machine maker
LREAL
lrLLength > (2 *
lrRLength)
lrSPMsys
Virtual master-axis’s SPM. (six
times lrSPMsys is equal to the
LREAL Positive