Inputs:
How To Use:
You run the function 1 time for each move you are going to make. After the function starts the Index, do not call the function until you need to command a new index.
You can start a new index even if the system is moving. Let’s say the system is indexing to a position of 10,000 from a position of 0. If you need the system to go back to position 0 and you don’t want the system to go to the position of 10,000. Then you would just call the function with a distance value of 0. The system will slow down based on the deceleration setting and then start indexing back to position 0.
The 0 is because this function goes to the position you tell it to go and you wanted to go to a position of 0.
This block is used in systems that have limited movement, or where you need more control.
Inputs:
How To Use:
You run the function 1 time for each move you are going to make. After the function starts the Index, do not call the function until you need to command a new index.
You can start a new index even if the system is moving. Let’s say the system is indexing to a position of 10,000 from a position of 0 and you are at position 5,000. If you need the system to go back to position 0 and you don’t want the system to go to the position of 10,000. Then you would just call the function with a distance value of -10,000. The system will slow down based on the deceleration setting and then start indexing back to position 0.
The -10,000 is because the last index target position was 10,000 and you wanted to go to position 0.
This index can also be used on systems that index the same distance over and over.
This block is used more then Start Index INC for basic systems.
Inputs:
How To Use:
You run the function 1 time for each move you are going to make. After the function starts the Index, do not call the function until you need to command a new index.
You can start a new index even if the system is moving. Let’s say the system is indexing to a position of 10,000 from a position of 0 and you are at position 5,000. If you need the system to go back to position 0 and you don’t want the system to go to the position of 10,000. Then you would just call the function with a distance value of -5,000. The system will slow down based on the deceleration setting and then start indexing back to position 0.
The -5,000 is because the current position was 5,000 and you wanted to go to position 0.
This index can also be used on systems that index the same distance over and over.
Most of the time this index is used as an offset index if the user is gearing with the MCI2x0.
Our mission is simple: Help new programmers learn to program. Too many times we have seen others looking for or re-creating the same things over and over. We feel this needs to stop. If we find someone that has produce a quality video we will share it with you. We will strive to make learning as easy as we can without re-creating if possible.