Home » Festo CMMT with Allen-Bradley PLC over EtherNet/IP

Festo CMMT with Allen-Bradley PLC over EtherNet/IP

2 views
Festo CMMT servo drive and Allen-Bradley PLC architecture over EtherNet/IP

Festo has released application note 100291 (version 1.60, May 2026), a 219-page guide that shows how to integrate CMMT servo drives with an Allen-Bradley PLC over EtherNet/IP. It covers everything from IP addressing to position and velocity control, parameter exchange and restoring full drive configurations from an SD card. The whole approach relies on Add-On Instructions (AOIs) that you import into Studio 5000. This summary walks through what the document includes.

What the application note covers

  • Position control with the PTP_DRIVES_FESTO_EIP AOI (Telegram 111).
  • Single and multi-parameter read and write through MSG instructions.
  • Basic velocity control (Tel001) and advanced velocity control with torque limit (Tel102).
  • Extended Process Data (EPD, Telegram 910).
  • Full drive parameterization with the CMMT_FullParam and CMMT_FullParam_SD AOIs.
  • Record table read and write with the Festo_RecordTable_EIP AOI.

Requirements and communication architecture

The example uses a CMMT drive with firmware V36.12.0, Festo Automation Suite (FAS) V2.11.0.657 or higher, Studio 5000 and the CMMT_EIP_Motion library. The sample hardware is a CMMT-AS-C23A-EP-S1 drive with an EMMEAS-40-S-LV-AS motor and an NEBC-R3G4-ES-1-S-R3G4-ET Ethernet cable.

The architecture combines an Allen-Bradley PLC, an Ethernet switch and a PC running FAS. The PLC controls the drive through the EtherNet/IP interface (port XF1), while the PC parameterizes it through port X18. The note explains how to assign the PLC address over USB or Ethernet and how to set the CMMT address from FAS. Both interfaces must share the same IP address range.

Commissioning the axis in Festo Automation Suite

The guide lists eleven initial setup steps for a linear axis (100 mm stroke at 0.50 m/s) and for a rotary axis (1,000 revolutions at 1,000 rpm). The steps include selecting the drive and motor, then setting the axis type, mounting kit, inertia, limit switches, homing method and software limits. The examples use the “Current Position (37)” homing method.

To integrate the drive with the PLC, set the connection to Telegram (111) and enable control through the fieldbus. You must also click “Store on device” and reinitialize the drive. Otherwise, the changes disappear after a restart.

Scaling factors

The position factor is 10-6 and the velocity factor is 10-3. For example, moving 10 mm means 1,000,000 increments in the PLC, and 1 m/s means 1,000. On a rotary axis, 5 revolutions equal 5,000,000 increments and 100 rpm equals 100,000. Since a DINT tops out at 2,147,483,647, plan the scaling within that range. The AOI base speed (BaseSpeedValue) must match FAS parameter P1.11280701.0.0; otherwise, the displayed speed will be wrong.

Configuration in Studio 5000

The communication module can be the CMMT EDS file or a generic Ethernet module with INT data format. Next, import the AOI from its L5X file and assign the interface tags (DRV_Status and DRV_Control, INT[12] arrays). Use one instance per axis and call it from a continuous task, never from a periodic task. With a generic module, you must write the ConnectionFaulted logic outside the AOI.

The position AOI and its eight modes

The AOI is organized in three areas: hardware interface, control and monitoring. The ModePos tag selects the operating mode:

ModePos Mode Behavior
1 Relative positioning Positive or negative move from the current position; started by an edge on ExecuteMode.
2 Absolute positioning The drive chooses the direction from its current position.
3 Setup mode Constant-speed travel with no target position; not suited to continuous motion.
4 Homing from FAS Uses the method, velocity and accelerations set in Automation Suite.
5 Home to current position Marks the current position as the reference point.
6 Record table Runs one of the records 0 to 127 stored in the drive.
7 Jog Continuous motion with Jog1 and Jog2; values come from the jog tab in FAS.
8 Inching Step-by-step jog; the distance is set in P1.214530.0.0 and P1.214538.0.0.

