Skip to content

Configuration and Setup

Zero-Level Calibration

The MTS160 is calibrated at the factory. However, ambient magnetic conditions may differ at the deployment location. It is recommended to calibrate the sensor's zero level at the final installation site.

To perform zero-level calibration:

  1. Position the robot away from any magnetic tracks or sources
  2. Issue the zeroing command using one of these methods:
    • Through serial command: !ZERO
    • Via CAN SDO: Write to index 0x2000
    • Using the PC Utility's Configuration screen

Tape Polarity Selection

Default Configuration

By default, the sensor is configured to detect:

  • Tracks: North polarity on top side
  • Markers: South polarity on top side

Checking Tape Polarity

You can verify tape polarity using two methods:

  1. String Method:

    • Tie a 50-100cm string to a piece of tape
    • The tape's north-facing side will align with Earth's North Pole
  2. Compass Method:

    • Hold a compass against the tape's top (non-sticky) side
    • The compass's north needle is attracted to the tape's south side
    • The south needle is attracted to the tape's north side

Changing Polarity Settings

Polarity can be changed through:

  1. Serial Command:
!SNCF,1,50,50  // For South on Top
!SNCF,0,50,50  // For North on Top
  1. CAN SDO: Write to index 0x2002, sub-index 1:
  • 0 = North on Top
  • 1 = South on Top
  1. PC Utility: Navigate to Configuration screen and select desired polarity:

Configuration Screen

Configuration Page #2: Sensor Settings

Track and Markers Threshold

The MTS160 detects tracks and markers by analyzing magnetic strength variations:

  • Tracks: Detected in zones with increased magnetic strength
  • Markers: Detected in zones with decreased magnetic strength

Track and Marker Thresholds

Track and Marker Thresholds

Threshold Parameters

  1. Track Threshold:

    • Defined as percentage of peak magnetic value
    • Factory default: 50%
    • Range: 0-100%
  2. Marker Threshold:

    • Defined in absolute milliTeslas (mT)
    • Factory default: 50 mT
    • Range: 0-100 mT

Adjusting Thresholds

Thresholds can be modified through:

  1. Serial Command:
!SNCF,[Polarity],[TrackThreshold],[MarkerThreshold]
  1. CAN SDO:
  • Track Threshold: Index 0x2002, sub-index 2
  • Marker Threshold: Index 0x2002, sub-index 3
  1. PC Utility: Use the Configuration screen's Track and Marker Parameters section

When to Adjust Thresholds

Consider adjusting thresholds when:

  • Environmental magnetic interference is present
  • Magnetized steel in concrete floors affects readings
  • Special application requirements need different sensitivity

Before adjusting:

  1. Monitor track and marker readings using PC Utility
  2. Analyze disturbance patterns
  3. Test new threshold values in controlled conditions

TIP

Factory defaults are optimized for most applications. Adjust thresholds only when necessary. If you have issues with magnetic distubances, try increasing the track threshold up to 80%.

Communication Mode Selection

The MTS160 supports multiple communication interfaces that can be configured based on system requirements.

Available Modes

  1. RS232 Mode (Factory Default):

    • Full duplex, 8 data bits, no parity, one stop bit
    • No flow control
    • No echo on received commands
  2. CANOpen Mode:

    • Supports up to 1Mbps
    • Configurable Node ID
    • Multiple TPDOs for different data types

RS232 Configuration

Configurable parameters:

  1. Bit Rates:

    • 9600 bps
    • 19200 bps
    • 38400 bps
    • 57600 bps
    • 115200 bps (Factory default)
  2. Signal Level:

    • Normal (Default)
    • Inverted (for TTL compatibility)

Set via serial command:

!RSCF,[Baudrate],[Inverted]

CAN Configuration

Configurable parameters:

  1. Bit Rates:

    • 125 kbps
    • 250 kbps (Factory default)
    • 512 kbps
    • 1000 kbps
  2. Node ID:

    • Range: 1-127
    • Default: 1
  3. Additional Settings:

    • Termination resistor enable/disable
    • Auto-run mode
    • PDO transmission periods

Set via serial command:

!CNCF,[NodeId],[Bitrate],[AutoRun],[TermResistor],[TPDO1Period],[TPDO2Period],[TPDO3Period]

Using PC Utility for Configuration

  1. Connect sensor via USB
  2. Open Configuration screen
  3. Select Communication Protocol section
  4. Choose desired protocol and parameters

Communication Configuration

Configuration Page #3: Communication Settings

Saving and Loading Configurations

The PC Utility allows saving and loading configurations:

  1. Save Configuration:

    • Click "Save Config"
    • Choose file location
    • Configuration saved in JSON format
  2. Load Configuration:

    • Click "Load Config"
    • Select previously saved file
    • Configuration automatically applied

This feature is particularly useful when:

  • Configuring multiple sensors identically
  • Maintaining backup of working configurations
  • Switching between different application requirements

Factory Reset

If needed, return to factory defaults:

  1. Serial Command:
!RSET
  1. PC Utility:
    • Click "Reset to Factory Defaults" button
    • Confirm action when prompted

After reset, the sensor will return to:

  • RS232 mode at 115200 bps
  • North polarity on top
  • Default thresholds (50%)
  • Default CAN settings