Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version V3.3

...

Protocol

Port #

# TCP

# UDP

Description

CML1000111

Protocol used by the standard motor. Program the motor to run from IO, etc.

Direct Control Port1000211

Directly control the motor in a number of modes such as position, speed and torque

  • The CM1-T Library can be used with the Direct Control port 
Modbus Modbus- TCP50210

Modbus access to all motor registers including CML and Direct Control.

  • The CM1-T Library can be used with the Modbus TCP port
Motor Information Port3071801
  1. Query the motors configuration (Network configuration, serial number, etc)
  2. QeuryQuery/Stream the motors information (status, position, speed, etc)
EtherNet/IP44818
2222
2
0

1
1

EtherNet/IP CIP
EtherNet/IP IO

  • The CM1-T Library can be used with the EtherNet/IP port

This section focus on the Direct Control Port and the Motor Information port. For information on the other protocols go to their specific section.

...

  • TCP/IP or UDP
  • Port 10002
  • Length = 21 28 bytes

...

Data

ByteNameValueDescription
0B0 DataAny 8 bit dataThis value will be echoed on the response
1Reserved0x00Ignored (N/A)
2Process Byte(1)0x01
0x00
Process the received data
Do not process the received data
3Command ID0xF0Required to indicate the type of command received

(1) The process byte value 0 can be used if the motor needs to be queried for data but no update is required

Data Packet

Header81112131415161718192021
RegisterSize/TypeByteRegisterDescription
0-3TargetPosition

As described above

DINT4-7TargetPositionFinal target position
4-7TargetSpeedDINTMaximum speedtargetspeed
8-9TargetTorqueINTMaximum torque
10-11TargetAccelertionTargetAccelerationINTAcceleration (used when accelerating to target speed)
12-13TargetDecelerationINTDeceleration  (used when stopping)
14-15ControlwordINTControl the motor operation
16ModeOfOperationSINTSet the required mode of operation
17DigitalOUTSINTSet the 2 digital outputs. Requires K34=44.

Send Data Packet

This is the data sent by the motor

  • TCP/IP or UDP
  • Port 10002
  • Length = 32 bytes

4-Byte Header Description

...

No error
Error in received packet. This is NOT a motor error

...

18-19WriteAddress1INTAddress of the motor register to write to
20-23WriteValue1DINTValue to be written to the motor register
24-25ReadAddress1INTAddress of the motor register to read
26-27PADINT16-bit padding not used

Send Data Packet

This is the data sent by the motor

  • TCP/IP or UDP
  • Port 10002
  • Length = 36 bytes

Data

(1) The process byte value 0 can be used if the motor needs to be queried for data but no update is required

...

Header81112152829Reserved-30
ByteRegister
Description
0-3us50CounterSee aboveDINT4-7CPUTimeCPU clock time in 50us counts
4-7ActualPositionDINTThe actual position of the motor in encoder counts
8-11MotionTargetActualTargetPositionDINTThe actual instantaneous position the motor is currently moving to.
12-15ActualSpeedDINTActual speed of the motor in encoder counts/s
16-17MotorStatusINTThe motors status (error, homing, in position, etc)
18-19PercentActualCurrentActualRatedCurrentINTPercentage (0.1%) of rated current. 1000 = rated, 1100 = peak.
20-21PercentOverloadTorqueActualOverloadTorqueINTPercentage (0.1%) of overload torque.
22-23AnalogININT10 bit analog input value (0-1023)
24DigitalINDigital IN status. B0-B3 = IN1-IN425TemperatureDCVoltageDrive temperature in ºCINT26-27DCVoltage24V DC bus voltage in 0.1V
26DigitalINDigitalOUTSINTDigital OUT IN status. B0-B1 B3 = OUT1IN1-OUT2IN4
27TemperatureSINTDrive temperature in ºC
28ModeOfOperationDisplaySINTIndicates the mode of operation currently set
29ErrorCodeSINTError code on communication error
30-31ReadAddress1INTAddress of the motor register for ReadValue1
32-35ReadValue1DINTThe value in the motor register displayed in ReadAddress1ActualSpeedActual speed of the motor in encoder counts/s

Motor Information Port 
Anchor
Motor Information Port
Motor Information Port

...