Property | Description |
| Distance |
If Mode = 0, A value that specifies how many times to shift the bits. If Mode = 1, A value that indicates how many times the bits have been shifted. |
 | Object Class: | oInt | | Value Range: | -32768 to +32767 |
| Data Type: | Numeric | | Default Value: | 0 |
|
|
| IOPack |
| A value that specifies which pack of 4 I/O lines is used to output the bits. |
 | Object Class: | oIOPack | | Value Range: | 0 - 7 |
| Data Type: | Numeric | | Default Value: | 0 |
|
| Some I/O Lines have special purposes. Be sure to see oIOPack help file for details. |
|
| Rate |
| A value that specifies how fast the shifts will be made. |
 | Object Class: | oVar7 | | Value Range: | 0 - 127 |
| Data Type: | Numeric | | Default Value: | 0 |
|
The Rate property is a clock divider that divides a base frequency of 1132.246Hz. The Phase frequency calculation is: (1132.246 / (128 - Rate)) |
|
| Clear |
| A value that selects if the outputs are turned off. |
 | Object Class: | oSelect0to1L | | Value Range: | 0 - 1 |
| Data Type: | Numeric | | Default Value: | 0 |
|
Free | outputs |
| 0 | Are active |
| 1 | Are all off |
|
|
| InvertOut |
| A value that selects if the outputs are inverted. |
 | Object Class: | oSelect0to1 | | Value Range: | 0 - 1 |
| Data Type: | Numeric | | Default Value: | 0 |
|
InvertOut | Then the stepper motor outputs |
| 0 | Active bit lines are at 5 volts. |
| 1 | Active bit lines are at 0 volts. |
|
|
| Phasing |
| A value that selects the bit pattern to output. |
 | Object Class: | oSelect0to3 | | Value Range: | 0 - 3 |
| Data Type: | Numeric | | Default Value: | 0 |
|
| The phase pattern for the active bits is set by the Phasing property. Each time the Distance property changes the next Phase Pattern dictates the active outputs. |
| Phasing | Phase Pattern | Description |
| 0 |  | 1 of the 4 bits is active while the other 3 are inactive. |
| 1 |  | 2 of the 4 bits are active while the other 2 are inactive. |
| 2 |  | Alternates between 1 and 2 active bits. First: 2 of the 4 bits are active while the other 2 are inactive Second: 1 of the 4 bits is active while the other 3 are inactive. |
| 3 |  | A similar pattern to Phasing 2 is used but with only 3 bits being used. |
|
|
| Mode |
| A value that selects if the bit pattern is to shift continuously. |
 | Object Class: | oSelect0to1 | | Value Range: | 0 - 1 |
| Data Type: | Numeric | | Default Value: | 0 |
|
A value that specifies if the bits shift the number of times specified by the Distance property or will shift continuously. |
| When the Mode property is set to 0 the bits will shift the number of times specified by the Distance property and then stop. Each phase outputted movement of the stepper motor will decrement the Distance property towards 0. If the Distance property is a negative number, it will increment the Distance property towards 0. |
| When the Mode property is set to 1 the stepper motor will turn continuously and count the distance traveled. Each phase movement of the stepper motor will increment (or decrement depending on the setting of the Direction property) the Distance property. |
| Mode | Action |
| 0 | turn distance specified |
| 1 | turn continuously |
|
|
| Direction |
| A value that specifies the direction that the shifts will be made in. |
 | Object Class: | oSelect0to1L | | Value Range: | 0 - 1 |
| Data Type: | Numeric | | Default Value: | 0 |
|
If the Mode property is 0, then the Direction property is set based on the Distance property. If the Distance property is a positive number, then Direction is set to 0. If the Distance property is a negative number, then the Distance property is set to 1.
Direction | Turn |
| 0 | Left Shift (Toward MSB) |
| 1 | Right Shift (Towards LSB) |
|
|
| Operate |
| A value that specifies whether or not the bits are outputted. |
 | Object Class: | oOperate | | Value Range: | 0 - 1 |
| Data Type: | Numeric | | Default Value: | 0 |
|
| Operate | Constant | Description |
| 0 | cvOff | The bits are not outputted. |
| 1 | cvOn | The bits are outputted. |
|
|
| Address |
| Returns a pointer to the address of the oCounter Object instance. |
 | Object Class: | oAddress | | Value Range: | 0 - 127 |
| Data Type: | Pointer (Read Only) | | Default Value: | Address of Object |
|
|