Digital I/O Page (Axis Configuration)

LabVIEW 2018 SoftMotion Module

Edition Date: March 2018

Part Number: 371093W-01

»View Product Info
Download Help (Windows Only)

Use this page of the Axis Configuration dialog box to configure the digital I/O settings.

This page includes the following components:

Note Note  Not all options and pages are applicable for all axis types.

  • Pin—Displays the name of the signal.
  • Mapping—Specifies the digital input or output signal mapping. Different options are available for inputs and outputs:
    • Digital Input Settings
      • Name—Displays the name of the digital input signal.
      • Input Mapping—Specifies the digital input signal mapping.

        When you select one of the available mappable signals, the input line inherits the functionality of that signal. The following mappable signals are available:

        • Not Mapped—Removes a mapped signal from the digital input.
        • Drive Fault/Alarm—Disables the drive in case of a drive error. SoftMotion does not generate stepper or servo command signals when the Drive Fault/Alarm input is active. The Drive Fault/Alarm signal is inactive during normal operation.
        • E-Stop—Shuts off the motion system using an external input, such as a switch. SoftMotion performs a disable drive stop and goes into a shutdown state when the E-Stop input state transitions from inactive to active. Connect your e-stop hardware accordingly. When the E-stop input is activated, determine the cause of the E-stop condition and correct the problem, then reboot or reinitialize the target before continuing execution. Refer to the Reinitialize.lvproj example in the examples\Motion\ConfigurationAPI\Reinitialize directory for an example showing how to programmatically reinitialize the SoftMotion Module.
          Note If you map a digital input to the E-Stop signal, the Active State is always assumed to be Active Low and the active state selection for the pin is ignored.
        • Servo/Drive Ready—Indicates that the drive is ready or enabled.
        • In-Position—Indicates that the drive has completed the move and has reached the target position.
      • Input Type—Specifies the input type for the digital input circuit.

        The following options are available:

        • Sinking—Selects a sinking input type. Sinking inputs provide a ground for current flow.
        • Sourcing—Selects a sourcing input type. Sourcing inputs provide a voltage source for current flow.
        • TTL/CMOS—Selects a TTL/CMOS input.
        • Simulated—Selects a simulated input. Use simulated input type when there is no physical input connection, but you want to configure the input for simulation purposes.

      • Active State—Specifies the active state of the digital input signal.

        Valid options are:

        Note  Valid input active state selections depend on the Input Type selected.
        • High—Configures the signal to be active when there is a high signal on the pin.
        • Low—Configures the signal to be active when there is a low signal on the pin.
        • On—Configures the signal to be active when current is flowing through the circuit.
        • Off—Configures the signal to be active when current is not flowing through the circuit.

      • Digital Filter—Specifies the digital filter for the digital input. Signals that have a pulse width less than or equal to the digital filter period are guaranteed to be filtered. Use shorter filter periods for noise filtering and longer filter periods to debounce the input.
    • Digital Output Settings
      • Name—Displays the name of the digital input signal.
      • Output Mapping—Specifies the digital output signal mapping.

        Valid value is:

        • Not Mapped—Removes a mapped signal from the digital output.
      • Output Type—Specifies the output type for the digital output circuit.

        Valid options are:

        • Sinking—Selects a sinking output type. Sinking outputs provide a path to ground for current flow.
        • Sourcing—Selects a sourcing output type. Sourcing outputs provide a path to a voltage source for current flow.
        • Single-Ended—Selects a single-ended output. In a single-ended configuration, the transmitter generates a single voltage that the receiver compares with a fixed reference voltage, both relative to a common ground connection shared by both ends. This configuration is less complicated but more sensitive to signal noise than differential signals.
        • Differential—Selects a differential output. In a differential configuration, the information is transmitted electrically by means of two complementary signals sent on two separate wires. This configuration helps to protect the signal from the effects of noise.
        • Simulated—Selects a simulated output. Use simulated output type when there is no physical output connection, but you want to configure the output for simulation purposes.
      • Active State—Specifies the active state of the digital output signal.

        Valid options are:

        Note  Valid output active state selections depend on the Output Type selected.
        • High—Configures the signal to be active when there is a high signal on the pin.
        • Low—Configures the signal to be active when there is a low signal on the pin.
        • On—Configures the signal to be active when current is flowing through the circuit.
        • Off—Configures the signal to be active when current is not flowing through the circuit.
      • Safe State—Specifies the state of the digital outputs when the hardware is in safe state. The Active State setting does not affect the safe state behavior. In most cases, you want to set the safe state of the signal to the opposite of the active state, so that the signals are not active during a hardware failure.

        Valid options are:

        Note  Available safe state selections depend on the Output Type selected.
        • Low—Configures the state to be low when the hardware is in fault or configuration state.
        • High—Configures the state to be high when the hardware is in fault or configuration state.
        • On—Configures the state to be on when the hardware is in fault or configuration state.
        • Off—Configures the state to be off when the hardware is in fault or configuration state.

WAS THIS ARTICLE HELPFUL?

Not Helpful