This DUT can be used with the following instruction(s): F171_PulseOutput_Jog_Positioning
Elements of the DUT (identifiers):
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 |
Output operation |
|
0 |
Pulse output | |
1 |
Calculation only | |
1 |
0 |
Relative value control (fixed) |
0 |
Pulse output method |
|
0 |
Forward: 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). |
|
1 |
Forward: 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.) |
|
2 |
ForwardPulse/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.) |
|
4 |
Reverse: 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). |
|
5 |
Reverse: 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.) |
|
6 |
Reverse: 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.) |
1–50000 (1Hz–50kHz)
Initial speed = Fmin
Acceleration time and deceleration time have priority over initial speed and final speed. This means that the values for acceleration time and deceleration time will not be changed whereas the values for initial speed and final speed may be corrected by the pulse output instruction to enable acceleration and deceleration within the specified time. The modified values are written to data registers which can be accessed using the system variables sys_iPulseChannelxCorrectedInitialSpeed and sys_iPulseChannelxCorrectedFinalSpeed (where x=channel number
1–50000 (1Hz–50kHz)
The difference between target speed and initial speed determines the slope of the acceleration ramp.
1–32760ms
The difference between target speed and final speed determines the slope of the deceleration ramp.
1–32760ms
-2147483648 to +2147483647
The following outputs are TRUE or FALSE depending on the selected pulse output method:
Pulse output method |
Pulse output |
Target value |
||
Positive value |
Negative value |
|||
CW/CCW |
CW |
TRUE |
FALSE |
|
CCW |
FALSE |
TRUE |
||
Pulse/direction |
Forward FALSE |
Pulse |
TRUE |
TRUE |
Direction |
FALSE |
TRUE |
||
Forward TRUE |
Pulse |
TRUE |
TRUE |
|
Direction |
TRUE |
FALSE |
||
Count mode |
Incremental counting |
Decremental counting |
If the specified target value is 0, pulse output stops when the position control trigger input turns to TRUE (V1.06 or higher).