To enable the axis, the OFF2 and OFF3 bits of ConfigEPos must be TRUE, while AxisError and Lockout must be FALSE. In addition, ModePos must be between 1 and 8, and CancelTraversing and IntermediateStop must be TRUE before you set EnableAxis. Bits 2 and 3 of ConfigEPos turn on the software and hardware limits.

In the positioning modes, an edge on ExecuteMode starts the task and AxisAckSetpoint confirms the command. Then AxisPosOk signals that the target was reached, and AxisSpFixed shows that the axis is standing still. The OverV, OverAcc and OverDec inputs scale velocity, acceleration and deceleration in percent. The AOI also returns detailed status words (EposZSW1 and EposZSW2), drive warning and fault numbers, and its own status code for diagnostics.

Reading and writing parameters

To read or write a parameter, use a CIP Generic MSG instruction. The class is always 401, and the service is “Get Attribute Single” for reads and “Set Attribute Single” for writes. You find the instance and attribute in the PNU list of the drive manual. This logic works with firmware V17.05.0 or higher, although that version needs a custom service for writes. For several parameters at once, the note includes the PTP_DRIVES_PARA_MULTI AOI, with read and write examples.

Velocity control: Telegram 1 and Telegram 102

Velocity mode has two AOIs, and in both the drive closes the velocity loop internally:

  • Tel001_Velocity_Drives_Festo_EIP (basic): controls speed only. It handles enabling, coast stop (OFF2), rapid stop (OFF3), fault reset and the rpm setpoint.
  • Tel102_Velocity_Drives_Festo_EIP (advanced): adds a torque limit that you can change while the motor runs.

Both need the base velocity value and the gear ratio (parameters P1.1242.0.0 and P1.1243.0.0), because the setpoint always refers to the motor. The setpoint can reach twice the base value, and the drive does not exceed that limit. To start, ReadyforOperation must be active, CoastStop and RapidStop must be TRUE, and EnableAxis must be set; then EnableMovement starts the motion. Diagnostics include 16#8401 (drive alarm), 16#8402 (switch-on inhibited) and 16#8600 (communication lost). For a velocity axis, enable the unlimited axis option and leave the software position limits off.

Extended Process Data (EPD)

Telegram 910 exchanges up to 8 parameters, or 32 bytes of I/O, with the drive through instances 110 and 111. The note explains the setup in FAS and in Studio 5000, with either a generic module or the EDS file. The ExtendedProcessData_Festo_EIP AOI supports parameters of up to 32 bits and comes with a 64-bit version. The EPD_Config_Input and EPD_Config_Output inputs define the length of each value, and the AOI diagnoses wrong configurations.

Full parameterization, record table and SD card

  • CMMT_FullParam: generated from FAS (V2.6.0.380 or higher) as an L5X file, it parameterizes a new drive or restores an existing one. The note covers the MSG configuration, the communication path for ControlLogix 5580 and the error codes.
  • Festo_RecordTable_EIP: reads and writes the drive record table with the same type of messages. It requires 64-bit controllers and Studio 5000 V33, and it saves the table with SaveRecordTable.
  • CMMT_FullParam_SD: reads an L5X file from the controller SD card and sends the parameterization to the CMMT through port X18. The xExecute, xBusy, xDone and xError tags report the process, and iPercentageStatus shows the progress. At 100 %, the drive reboots automatically. It requires FAS V2.9.0.719 or higher.

Why it matters for integrators and machine builders

The note saves you from programming the PLC-to-servo communication from scratch: the AOIs already handle the handshake, diagnostics and error management. It is therefore useful for teams that work with Allen-Bradley controllers and want to use Festo CMMT drives. Moreover, the full-parameter AOIs make it easier to copy a drive configuration to another unit or to replace a faulty drive.

For more details, see the official CMMT-AS servo drive page and the CMMT-AS and EMMT-AS servo solution from Festo. On our site, browse the Festo news category, read about the Festo EPRF and EMMH hygienic electric drive, or open the Rockwell Automation downloads and guides.

Related News