HowTo configure limit switch inputs on a X20SM1444-1 in mappMotion

Hello,

for a customer use-case there was the goal to operate the X20SM1444-1 module encoderless and use the 2 digital inputs as limit swiches.

A helpful documentation for that topic can be found here:

So from the module side having 2 digital inputs in function model “Standard” / “MotionConfiguration” should be possible. How that will work in the mappMotion X20SM1444-1 configuration, will get explained below.

For mappMotion there exists following documentation section which is the starting point:

Following that documentation section, a configuration where Digital input 3 (R+ pin) can be used as e.g. positive limit switch, is found:

For the negative limit switch following needs to be considered:
Since it is not possible to link the R- pin to the limit switch configuration provided by mappMotion, since it is directly linked to the Trigger 1 configuration, there is following other solution. Trigger 1 is configured in the mappMotion stepper configuration as “Digital in Trigger 1”. That trigger status can be evaluated via the I/O mapping and that variable / datapoint then can be used as negative limit switch. By doing so, also the 2nd digital input can be used as limit switch.

4 Likes

thanks for sharing :slight_smile: