Synchronous servomotors for direct drives (86 pages)
Summary of Contents for Kollmorgen RGM
Page 1
® RGM ASCII Programmer's Guide Edition: A, February 2019 Part Number 903-800017-00 Original Documentation For safe and proper use, follow these instructions. Keep them for future reference.
RGM ASCII Programmer's Guide | 1 Table of Contents 1 Table of Contents 1 Table of Contents 2 About This Manual 2.1 Overview and Scope 2.2 Related Documentation 2.3 Product Warnings 3 Introduction 3.1 The Kollmorgen ASCII Interface 3.2 Communication Protocol 4 Command Set 4.1 Command Format...
Page 3
RGM ASCII Programmer's Guide | 1 Table of Contents 4.8.3 Clear Encoder Faults Examples 5 Operating Modes 5.1 Desired State Parameter 5.2 Current Mode 5.2.1 Programmed Current Mode 5.2.2 Parameters 5.2.3 Example 5.3 Velocity Mode 5.3.1 Programmed Velocity Mode 5.3.2 Parameters 5.3.3 Example...
Page 4
RGM ASCII Programmer's Guide | 1 Table of Contents 9.2 Multi-Drop Network Connections 9.2.1 The CAN Status Light and Multi-Drop Connections 10 Error Codes Kollmorgen | kdn.Kollmorgen.com | February 2019...
2.1 Overview and Scope This manual describes Kollmorgen ASCII Interface developed by Kollmorgen. This manual was written for the reader who has a basic knowledge of motion control theory and operation, Kollmorgen drives, and Kollmorgen RGM WorkBench software. 2.2 Related Documentation...
(except for a reset command). The baud rate of the drive will always be set to 9600 on power up or after a reset. Kollmorgen drives are designed to identify a break condition on the serial line and synchronize its communication interface based on it.
RGM ASCII Programmer's Guide | 4 Command Set 4.1 Command Format The general syntax of a Kollmorgen ASCII message is: [node ID][<.>axis letter] [command code] [command specific parameters] <CR> The specific syntax for each command is described in the remaining sections of this chapter.
RGM ASCII Programmer's Guide | 4 Command Set 4.2 Set Command (s) The s command is used to set the value of a drive parameter in RAM or flash. 4.2.1 Set Syntax [node ID][<.>axis letter] s [memory bank][parameter ID] [value] <CR>...
RGM ASCII Programmer's Guide | 4 Command Set 4.3 Get Command (g) The g command is used to read the value of a drive parameter from RAM or flash. 4.3.1 Get Syntax [node ID][<.>axis letter] g [memory bank][parameter ID][optional <x>] <CR>...
RGM ASCII Programmer's Guide | 4 Command Set 4.4 Copy Command (c) The c command is used to copy the value of a parameter from one memory bank to another (RAM to flash or flash to RAM). 4.4.1 Copy Syntax [node ID][<.>axis letter] c [memory bank][parameter ID] <CR>...
RGM ASCII Programmer's Guide | 4 Command Set 4.5 Reset Drive Command (r) The r command is used to reset the drive. The command requires no additional parameters. The drive baud rate is set to 9600 when the drive restarts. The drive does not respond to this message.
RGM ASCII Programmer's Guide | 4 Command Set 4.6 Trajectory Generator Command (t) The t command controls the trajectory generator. 4.6.1 Trajectory Generator Syntax 1. The original syntax for the t command is: [node ID][<.>axis letter] t [command code] <CR>...
RGM ASCII Programmer's Guide | 4 Command Set 4.7 Register Read and Write Command (i) The i command is used to read and write one of the CVM program’s 32 registers. 4.7.1 Write Syntax [node ID] i <r#> [value] <CR>...
RGM ASCII Programmer's Guide | 4 Command Set 4.8 Clear Encoder Faults Command This command will clear the faults being reported by the encoder. When received by the drive, the drive will attept to send the clear faults command to the encoder. ...
Value State Disabled. If the desired sate is saved to flash as 0, then RGM WorkBench assumes the drive has not been programmed, and when CME connects to the drive, the Basic Setup screen will be displayed. The current loop is driven by the programmed current value.
RGM ASCII Programmer's Guide | 5 Operating Modes 5.2 Current Mode 5.2.1 Programmed Current Mode The Programmed Current mode sets the output of the drive at a programmed current level. When the drive is enabled in this mode, or when the programmed current level is changed, the output current ramps to the new level at the programmed rate.
RGM ASCII Programmer's Guide | 5 Operating Modes 5.3 Velocity Mode 5.3.1 Programmed Velocity Mode The Programmed Velocity Mode sets the output of the drive to a programmed motor velocity. When the drive is enabled in this mode, or when the programmed velocity is changed, the motor velocity will ramp to the new level at the programmed rate.
RGM ASCII Programmer's Guide | 5 Operating Modes 5.4 Position Mode 5.4.1 Updating Trajectory Parameters in Position Modes When the drive enters a position mode, the trajectory parameters (velocity, acceleration and deceleration) are copied into the trajectory generator. To change any of them after the drive is in a position mode, send the new value to the appropriate parameter and then send a t 1 command to initiate a trajectory update.
RGM ASCII Programmer's Guide | 5 Operating Modes 5.4.2.2 Example The controller sets profile parameters, executes an absolute trapezoidal move to position 40,000 counts, monitors for move completion, and then executes a relative move of 10,000 counts using the same profile parameters.
RGM ASCII Programmer's Guide | 5 Operating Modes 5.4.3 Homing Mode Homing sequences can be performed using the t command when the drive is in Programmed Position Mode (servo or stepper). In most applications the homing sequence is configured using RGMWorkBench and not changed during operation.
RGM ASCII Programmer's Guide | 5 Operating Modes 5.4.4 Homing Methods For a complete description of each homing method, refer to the Appendix on Homing Methods in the RGMWorkBench User Guide. Method Start Direction Value Set Current Position as Home...
RGM ASCII Programmer's Guide | 6 Operation 6.1 Setting the Baud Rate Parameter 0x90 (RAM only) controls the drive’s serial port baud rate. To change the baud rate, write the new value to 0x90. For instance, to change the value to 19200 send: s r0x90 19200. The drive will respond with an “ok”...
RGM ASCII Programmer's Guide | 6 Operation 6.2 Setting Limits and Gains This section describes the parameters used to set control loop limits and gains. 6.2.1 Current Loop Limits Parameters Parameter ID Bank Description 0x21 Peak current limit. Units: 0.01 A.
RGM ASCII Programmer's Guide | 6 Operation 6.2.6 Filter Parameters Parameter Bank Description 0x6b Velocity loop command filter coefficients. 0x5f Velocity loop output filter coefficients. 0x150 Second chained biquad filter on the output of the velocity loop (only available on Plus Products).
6.2.7 Velocity Loops Filters Usage Notes The velocity loop command and output filters should be set up using RGM WORKBENCH. If it is required that the filters be changed during operation, the following procedure should be used to determine the new filter coefficients.
RGM ASCII Programmer's Guide | 6 Operation 6.3 Monitoring Status 6.3.1 Event Status Register (0xa0) The status register parameter (0xa0) provides drive status information. 0xa0 is read-only, and available in RAM only. Bit mapped values described below: Bits Description Short circuit detected.
RGM ASCII Programmer's Guide | 6 Operation Bits Description Phase not yet initialized. If the drive is phasing with no Halls, this bit is set until the drive has ini- tialized its phase. Command fault. PWM or other command signal not present.
RGM ASCII Programmer's Guide | 6 Operation 6.3.3 Latching Fault Status Register (0xa4) The fault register parameter (0xa4) shows latching faults that have occurred. 0xa4 is available in RAM only. Bit mapped values described below: Bit Fault Description Data flash CRC failure. This fault is considered fatal and cannot be cleared.
RGM ASCII Programmer's Guide | 6 Operation 6.4 Reading Run Time Parameters This section describes the parameters used to monitor run time conditions. Parameters listed with * are read only. 6.4.1 Current Loop Parameters Parameter ID Bank Description 0x15 Commanded current. Units: 0.01 A.
RGM ASCII Programmer's Guide | 7 Quick Reference to the Parameters 7 Quick Reference to the Parameters 7.1 Parameters by Function Programmed Current Mode Parameters 0x02 Programmed current value. Units: 0.01 A. 0x6a Current ramp limit. Units: mA/second. Programmed Velocity Mode Parameters 0x2f Programmed velocity command.
Page 37
RGM ASCII Programmer's Guide | 7 Quick Reference to the Parameters Miscellaneous System Parameters 0x1d Analog input voltage. Units: mV. 0x1b Sin input voltage. 0x1c Cos input voltage. 0x1e Bus voltage. High voltage A/D reading. Units: 100 mV. 0x20 Drive temperature. Units: degrees C.
RGM ASCII Programmer's Guide | 8 RGM WorkBench ASCII Command Line Tool 8 RGM WorkBench ASCII Command Line Tool The RGM WorkBench ASCII Command Line tool lets users send individual ASCII commands to drives. 1. From the RGM WORKBENCH Main screen, select Tools->ASCII Command Line from the menu bar to open the ASCII Command Line screen: 2.
RGM ASCII Programmer's Guide | 9 Serial and Multi-Drop Connection 9 Serial and Multi-Drop Connection Instructions for hooking up a single-axis connection and a multi-drop network appear below. 9.1 Single-Axis Connections 9.2 Multi-Drop Network Connections Kollmorgen | kdn.Kollmorgen.com | February 2019...
RGM ASCII Programmer's Guide | 9 Serial and Multi-Drop Connection 9.1 Single-Axis Connections For RS-232 serial bus control of a single axis, set the CAN node address of that axis to zero (0). Note that if the CAN node address is switched to zero after power-up, the drive must be reset or power cycled to make the new address setting take effect.
RGM ASCII Programmer's Guide | 10 Error Codes 10 Error Codes Code Meaning Too much data passed with command Unknown command code Not enough data was supplied with the command Too much data was supplied with the command Unknown parameter ID...
Page 42
About Kollmorgen Kollmorgen is a leading provider of motion systems and components for machine builders. Through world-class knowledge in motion, industry-leading quality and deep expertise in linking and integrating standard and custom products, Kollmorgen delivers breakthrough solutions that are unmatched in performance, reliability and ease- of-use, giving machine builders an irrefutable marketplace advantage.
Need help?
Do you have a question about the RGM and is the answer not in the manual?
Questions and answers