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

The following examples demonstrate and show how to use the CM1-T on a few different PLC platforms. All examples include application source code so they can be further explored.

Codesys™

EtherNet/IP

Codesys Control Win PLC controlling a CM1-T using EtherNet/IP and the CM1T library

Image Added

Codesys Project

CM1-T library

Modbus TCP

Codesys Control Win PLC controlling a CM1-T using Modbus TCP and the CM1T library

Image Added

Codesys Project

CM1-T library

TCP/IP

Codesys Control Win PLC controlling a CM1-T using TCP/IP and the CM1T library

Image Added

Codesys Project

CM1-T library


Schneider EcoStruxure Machine Expert™

EtherNet/IP - CM1-T connected to Schneider M241 Series PLC using EtherNet/IP

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=TMNibrxGp2Y
height360

This demonstration and example video shows how to connect a CM1-T Cool Muscle motor to a Schneider PLC over EtherNet/IP. The video further demonstrates using the CM1-T library to control and monitor the motor with standard PLCopen (MC) function blocks. The demonstration walks you through the following steps:

  • Starting a Machine Expert project
  • Adding the CM1-T EtherNet/IP device to the Device Repository
  • Adding the CM1-T IEC 61131-3 PLCopen Motion Control library to the Library Repository
  • Adding the Industrial Ethernet Manager Device which in this instance acts as the EtherNet/IP scanner
  • Adding an EtherNet/IP Remote Adapter (CM1-T)
  • Mapping the adapter remote IO to the CM1-T library instance
  • Calling multiple library functions to run and control the CM1-T through visualizations.

Machine Expert Source Code

Library Files

The CM1-T device and CM1-T library are required. The files can be downloaded here:

Modbus TCP

...

- CM1-T

...

connected to Schneider M241 Series PLC using Modbus TCP

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=DwP_ZrjOeQs
height360

This demonstration and example video shows how to connect a CM1-T Cool Muscle motor to a Schneider PLC using Modbus TCP. The video further demonstrates using the CM1-T library to control and monitor the motor with standard PLCopen (MC) function blocks. The demonstration walks you through the following steps

  • Starting a Machine Expert project
  • Adding the CM1-T IEC 61131-3 PLCopen Motion Control library to the Library Repository
  • Adding the Industrial Ethernet Manager Device which in this instance acts as the Modbus TCP Master
  • Adding a Generic Modbus TCP Slave to connect to the CM1-T as a Modbus Slave 
  • Creating and setting up the Modbus channels with Read/Write Multiple Registers (Function Code 23)
  • Mapping the Modbus channel data to the CM1-T variable instance
  • Calling multiple library functions to run and control the CM1-T through visualizations.

Machine Expert Source Code

Library Files

The CM1-T device and CM1-T library are required. The files can be downloaded here:

...