<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts by gilad</title><link href="https://forge.codesys.com/u/gilad/" rel="alternate"></link><link href="https://forge.codesys.com/u/gilad/profile/feed.atom" rel="self"></link><id>https://forge.codesys.com/u/gilad/</id><updated>2026-06-24T16:36:36Z</updated><subtitle>Recent posts by gilad</subtitle><entry><title>CODESYS SoftMotion Generic DSP402 on WAGO PFC200 + Festo CMMT-AS: MC_Power stays Busy, Controlword remains 0</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/2b57aa3836/?limit=25#c070" rel="alternate"></link><published>2026-06-24T16:36:36Z</published><updated>2026-06-24T16:36:36Z</updated><author><name>gilad</name><uri>https://forge.codesys.com/u/gilad/</uri></author><id>https://forge.codesys.com5c0734b5b466f1f18b58f24b0bae210845b8e526</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to connect a Festo CMMT-AS-C4-3A-MP-S1 servo drive to a WAGO PFC200 (750-8210) using EtherCAT and CODESYS SoftMotion.&lt;/p&gt;
&lt;h3 id="hardware"&gt;Hardware&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;PLC: WAGO PFC200 750-8210&lt;/li&gt;
&lt;li&gt;Drive: Festo CMMT-AS-C4-3A-MP-S1&lt;/li&gt;
&lt;li&gt;Communication: EtherCAT&lt;/li&gt;
&lt;li&gt;CODESYS version: Device description version 6.3.1.1&lt;/li&gt;
&lt;li&gt;Drive firmware: 36.10.3&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="current-status"&gt;Current Status&lt;/h3&gt;
&lt;p&gt;EtherCAT communication is working correctly:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;EtherCAT master = Running&lt;/li&gt;
&lt;li&gt;Drive detected and operational&lt;/li&gt;
&lt;li&gt;PDO input and output mapping is active&lt;/li&gt;
&lt;li&gt;Statusword, position and velocity are updating correctly&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Current PDO mapping:&lt;/p&gt;
&lt;p&gt;Outputs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;6040 Controlword -&amp;gt; %QW0&lt;/li&gt;
&lt;li&gt;6060 Modes of operation -&amp;gt; %QB2&lt;/li&gt;
&lt;li&gt;607A Target position -&amp;gt; %QD1&lt;/li&gt;
&lt;li&gt;60FF Target velocity -&amp;gt; %QD3&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Inputs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;6041 Statusword -&amp;gt; %IW2&lt;/li&gt;
&lt;li&gt;6061 Modes of operation display -&amp;gt; %IB6&lt;/li&gt;
&lt;li&gt;6064 Position actual value -&amp;gt; %ID2&lt;/li&gt;
&lt;li&gt;606C Velocity actual value -&amp;gt; %ID3&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="softmotion-axis"&gt;SoftMotion Axis&lt;/h3&gt;
&lt;p&gt;I added a SoftMotion CiA402 axis under the EtherCAT slave:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Axis type: SM_Drive_GenericDSP402&lt;/li&gt;
&lt;li&gt;Axis communication state: operational (100)&lt;/li&gt;
&lt;li&gt;No SoftMotion mapping errors anymore&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="problem"&gt;Problem&lt;/h3&gt;
&lt;p&gt;MC_Power is executed with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Enable = TRUE&lt;/li&gt;
&lt;li&gt;bRegulatorOn = TRUE&lt;/li&gt;
&lt;li&gt;bDriveStart = TRUE&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;but:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Status = FALSE&lt;/li&gt;
&lt;li&gt;Busy = TRUE&lt;/li&gt;
&lt;li&gt;Error = FALSE&lt;/li&gt;
&lt;li&gt;ErrorID = SMC_NO_ERROR&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The axis remains in:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SMC_AXIS_STATE.power_off&lt;/li&gt;
&lt;li&gt;DSP402 state = SWITCH_ON_DISABLED&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The most important observation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Statusword = 32784 (0x8010)&lt;/li&gt;
&lt;li&gt;Controlword (%QW0) remains 0 all the time&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;SoftMotion never writes 6, 7, or 15 to the Controlword.&lt;/p&gt;
&lt;h3 id="additional-information"&gt;Additional Information&lt;/h3&gt;
&lt;p&gt;The axis status page reports:&lt;/p&gt;
&lt;p&gt;"The license is missing or invalid. The PLC runs in demo mode."&lt;/p&gt;
&lt;p&gt;I am not sure whether:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The missing SoftMotion license prevents Controlword generation completely.&lt;/li&gt;
&lt;li&gt;The axis is still not correctly connected to the EtherCAT slave despite operational communication.&lt;/li&gt;
&lt;li&gt;There is an additional CiA402 configuration step required for the Festo CMMT-AS drive.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Has anyone successfully used a Festo CMMT-AS MP drive with CODESYS SoftMotion Generic DSP402 on a WAGO PFC200?&lt;/p&gt;
&lt;p&gt;Any suggestions on what should be checked next would be greatly appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>