What is the Difference Between P-Command and Open-Loop Settings for Stepper Loop Mode?Hardware: Motion Control
Problem: What is the difference between P-Command (Position-Command) and Open-Loop settings for Stepper Loop Mode with NI motion controllers? Solution: The P-Command mode is normally chosen for stepper and/or servo drives which accept step and direction inputs (P-Command drives), while Open-Loop mode is normally used with drives which only control steppers. To better understand the differences, it helps to analyze both modes from the perspective of the drive (amplifier) and from the perspective of the National Instruments motion controller. Drive (Amplifier) Perspective: A P-Command drive is very different from a typical stepper drive. A stepper drive only works with stepper motors, while a P-Command drive is a smart/intelligent drive which can control servo motors. With a P-Command drive, the position control loop runs on the drive, not on the NI motion controller. The motion controller simply commands the new position that the drive should move the motor to, hence the name "Position Command" or "P-Command". The P-Command drive usually has built-in circuitry which checks for position error and corrects for it as necessary. In most cases, these drives work with brushed and/or brushless servo motors, allowing you to control them as if they were stepper motors with step and direction signals. The motion controller sends a digital pulse to the P-Command drive, which then moves the stepper motor by a single encoder pulse. So, although the complexity and internal makeup of P-Command drives are completely different than those of a stepper drive, the signals which control both types of drives are very similar. There are five main differences between the control signals of P-Command drives and stepper drives, which will be discussed in the following section. National Instruments Motion Controller Perspective: A motion controller in P-Command mode and a motion controller in Open-Loop Stepper mode are almost exactly the same. The hardware to produce the both control signals is almost identical, the NI motion controllers are configured in stepper mode for a P-Command drive even though the end goal might be to position a servo. Although they are similar, there are four main differences in the way motion controllers are used with P-Command drives compared to how they are used with stepper drives:
Related Links: KnowledgeBase 42HHJIS4: Using a Non-7390 Motion Controller with a P-Command Drive KnowledgeBase 41EGJUBE: What Is P-Command Mode? Product Manuals: NI PCI-7390 User Manual Attachments:
Report Date: 12/07/2006 Last Updated: 03/09/2009 Document ID: 446INTAJ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
