F176_PulseOutput_Center_DUT

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

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

Operation connection mode

0

Stop

Pulse output stops when the target position is reached.

1

Continue

When the first circular interpolation is finished (target position has been reached), the data table is overwritten with new values and another circular interpolation is started. To stop pulse output, set the bit to 0 after the last interpolation has started.

3

Rotation direction

0

Forward

From channel 2 (y-axis) to channel 0 (x-axis) (for a movement in positive direction on both channels)

1

Reverse

From channel 0 (x-axis) to channel 2 (y-axis) (for a movement in positive direction on both channels)

2

Circular interpolation method

0

Pass position method

1

Center position method

1

Position control mode

0

Relative value control

1

Absolute value control

0

Pulse output method

0

CW/CCW

Control is carried out using two pulses: a positive or clockwise rotation pulse (CW) and a negative or counterclockwise rotation pulse (CCW pulse).

2

Pulse/direction Control is carried out using one pulse output to specify the speed and another to specify the direction of rotation with TRUE/FALSE signals. (Forward FALSE: In this mode, forward rotation is carried out when the rotation direction signal is FALSE.)

3

Pulse/direction Control is carried out using one pulse output to specify the speed and another to specify the direction of rotation with TRUE/FALSE signals. (Forward TRUE: In this mode, forward rotation is carried out when the rotation direction signal is TRUE.)

diSpeed: Composite speed (Fv) [Hz]

100–20000 (100Hz–20kHz)

Use the range of the formula given below as a guide when setting the composite speed.

Fv [Hz]£r [pulse] x 10/t [ms]

Fv: composite speed [Hz], r: radius [pulse], t: scan time [ms]

Example: Radius r: 1000 pulses, scan time t: 5ms

Fv [Hz] £ 1000 [pulse] x 10/5 [ms] = 2000Hz

diTargetPos_X: X-axis target value, diTargetPos_Y: Y-axis target value [pulses]

-8388608–8388607

diCenterPos_X: X-axis center value, diCenterPos_Y: Y-axis center value [pulses]

-8388608–8388607

Operation result area

The following parameters for each axis are calculated upon execution of the instruction and stored in the operation result area of the DUT.

diRadius: Radius [pulses]

Modified on: 2022-10-17Feedback on this pagePanasonic hotline