Configuring UI/O High-Speed Channels

Each of the Universal I/O module's two RS-422 channels are independently configurable as Quadrature or SSI. These channels must be configured before being used for such tasks as assigning to axis inputs. To configure the channels, open the UI/O properties:

  1. In the Project Pane, expand the Modules folder.

  2. Double-click the desired UI/O module, then choose the Quad/SSI page.

  3. Each channel can be configured to operate in one of the modes listed in the table below. See the sections below for instructions on configuring the channels for specific uses.

Quadrature Input

Is used by assigning to a control or reference axis.

  • +/-A and +/-B differential inputs with wire break detection.

  • One I/O point per channel (R0 for channel 0 or R1 for channel 1) can be used as a reference or home input for high-speed count latching.

  • Filtering on the R0/R1 input for use in high-speed latching is configurable via an axis parameter.

  • Termination on the A and B inputs can be enabled/disabled via an axis parameter.

SSI Axis Input

Is used by assigning to a control or reference axis. The following items can be configured via axis parameters:

  • SSI Clock Mode: Standard (Clock is output) or Monitor (Clock is input)

  • Wire Delay Compensation: Selects the amount to delay sampling Data with respect to Clock. A wizard is provided to calculate the proper value.

  • SSI Input Termination: Enable/disable termination on the Data input (and Clock input for Monitor mode)

  • SSI Clock Rate: 250 kHz, 500 kHz, or 971 kHz

  • SSI Data Format: Gray code or binary

  • SSI Data Bits: 8-32

SSI Register Input

Result is placed in any selected variable. This type of input cannot be assigned to an axis.

The same configuration options as SSI Axis Input are provided for this mode, but are located in the Quad/SSI setup page for the module instead of in axis parameters.

SSI Output

Outputs the contents of a selectable register over the SSI +/-Data lines. Also, channel 1 has the option of automatically echoing the data coming in on channel 0 (if configured as an SSI Axis/Register Input) in which case a register is not selected. This is useful in cases where the user wants to share the SSI feedback with other devices.

The following items can be configured through the Quad/SSI setup page:

  • SSI Output Mode: Master (Clock is output) or Slave (Clock is input)

  • SSI Termination (Slave mode only): Enable/disable termination on the Clock input

  • SSI Clock Rate: 250 kHz, 500 kHz, or 971 kHz

  • SSI Data Format: Gray code or binary

  • SSI Data Bits: 8-32

Configure Channel as a Quadrature Axis Input

For each channel that will be used as an input to an axis, do the following:

  1. Choose Quadrature Input, then click OK.

  2. Wire the quadrature input as described in the RMC150 UI/O Wiring topic.

  3. Assign the input to an axis as described in the Defining Axes topic.

  4. In the Axis Parameters Pane, set the following axis parameters:

  5. Scale the axis feedback as described in the Quadrature Scaling topic.

Configure Channel as an SSI Axis Input

For each channel that will be used as an input to an axis, do the following:

  1. Choose SSI Axis Input, then click OK.

  2. Wire the SSI input as described in the RMC150 UI/O Wiring topic.

  3. Assign the input to an axis as described in the Defining Axes topic.

  4. In the Axis Parameters Pane, set the following axis parameters:

  5. Scale the axis feedback as described in the SSI Scaling topic.

Configure Daisy-Chained SSI Devices to Multiple UI/O Modules

Daisy-chaining refers to wiring an SSI device to multiple UI/O modules. When wiring a daisy-chained SSI system, the SSI master (the UI/O) should be on one end of the daisy chain with the SSI device on the other end, and any monitoring UI/O modules in the middle of the daisy chain. The wiring must be done in a sequential fashion, that is, the wiring goes from the SSI device to the first UI/O, then from that UI/O to the next UI/O, etc. Apply termination only to the SSI master. See RMC150 UI/O Wiring for more details.

  1. Configure a channel on the master UI/O as an SSI Axis Input as described in the Axis Input section above. Use the SSI Termination parameter to apply termination.

  2. For the remaining monitoring UI/O modules:

    1. Configure a channel as SSI Axis Input as described in the Axis Input section above, but set the SSI Clock Mode parameter to Monitor and do not apply termination.

Using SSI Output Mode

The SSI Output mode can be used to configure the SSI channel for the following:

Configure Bidirectional Communication Between Two RMCs

The UI/O module can be used to communicate between RMCs.

  1. Configure the UI/O module on the first RMC as follows:

    1. In Channel 0:

      • Choose SSI Output mode.

      • Set the SSI Output Mode to Slave.

      • In the Source of Output Data section, choose the register that contains the data to be sent. Typically this is a variable.

      • Set the SSI Data Bits to 32.

    2. In Channel 1:

      • Choose SSI Register Input mode

      • Set the SSI Input Mode to Standard

      • Set the SSI Termination to ±Data.

      • In the Location to store SSI Data section, choose the register where the received data will be stored. This must be a variable.

      • Set the SSI Data Bits to 32.

  2. Configure the UI/O on the second RMC as follows:

    1. In Channel 0:

      • Choose SSI Register Input mode

      • Set the SSI Input Mode to Standard

      • Set the SSI Termination to ±Data.

      • In the Location to store SSI Data section, choose the register where the received data will be stored. This must be a variable.

      • Set the SSI Data Bits to 32.

    2. In Channel 1:

      • Choose SSI Output mode

      • Set the SSI Output Mode to Slave.

      • In the Source of Output Data section, choose the register that contains the data to be sent. Typically this is a variable.

      • Set the SSI Data Bits to 32.

  3. Wire Channel 0 on the first RMC to Channel 0 on the second RMC as shown in RMC150 UI/O Wiring. Wire Channel 1 on the first RMC to Channel 1 on the second RMC.

  4. Click OK.

  5. The RMCs will automatically send data back and forth to each other.

 

See Also

UI/O Module | UI/O Wiring


Send comments on this topic.

Copyright © 2024 Delta Computer Systems, Inc. dba Delta Motion