Part Number: C2000-DIGITAL-CONTROL-LIBRARY
Hi,
I saw below sentence at DCL user's guide about disabling interrupts during parameter update and want to learn it further.
"The first such sub-structure contains a Shadow Parameter Set (SPS), which the user loads prior to executing a parameter update sequence. The update sequence performs a safe copy of the SPS parameters into the main controller structure by disabling interrupts before the copy sequence and re-enabling them afterwards. This ensures the controller never runs with a partially updated parameter set, and allows controller parameters to be updated without disturbing the control loop."
1) Which function does disable interrupt and where is it written in software? Can you show me related lines?
2) Does this disabling feauture disable all of the interrupts or some of them? Can you provide more information?
3) How many system cycles does my interrupts gets disabled?
4) I will tune my PID on system tests, therefore, I need my interrupts continue during parameter update. Can I disable this feature?
Thanks in advance.