F171_PulseOutput_Home_DUT

This DUT can be used with the following instruction(s): F171_PulseOutput_Home

Elements of the DUT (identifiers):

dwControlCode: 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

4

Number of acceleration/deceleration steps

0

30 steps

1

60 steps

3

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%)

1

¼ (25%)

Specify a duty of ¼ (25%) if the frequency is set to 50kHz or more.FP-XC14T, C30/C60T: Specify a duty of ¼ (25%) if the frequency for channel 2 or 3 is set to 10kHz or more.

2

Frequency range for initial and target speed

0

1.5Hz–9.8kHz

1

48Hz–100kHz

2

191Hz–100kHz

The maximum error near 9.8kHz is approximately -0.9kHz. Set 1 to specify a target speed from 48 to 100000 (48Hz–100kHz) in the DUT. The maximum error near 100kHz is approximately -3kHz. Set 2 to specify a target speed from 191 to 100000 (191–100kHz) in the DUT. The maximum error near 100kHz is approximately -0.8kHz.

1

Operation mode

2

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.

3

Type 2

The home input is effective only after deceleration (started by near home input) has been completed.

0

Pulse output method

0

CW

1

CCW

2

Direction output TRUE

3

Direction output FALSE

4

CW & Deviation counter clear signal

5

CCW & Deviation counter clear signal

6

Direction output TRUE & Deviation counter clear signal

7

Direction output FALSE & Deviation counter clear signal

diInitialAndFinalSpeed: Initial and final speed [Hz]
  • Set the initial speed according to the frequency range specified in the control code.
  • Set the initial speed to 30kHz or less.
diTargetSpeed: Target speed [Hz]

Set the target speed according to the frequency range specified in the control code.

FP-X: For the medium speed channels 2 and 3, the maximum speed is 20kHz.

diAccelerationDecelerationTime: Acceleration/deceleration time [ms]
  • With 30 steps: 30–32760 (specify in steps of 30)

  • With 60 steps: 60–32760 (specify in steps of 60)

The difference between target speed and initial speed determines the slope of the acceleration ramp. If the acceleration/deceleration time is not specified in steps of 30, the values will be automatically corrected to the next larger multiple values of 30. Set the acceleration/deceleration time t according to the following formula:t (ms) ³ (30 steps × 1000) ÷ initial speed [Hz]

diDeviationCounterClearSignalOutputTime: Deviation counter clear signal [ms]

1ms–100ms [0-100] (max. margin of error 0.5ms).

Specify 0 when not using this signal.

Modified on: 2019-12-10Feedback on this pagePanasonic hotline