CM1-C

CM1 Firmware Update History

RT3.14

RT3.14.11

Release date:

New features

  1. Dynamic Position. A host can stream target positions (or speeds) to the motor, and the motor follows them smoothly within its own speed and acceleration limits, landing exactly on the last target. On the CM1-T the target is written through the direct control port (UDP or TCP port 10002, mode 5), Modbus-TCP or EtherNet/IP. On the CM1-C it is sent as short binary frames on the serial port, alongside CML commands. A stream ends on its end flag, after a timeout with no new targets, or with ], the stop input, ) or an alarm. Contours uses Dynamic Position for Live update and Record. Developer documents for the CM1-T and the CM1-C are available from Myostat.

  2. Dynamic Position stream options (mode, speed and acceleration limits, filter) are kept from one stream to the next until a power cycle.

Improvements

  1. An interrupted firmware update no longer leaves the motor unusable. If the power or the connection is lost during an update, the motor starts in the Flash Module, and the update can simply be run again over the usual serial or Ethernet connection.

  2. Circle (@) with a centre point (N): a small error between the motor's position and the circle's start point, up to the in-position window (K55), is now accepted. Before, such a circle could fail with "Circle data is wrong" or move only one axis.

  3. Spline shows (Contours): fast changes no longer cause a small overshoot, and a show ends exactly on its last point. A show that asks for more speed than the motor can give stops with the overspeed alarm.

Bug fixes

  1. Spline memory above D32767 could not be written: the writes were dropped without an error. The whole spline memory, D4096 to D65535, can now be used, and ?108 reports VSPL=3.

  2. Homing with a low home speed (K42 below 20) at K37 = 9, 10, 29, 30 or 100 tripped the overspeed alarm or did not move. K42 now sets the home speed in steps of 100 pulses/s at the K37 resolution, for every K37.

  3. With the mirror coordinate set (K45 = 2 or 3), spline shows ran in the opposite direction to P moves and Px. Shows and the data capture lines now follow K45 and the K37 resolution, as P moves do.

  4. K85 values other than 0 or 1 did not start the banks they name: any value other than 0 started logic bank 1, and no motion bank ever started. K85 now starts the logic bank in its low byte and the motion bank in its high byte. If a motor has K85 set to 2 or more, check that it names the banks you want started at power-up.

  5. Modbus: improved write protection of the motor's EEPROM. EEP1 and EEP2 can be written as before.

  6. A function on a bank command just before ':' or ';' was skipped. U1, U2, U3 and U6 are now applied there, and U5 and U6 can now be used in banks. Don't put U4 or U5 directly before ':' or ';' in a bank: the rest of the bank line is lost.

  7. Writing a variable bound to "PVal" or "PV%" also sent a frame on the motor-to-motor port, which could upset the next motor on a daisy chain.

  8. A command line containing "VAR" was corrupted, which on a daisy chain could also lose the next command.

RT3.14.10

Release date:

New features

  1. V="RTP" and ?106, actual torque. New CML value for the actual motor torque in 0.1% of rated torque (1000 = 100.0% rated); it is signed, negative in the reverse direction. Read it as V="RTP" in logic and program banks, or with the query ?106, which replies RTP.ID=value. It is the same value the CM1-T reports over Ethernet.

  2. V="OTP" and ?107, overload torque. New CML value for the overload torque in 0.1% of the overload alarm level (1000 = 100.0%, the level at which the overload alarm trips); it is never negative. Read it as V="OTP" in logic and program banks, or with the query ?107, which replies OTP.ID=value. K66=37 streams RTP and OTP together, comma separated, at the K67 interval.

  3. V="RND", random number generator. CML variable which returns a pseudo-random number in logic and program banks. Writing a positive number N to the bound V variable sets the range to 0 to N (inclusive); 0 or a negative number gives the full signed 32-bit range, which is the default at power-up. The generator seeds itself, so the sequence is different after every power-up. The range is not saved and must be set again after power-up. Not intended for security use.

  4. U4(x), absolute value. U4 now returns the absolute value of x as an integer, for example V1=U4(V3) with V3=-2 gives V1=2, and it can be used in program banks. The table lookup function that was on U4 has moved to U5 and the previous U5 function has been removed, so check any program that uses U4 or U5. In this release U5 cannot be used inside a program bank.

  5. Support for Contours, Myostat's motion show software: shows made in Contours can be stored in the motor and played back as smooth spline motion.

