×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Limiting the function operation2

## Limiting the function operation

(OP)

Hi, anyone know an idea how to limit this force function that it only works when the the slider is on the way back, in this mechanism?
I tried to use the "IF" function but I couldn't find a solution...
Maybe is some other way to implement this type of force?

Simulation:

Force limit needed - black arrow mark:

Force function:

Force values / slider position:

### RE: Limiting the function operation

(OP)
I wanted to do it like in this example, insert DM (..., ...) instead of VR (..., ...) and then eliminate the force between the new markers added, in the unwanted range of that force

IF( DM(checkmarker1, checkmarker2) : 0 , 0 , AKISPL(DM(MARKER_18, MARKER_19),0, SPLINE_1,0)) or similar...

Sorry for my little knowledge, I am a beginner user of MSC Adams

### RE: Limiting the function operation

No you don't want to use DM in your IF test, you need translational velocity, assuming that all this happens on the X axis

IF( VX(checkmarker1, checkmarker2) : 0 , 0 , AKISPL(DM(MARKER_18, MARKER_19),0, SPLINE_1,0))

So this says if the velocity between those two markers is <=0, F=0

The chances are you might need

IF( VX(checkmarker1, checkmarker2) : AKISPL(DM(MARKER_18, MARKER_19),0, SPLINE_1,0),0,0)

depending on directions

Cheers

Greg Locock

New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?

### RE: Limiting the function operation

(OP)

#### Quote (GregLocock)

I misunderstood this function.
Yesssssss, it's work!

IF( VX(CHECK_MARKER_1, CHECK_MARKER_2) : 0 , 0 , AKISPL(DM(CHECK_MARKER_1, CHECK_MARKER_2), 0, SPLINE_1, 0) )

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!