Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ByteNameDescription
0Data echoEcho the data sent in B0 of the request
1-2Counter ValueEach response increments the counter value. A query resets the counter.
30xF5 - Command IDResponse command ID is 0xF5
4-7CPUTimeCPU clock time in 50us counts
8-11ActualPositionThe actual position of the motor in encoder counts
12-15ActualTargetPositionThe actual instantaneous position the motor is currently moving to.
16-17MotorStatusThe motors status (error, homing, in position, etc)
18-19ActualRatedCurrentPercentage (0.1%) of rated current. 1000 = rated, 1100 = peak.
20-21ActualOverloadTorquePercentage (0.1%) of overload torque.
22-23AnalogIN10 bit analog input value (0-1023)
24DigitalINDigital IN status. B0-B3 = IN1-IN4
25TemperatureDrive temperature in ºC
26-27DCVoltage24V DC bus voltage in 0.1V
28DigitalOUTDigital OUT status. B0-B1 = OUT1-OUT2
29Reserved-
30ModeOfOperationDisplayIndicates the mode of operation currently set
31ActualSpeedActual speed of the motor in encoder counts/s

Example Packets

The following example uses Packet Sender to execute some direct moves, query configuration and query information.

NameSend Data Bytes
Direct - Run to 000 00 01 f0 00 00 00 00 64 00 00 00 04 4C 64 00 64 00 01 03 00
Direct - Run to 100000 00 01 f0 E8 03 00 00 64 00 00 00 04 4C 64 00 64 00 01 03 00
Query Config00 00 00 f6
Query Info00 00 00 f4
Query Info 1s00 e8 03 f4
  • Direct - Run uses a speed = 100, acceleration = 100, deceleration = 1000 and Torque = 1100.

The image below shows Packet Sender with the response to Query Info

Image Added

The Packet Sender database for the above example can downlaoded here - CM1-T Example.ini