Improvements

  1. CM1-T: the link between the motor and the CM1-T interface now always runs at 171875 baud, whatever K20 is set to. Before, changing K20 on a CM1-T stopped communication with the interface. K20 can still be written and read back but has no effect on the CM1-T. The CM1-C uses K20 as before.

Bug fixes

  1. Quadrature output (K34=77) starting in the wrong state. If the quadrature output was switched off (K34=0), the motor moved, and the output was switched on again, it could start in the wrong phase, and when the motor then stopped on a transition point the output pulsed continuously. The quadrature state now resets each time K34 is set, transitions stay referenced to position 0 with the K54 offset applied correctly, and the outputs take the correct level as soon as K34 or K33 is changed.

RT3.14.09

Release date:

New features

  1. ?103, running time. New query which returns the time since the motor was last powered up, in seconds, for example UT.1=59 for motor ID 1. The value is approximate.

Improvements

  1. Longer travel when moving off the home sensor. A home search could stop early while the motor was moving off the home sensor, because that part of the search had a fixed travel limit; this affected slow or long-travel axes. The travel limit is removed; the existing 5-minute home search time-out still applies.

Bug fixes

  1. Homing to a sensor with reverse coordinates. With reverse coordinates selected in K45 (for example K45=2) and homing to a sensor (K46=2), only the first home search after power-up worked; later home searches moved in the wrong direction and ignored the sensor. The home and limit sensor inputs now work with both normal and reverse coordinates.

RT3.14.08

Release date:

Bug fixes

  1. Program bank would not start after the motor was freed. If the motor was freed during or before a bank, by an alarm, by loss of drive power or by the ) command, the bank would not start after the motor was enabled again until a stop command (]) had been sent. Banks now start as soon as the motor is enabled again.

  2. Torque limit kept after leaving direct mode. After a move in direct mode (for example torque mode, _MOP=10) and a switch back to CML with _MOP=0, CML moves kept the torque limit of the direct-mode move instead of the M value. The torque limit now returns to the last CML torque (M) as soon as _MOP=0 is set, so direct-mode and CML torque settings no longer affect each other.

  3. Profile mode moves not reaching the target after an alarm. If a profile mode move (_MOP=2, for example a CM1-T move over EtherNet/IP) was interrupted by an alarm, later moves were offset and did not reach their target until the motor was disabled and enabled again. Moves now reach their target once the alarm is reset.

RT3.14.07

Release date:

Bug fixes

  1. CM1-T: H parameters set to 0 at power-up. On rare occasions the H parameters were set to 0 when a CM1-T powered up. The motor now only uses data from the CM1-T interface once the link between them is running normally, and parameter writes over this link are better protected against corrupted data. Use with CM1-T firmware V1.03.12 or later.

RT3.14.06

Release date:  

Bug fixes

  1. Ux=0 intermittently not changing to Ux=8 at end of move. This bug was introduced in RT3.14.04. The in-position status Ux=8 was not set at the end of a move. The message Ux=0 was displayed though the motor was within the in-position tolerance (K55).

RT3.14.05

Release date:  

Bug fixes

  1. Removed latent debug code that could affect serial communication. The messages "_SBM0", "_SBM1" and "_SBM2" were debug messages that were transmitted on a bank execution.

RT3.14.04

Release date:  

