Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

PACDRIVE - LMC : Encoder reset on touch probe

Machine and Motion Control Forum

Support forum for Machine and Motion Control solutions, including Lexium MC12 and robotics, PacDrive, Modicon PLCs and I/Os, EcoStruxure Machine Expert Twin, … - from design, implementation to troubleshooting and more, by Schneider Electric

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • Machine and Motion Control Forum
  • PACDRIVE - LMC : Encoder reset on touch probe
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
8
FernandoRodrigues
FernandoRodrigues Support
6
Francesco_Begnoni
Francesco_Begnoni Support
5
LeTomas
Lt. Commander LeTomas Lt. Commander
5
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Machine and Motion Control Forum
Solved
AndreaArduini
Ensign AndreaArduini
Ensign

Posted: ‎2023-03-21 08:35 AM

0 Likes
4
1426
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-21 08:35 AM

PACDRIVE - LMC : Encoder reset on touch probe

Good morning, 

 

with a LMC402 I should reset a logical encoder, connected to rotative axis, when a touch probe input rises.

If I call a FC_SetposSingle in a task I'll be late. 

There is a way for connecting the reset to the rise edge of touch probe ?

 

Thanks in advance

Andrea Arduini

Labels
  • Labels:
  • Material Handling
  • PacDrive
  • Tags:
  • english
  • LMC
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Ulrich_Roesch
Crewman Ulrich_Roesch Crewman
Crewman

Posted: ‎2023-03-28 05:14 AM

0 Likes
1
1379
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-28 05:14 AM

As mentioned before, the TouchProbe object latches the position of the configured source independent of the task process.

It is therefore possible to process the latched position in an IEC task - as in this case by calling FC_SetPosSingle. Therefore it is not necessary to start the IEC process by the touch probe.
But if you want to do this anyway, the property 'CaptureOk' of the touch probe object is used to indicate the occurrence of a sensor signal.

 

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 4
Ulrich_Roesch
Crewman Ulrich_Roesch Crewman
Crewman

Posted: ‎2023-03-28 02:10 AM . Last Modified: ‎2023-03-28 02:20 AM

0 Likes
1
1389
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-28 02:10 AM . Last Modified: ‎2023-03-28 02:20 AM

Hello,

The TouchProbe on PacDrive is Hardware related with a high accuracy in latching positions of the attached source. That means if you latch the position by using a TouchProbe and call FC_SetPosSingle() within an IEC task you, the result (latched position which is written with FC_SetPosSingle) is super precise.

But if you simply want to be 'fast' in calling FC_SetPosSingle() after the TouchProbe sonsor signal, you can call FC_SetPosSingle() within an ExternalTriggered Task (Event: RTP_Axis or CamSwitchGroup which allow interval 0f 50µs).

 

BR, Ulrich

 

 

Reply

Link copied. Please paste this link to share this article on your social media post.

AndreaArduini
Ensign AndreaArduini
Ensign

Posted: ‎2023-03-28 03:23 AM

In response to Ulrich_Roesch
0 Likes
0
1384
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-28 03:23 AM

Thank you very much Ulrich,

for better understand the first solution I should create a IEC task configured in that way :

Type : Event

Event : my touchprobe.Edge

and than I add a call to the function FC_SetPosSingle()

 

Is that correct ?

Thanks in advance

Andrea 

 

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

Ulrich_Roesch
Crewman Ulrich_Roesch Crewman
Crewman

Posted: ‎2023-03-28 05:14 AM

0 Likes
1
1380
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-28 05:14 AM

As mentioned before, the TouchProbe object latches the position of the configured source independent of the task process.

It is therefore possible to process the latched position in an IEC task - as in this case by calling FC_SetPosSingle. Therefore it is not necessary to start the IEC process by the touch probe.
But if you want to do this anyway, the property 'CaptureOk' of the touch probe object is used to indicate the occurrence of a sensor signal.

 

Reply

Link copied. Please paste this link to share this article on your social media post.

AndreaArduini
Ensign AndreaArduini
Ensign

Posted: ‎2023-03-28 05:49 AM

In response to Ulrich_Roesch
0 Likes
0
1377
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2023-03-28 05:49 AM

Thanks very kind of you.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of