If the RC servo motor is configured and TargetPosition
is set, the controller will continuously try to reach targeted position.
MinPosition
and MaxPosition
.TargetPosition
, VelocityLimit
, and Acceleration
are configured by scaling the internal timing (set with MinPulseWidth
and MaxPulseWidth
) to a user specified range with MinPosition
and MaxPosition
.MinPulseWidth
and a MaxPulseWidth
corresponding to range of pulse widths that produce the servo arm's full range of movement.MinPulseWidth
and MaxPulseWidth
stored by the library to match the desired range of movement you expect from your servo.TargetPosition
to MaxPosition
, the controller will send pulses of MaxPulseWidth
to the servo.MinPosition
will send pulses of MinPulseWidth
to the servoMaxPosition
can be set smaller than MinPosition
to invert movement of the servo, if it helps your application.TargetPosition
will transate the position between MinPosition
and MaxPosition
to a corresponding Pulse Width between MinPulseWidth
and MaxPulseWidth
, in turn sending the servo arm to the desired position.VelocityLimit
and Acceleration
for your servo will limit the rate of change of the servo's position in terms of one UserUnit per second (or /s2). Here, a UserUnit is whatever distance is maked by the change of the TargetPosition
by 1.0MaxPulseWidth
and MinPulseWidth
. You can use the default values for these (or the ones on your servo's datasheet) as a starting point.MaxPosition
and MinPosition
to check the results. Repeat steps 1 and 2 as nessesarry.MaxPosition
and MinPosition
to match whatever numbers you find best suited to your application.
|
Device In Device # Identification |
|
error in (no error) error in can accept error information wired from VIs previously called. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
|
code code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
|
source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
|
Target Position The position value
1000_0 (ver: 200, 201) RC Servo Motor Controller:
1000_0 (ver: 300, 312) RC Servo Motor Controller:
1000_0 (ver: 313) RC Servo Motor Controller:
1001_0 (ver: 200, 201) RC Servo Motor Controller:
1001_0 (ver: 300, 302, 312) RC Servo Motor Controller:
1001_0 (ver: 313) RC Servo Motor Controller:
1061_0 (ver: 100) RC Servo Motor Controller:
1061_0 (ver: 200) RC Servo Motor Controller:
1061_1 (ver: 300, 301, 302, 303, 304) RC Servo Motor Controller:
RCC0004_0 (ver: 400) RC Servo Motor Controller:
1066_0 (ver: 100) RC Servo Motor Controller: 1066_1 (ver: 100, 101) RC Servo Motor Controller:
RCC1000_0 (ver: 106) RC Servo Motor Controller:
RCC1000_0 (ver: 110, 111, 120) RC Servo Motor Controller: |
|
Device Out Same as Device In |
|
error out error out passes error or warning information out of a VI to be used by other VIs. |
|
status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
|
code code is the error or warning code. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |
|
source source describes the origin of the error or warning. Right-click the error out control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error. |