Improvements

  1. V="INxR" and V="INxF". CML variables for input edge detection. A logic or program bank can now use a variable set to detect a rising or falling edge on an input. When the variable is read it returns the number of edges since the last read. The variable is available in all CM1-C and CM1-T
    Variable can be set to the following. E.g. V1="IN1R" for INPUT1 rising edge.

    • IN1R → IN1 rising edge

    • IN1F → IN1 falling edge

    • IN2R → IN2 rising edge

    • IN2F → IN2 falling edge

    • IN3R → IN3 rising edge

    • IN3F → IN3 falling edge

    • IN4R → IN4 rising edge

    • IN4F → IN4 falling edge

  2. V="IN". CML variable which returns the combined value of all 4 digital inputs. Read as an integer value in logic and program banks. This is useful when inputs are used as a binary combination to perform multiple functions. Input calculation is as follows:

    • "IN" = (8 x IN4) + (4 x IN3) + (2 x IN2) + (IN1)
      The INMK variable is used to mask the inputs and execute the calculation with or without certain inputs
      The INML variable is available on CM1-C and CM1-T motors.

  3. V="INMK". CML variable used in conjunction with V="IN". This variable masks inputs to be used or not used in the calculation. The variable is set as a digital value but uses the relative bits as a mask. I.e. bit0 = IN1 mask, bit1 = IN2 mask, bit2 = IN3 mask, bit3 = IN4 mask. By default on power up the INMK=15 so all inputs are active in the V="IN" calculation. "INMK" is available on CM1-C and CM1-T motors.
    V="INMK" examples

    • INMK = 12 → IN4 and IN3 only (bit3=IN4=1, bit2=IN3=1, bit1=IN2=0, bit0=IN1=0 → 0b1100 = 0xC = 12d)

    • INMK = 3   → IN2 and IN1 only (bit3=IN4=0, bit2=IN3=0, bit1=IN2=1, bit0=IN1=1 → 0b0011 = 0x3 = 3d)

    • INMK = 11 → IN4, IN2 and IN1 only (bit3=IN4=1, bit2=IN3=0, bit1=IN2=1, bit0=IN1=1 → 0b1011 = 0xB = 11d)

Bug Fixes

  1. V="AO2" not initialised correctly on power up. "AO2" is now initialised correctly and the analog output can be set in a logic or program bank. The analog output is only available on CM1-C motors.

  2. Motor still moves when S=0 on an absolute position move. When S=0 was set during an absolute move the motor would continue to move very slowly. This was due to legacy code that did not allow a value of S=0 during an absolute position move. A value of S=0 is now accepted during an absolute position move which halts the motor. As the motor is not in-position it will return a status of Ux=0 indicating the move is still "running" though there is no physical movement. A stop command is required to put the motor into a complete stopped state (Ux=8).

  3. Home routine won't execute if started directly after an error. Prior to RT3.14.04 a small dummy move was required if an error occurred during a home routine. A home routine can now be executed directly after an error or loss of drive power.

RT3.14.03

Release date:  

Improvements

  1. New CML command to switch off automatic saving of K and H parameters. This is useful in an application where K and/or H parameters are changed during runtime. Repeated changing of parameters will damage the EEPROM. The following commands are now available to be sent over the communication port. There is no ability to call the commands from a logic or program bank

    • _SKH=0 switches off save

    • _SKH=1 switches on save (default on power up)

    • _SKH will query and return the current value

Bug fixes

  1. Quadrature output would stream quadrature output pulses if K34 (digital output option) or K24 (quadrature resolution) changed during runtime. This typically had no affect as the parameters are not changed during runtime. Applications where the parameters are changed during runtime will no longer see a stream of pulse/position when no movement is occurring.

RT3.14.02

Release date:  

Bug fixes:

  1. IN1 and IN4 on CM1-T/E not functioning. Did not affect CM1-C

RT3.14.01

Release date: 

Improvements

  1. Improved startup timing between hardware revision E and revision C when mixed on a daisy-chain network

Compatibility updates

  1. Addition inputs used with the CM1-T inverted

Bug fixes

  1. UART0 (primary communication port) would stop communicating in specific circumstances. The issue was seen to occur on a small number of daisy-chained motors that included a power-up delay. 

  2. Merge motion function could hang the motor if the motor is disabled milliseconds prior to executing a merge.

RT3.14.00

Release date: 

Improvements

  1. High speed communication implemented for use with the CM1-T ethernet module

  2. Additional modes of operation introduced for more direct control of the motor

    1. Profile mode - change target position, speed and acceleration while in motion. 

    2. Torque mode - run a in a torque only mode 

RT3.13

RT3.13.12

Release date: 

Improvements

  1. Improved startup timing between hardware revision E and revision C when mixed on a daisy-chain network

Bug fixes

  1. UART0 (primary communication port) would stop communicating in specific circumstances. The issue was seen to occur on a small number of daisy-chained motors that included a power-up delay. 

RT3.13.10

Release date: 

Bug fixes

  1. The line feed option (K70=1) was inserting an additional line feed in daisy-chain motors.

  2. The Ux=256 pushmode timeout error was not sent on the serial port in a bank. 

RT3.13.09

Release date: 

This is the initial backwards compatible release for RT3 on the CM1 hardware revision E. Please see the attached engineering change notice for information on the change: Engineering change notice (PDF)