10/23/2012 10:06 AM | |
Joined: 10/7/2005 Last visit: 6/1/2023 Posts: 2966 Rating:
|
Hello andreadbx Even though the 6ES7134-4FB52-0AB0 does offer 0.1ms update time per analogue (or 0.25ms worst case if both channels are used), you won't be able to get values updated this fast in your PLC program for a number of reasons, including: 1.) Backplane transmission time from AI card to IM151-1 (at least ~0.2 ms if you have only one 2ch AI module by itselfin the ET200S rack, see chapter 5 of the IM151-1HF manualfor more) 2.) Profibus update/scan time (depends on baudrate and number OF DP Slaves and their I/O's, but at least another 0.2ms if you only have one ET200S with only one 2ch AI module in it at 1.5Mbps, do a test HWconfig and see Ttr typical in the bus properties). 3.) Program scan time in 314C-2DP CPU. The good news is though that you will most likely always have a new AI value every program scan. The question is though, what do you intend to do or why doyourequiresuch a fast AI (assuming the above update times are not fast enough). I hope this helps and below isa link with additionalinfo Chosing Decentral Peripherie for time critical application |
Cheers |
|
10/28/2012 9:22 PM | |
Joined: 10/7/2005 Last visit: 6/1/2023 Posts: 2966 Rating:
|
Hello andreadbx the CPU refreshes all Inputsof the Process Image before it starts a newOB1 scan. For this it will though use whatever latest Input values are available at the time of the Process Image update as the CPU scan is independent of the Profibus scan which is independent of the I/O station update itself (unless Isochrone mode is used which is though not available in your 314C CPU). Have a look at the Isochrone mode manual for more on this and attached is also a pic from it that describes the update when you use "Unsynchronized processing cycles". Should your Profibus scan be considerably faster than your PLC scan you canget access to "newer" Input valuesby doing peripheral access and theFAQ Where and when do you need peripheral addressing?has more on this. You'd then for example call the Block that handles the "fast" AI's numerous times throughout OB1. Alternatively,put in a cyclic Interrupt OB that is called let's say every 5 ms to improve reaction times. I hope this helps |
Cheers |
|
Follow us on