This DUT can be used with the following instruction(s): F168_PulseOutput_Home
Elements of the DUT (identifiers):
Control code [hex constant]
Specify the control code using a hexadecimal constant. Example: 16#1025. 1, 0, 2, and 5 are the values corresponding to digits 3, 2, 1, and 0 of the hexadecimal constant. Digit 0 is the digit on the far right.Additional digits specific for the selected control method are set automatically by the compiler shortly before the instruction is called.
Digit |
Value |
Setting |
|
---|---|---|---|
2 |
Duty ratio (for pulse duration and period) The ratio between the pulse duration and the period of a rectangular waveform. For a pulse train in which the pulse duration is 1ms and the pulse period is 4ms, the duty ratio is 0.25 or 25%. |
||
0 |
½ (50%) The pulse output will start after the direction output has been set. The delay is (initial speed / 2), e.g. for an initial speed of 500Hz the delay is approx. 1ms. |
||
1 |
Fixed pulse width (approx. 80ms) The pulse output will start after the direction output has been set. The delay is (initial speed - 25ms), e.g. for an initial speed of 500Hz, the delay is approx. 1.98ms. |
||
If the specified value is out of range, 0 is set. Pulses are output from the IC. The pulse width varies due to the response delay of the optocoupler. |
|||
1 |
2 |
(fixed) |
|
0 |
Pulse output method |
||
0 |
No direction output |
Type 1 The home input is effective regardless of whether or not there is a near home input, whether deceleration is taking place, or whether deceleration has been completed. |
|
2 |
Direction output FALSE |
||
3 |
Direction output TRUE |
||
4 |
No direction output |
Type 2 The home input is effective only after deceleration (started by near home input) has been completed. |
|
6 |
Direction output FALSE |
||
7 |
Direction output TRUE |
Initial and final speed [Hz] 40–5000
Target speed [Hz]
40–9500 (40–6000 for a duty ratio of 50%, 40–9500 for a fixed pulse width (approx. 80ms))
(The values do not apply to the FP-e. Please see the FP-e Hardware Manual for more details.)Acceleration/deceleration time [ms]
30–32760 (specify in steps of 30)
The difference between target speed and initial speed determines the slope of the acceleration ramp.Target value [pulses]
-8388608 to +8388607
Pulse stop
Set to 0.