Machine Automation Forum
A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-03-21 08:35 AM
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
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
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.