F172_PulseOutput_Jog_Type1_DUT_0

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

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

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

Count mode

0

No counting (CW or CCW only)

1

Incremental counting

2

Decremental counting

0

Pulse output method

0

CW (positive or clockwise rotation)

1

CCW (negative or counterclockwise rotation)

2

Direction output FALSE

3

Direction output TRUE
diSpeed: Speed [Hz]

Set the speed according to the frequency range specified in the control code.If incremental counting or decremental counting has been selected, the frequency must be 30kHz or lower when executing the instruction for the first time.

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

diTargetValue: Target value [pulses]

-2147483648 to 2147483647

Designate the target value in the range indicated below. If an invalid value is designated, the number of pulses output will be different than the designated value. The target value setting is ignored if the count mode is "No counting".

Count mode Range of permissible target values
Incremental counting > current value
Decremental counting < current value

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