EcoStruxure Automation Expert / IEC 61499 Forum
Schneider Electric support forum to acquire and share knowledge about EcoStruxure Automation Expert and IEC 61499 standard for distributed control systems.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-18 12:32 AM
Hi experts,
I'm new to PLC programming so I need your help..
Now I have one M251 dPAC, DI, DO and AI module each. So I want to know analog input sampling rate in PLC. AI module's sampling rate is 1ms (It seems not to be changed) and TM3 busCycleTime is 50ms. Analog input type is set to VTQREAL type, I can watch analog value change by time value.
When I set busCycleTime to 50ms, It seems like analog value changed about 250ms cycle. And When I set busCycleTime to 200ms, It seems like analog value changed about 1s cycle. Why analog input value updates 5 times longer than busCycleTime? I can't understand this..
Please anyone explain this and provide any documents or references about this.
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-02-21 11:05 PM
Hi Kak,
1)The frequency of the modulo event is at a maximum 1 every 5ms.
2)The occurrence every 5ms may be related to the conversion time of the AI module, as this time interval might be necessary for the module to process the signal. This relationship could be a factor in ensuring accurate and timely data acquisition.
3)Yes, the AI Module that you are using has having 1ms sampling rate, we can't change it.
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-02-19 04:17 AM
Hi Kak,
Regarding the bus cycle time
You can adjust the sampling rate of the AI by accessing the AI module properties and switching the type from "Not used" to your desired parameter (e.g., voltage or current). This action will reveal a drop-down list, allowing you to set the sampling rate to either 1 ms or 10 ms.
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-02-21 07:32 AM
Thank you for your answer, @mohamedriswan
But I still can't understand it. What is the maximum frequency of the modulo event? And why is that occuring every 5ms? Is that related to conversion time of AI module? Can you tell me more detail?
And about AI module's sampling rate, maybe TM3AI2H module I'm using can't change sampling rate. Or maybe I'm missing something.
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-02-21 11:05 PM
Hi Kak,
1)The frequency of the modulo event is at a maximum 1 every 5ms.
2)The occurrence every 5ms may be related to the conversion time of the AI module, as this time interval might be necessary for the module to process the signal. This relationship could be a factor in ensuring accurate and timely data acquisition.
3)Yes, the AI Module that you are using has having 1ms sampling rate, we can't change it.
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.