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: 2024-09-24 01:39 AM
Hello everyone, I want to ask if I use a function block to read the modbus and use the EN input to activate that Function block to read that register. In case I have 20 devices, but the response time is slow, do I need to hold that EN input long enough to read back or just trigger it once like pulse type is enough
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: 2024-09-24 01:52 AM
You need to call the function in the background task. If this function need a long time to proceed, the whole background task need this time. Regarding to this point. A change of the en input is only possible in the next task, and that is when the FC is finished.
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: 2024-09-24 01:52 AM
You need to call the function in the background task. If this function need a long time to proceed, the whole background task need this time. Regarding to this point. A change of the en input is only possible in the next task, and that is when the FC is finished.
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: 2024-09-24 02:52 AM
Thank you very much
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: 2024-09-24 03:33 AM
Hi Bastian_Schmitz
Can i ask one more. how do i configure polling time for modbus using function block
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: 2024-09-25 12:34 AM
Hi,
in case of messages with a polling time, I would consider to manage them from Configuration perspective.
In terms of Polling time for messages defined in background, I would implement them using a TON which will trigger the message send and the TON reset
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: 2024-09-26 08:19 PM
Thanks You Verry Much
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.