9 Program command
-
84
-
Movement unit and movement amount
When a UNIT command is set, the number of pulse outputs will change in accordance with the formula
below:
Formula: Number of pulse outputs = (D/n1) × n2
Note
When configured with a UNIT command, the number of fractional digits for the
movement amount used in the D command will be the same as the number of
fractional digits of the unit value.
Example: When the unit value is 0.1, the movement amount can be set to xxx.x
(1 digit after the decimal point) in a D command.
Example: When the unit value is 0.01, the movement amount can be set to xxx.xx
(2 digits after the decimal point) in a D command.
The current position will be cleared if a movement-amount unit is set.
Example)
Setting in angle
Basic step angle = 0.72° [500 pulses per motor revolution]
•
Unit value when there is no gear and the micro-step function is not used (number of divisions is
1) = UNIT1, 0.72, 1
→
With D1 90, 125 pulses will be output.
•
Unit value when there is no gear and the micro-step function is used (number of divisions is 10)
= UNIT1, 0.72, 10
→
With D1 90, 1250 pulses will be output.
Basic step angle: 0.72/50 = 0.0144°
•
Unit value when the gear ratio is 50:1 and the micro-step function is not used (number of
divisions is 1) = UNIT1, 0.0144, 1
→
With D1 90, 6250 pulses will be output.
Setting in mm
Basic step angle = 0.72° and lead = 10 mm (UNIT value = 10 mm/500 pulses = 0.02)
•
Unit value when there is no gear and the micro-step function is not used (number of divisions is
1) = UNIT1, 0.02, 1
→
With D1 100, 5000 pulses will be output.
•
Unit value when there is no gear and the micro-step function is used (number of divisions is 10)
= UNIT1, 0.02, 10
→
With D1 100, 50000 pulses will be output.
Basic step angle: 0.02/50 = 0.0004°
•
Unit value when the gear ratio is 50:1 and the micro-step function is not used (number of
divisions is 1) = UNIT1, 0.0004, 1
→
With D1 100, 250,000 pulses will be output.
9.5.36.
UPLD
Name Upload
Valid
mode
Direct input
UPLD
Parameter Data
range
Default
Syntax
-
Function
Uploads the sequence program saved in the controller into a specified file in the PC as
a text file.
Request
-
Содержание EMP400 Series
Страница 115: ......