This document serves as a quick start manual for a Modbus RTU encoder from POSITAL FRABA. It outlines the device connection, encoder settings, communication setup, register descriptions, and encoder configuration procedures.
Function Description
The Modbus RTU encoder is a rotary encoder designed for industrial applications, providing position, speed, and other operational data via the Modbus RTU protocol. It supports both absolute and incremental modes, offering high resolution and various configuration options to suit different application requirements. The encoder communicates over an RS485 interface and can be connected to a computer via an RS485-to-USB converter for configuration and monitoring using Modbus Poll software.
Important Technical Specifications
- Communication Protocol: Modbus RTU
- Interface: RS485
- Power Supply: 24VDC
- Default Baud Rate: 19200
- Parity: Even
- Stop Bits: 1
- Data Bits: 8
- Default Slave ID: 7Fh (127d)
- Resolution: The encoder supports configurable ST (Single Turn) and MT (Multi Turn) resolutions, contributing to a total resolution. For example, a physical ST resolution of 8192 and MT resolution of 4096 are mentioned in the manual.
- Position Data: Provides 32-bit position values (split into two 16-bit registers for MSB and LSB).
- Speed Data: Provides 32-bit speed values (split into two 16-bit registers for MSB and LSB).
- Limit Switch State: Indicates the state of internal limit switches.
- Scaling: Supports scaling functionality, which can be enabled or disabled.
- Preset Functionality: Allows setting a preset position.
- Offset: Configurable offset values.
- Count Direction: Configurable counting direction (CW/CCW).
- Speed Mode: Configurable speed measurement mode.
- Speed Filter: Configurable filter for speed measurements.
- Limit Switch Enable/Disable: Allows enabling or disabling limit switch functionality.
- Limit Switch Low/High: Configurable low and high limits for the limit switch.
- Baud Rate Options: Supports a wide range of baud rates from 1200 to 256000.
- Node Address (Slave ID): Configurable Modbus slave ID.
Usage Features
The Modbus RTU encoder is designed for ease of use and configuration through the Modbus Poll software.
- Device Connection:
- Connects to a 24VDC power supply.
- Connects to a laptop via an RS485-to-USB converter.
- The manual provides a clear wiring diagram for the Modbus RTU encoder, specifying pin assignments for Power Supply, GND, RS485 A+, RS485 B-, and Signal GND.
- Communication Setup:
- The Modbus Poll software is used for communication.
- Users need to select the correct COM port (e.g., USB Serial Port (COM5)), baud rate (default 19200), data bits (8), parity (Even), and stop bits (1) in the "Connection Setup" dialog.
- The software allows for setting response timeout and delay between polls.
- Register Access:
- The manual details how to read and write to various registers using the Modbus Poll software.
- "Read Holding Registers (4x)" function is used for reading data.
- "Write Multiple Registers (16)" function is used for writing configuration data.
- Register addresses are specified, with a note that protocol addresses (e.g., 40011) need to be reduced by 40001 to get the actual register address (e.g., 10).
- The "Quantity" field specifies the number of continuous registers to read or write.
- Encoder Configuration:
- Position Preset: Users can set a preset position by writing to registers 21 and 22.
- Direction Setting: The counting direction can be configured by writing to register 25.
- ST Resolution Setting: The single-turn resolution can be set by writing to registers 17 and 18.
- Total Resolution Setting: The total resolution can be configured by writing to registers 19 and 20.
- Baud Rate Setting: The communication baud rate can be changed by writing to register 256. The manual provides a mapping of numerical values to specific baud rates (e.g., 5 = 19200).
- Slave ID Setting: The Modbus slave ID (node address) can be changed by writing to register 261.
- Register Description: The manual provides a comprehensive list of registers, including their data names, order (MSB/LSB), attributes (RO for Read Only, RW for Read/Write), and default values. This allows users to understand the function of each register and how to interact with it.
- Examples of Read Only (RO) registers include Position Value, Actual Reverse State, Term Rest State, Physical ST/MT Resolution.
- Examples of Read/Write (RW) registers include Scaling Enabled, ST/MT Resolution, Total Resolution, Preset, Count Direction, Speed Mode, Speed Filter, Limit Switch Enable/Low/High, Baudrate, Number Data, Parity, Stopbits, Comm Update, Node Address, Node Update.
Maintenance Features
The manual primarily focuses on initial setup and configuration rather than ongoing maintenance. However, some aspects can be inferred:
- Firmware Updates: While not explicitly detailed, the presence of "Comm Update (RW)" and "Node Update (RW)" registers (260 and 262 respectively) suggests potential for firmware or configuration updates.
- Troubleshooting: The Modbus Poll software provides error messages (e.g., "Err = 3") which can aid in troubleshooting communication issues. The manual also notes that an error is reported if a queried register is not in use.
- Reconnection after Configuration: For changes to critical communication parameters like Baud Rate or Slave ID, the manual explicitly states to "Power off and reconnect at the new baud rate/Slave ID after setting," indicating a necessary step for changes to take effect and for the device to operate correctly with the new settings. This highlights the importance of proper power cycling after certain configuration changes.