cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Retain the values of IO after a download

AndroidzZ
New Contributor

Retain the values of IO after a download

Hello,

I was wondering if it is possible to retain the values of the ctrlX IO modules. When ever I do a download of my PLC program the IO of the modules (in this case the XI211116 module) are resetted. I would like to keep the values before the download also during and after the download. is this possible?

Kind regards

3 REPLIES 3
CodeShepherd
Community Moderator

Re: Retain the values of IO after a download

Could you tell us some more about your usecase why and when do you need such function? At the moment there is no solutions for keeping the IO output values alive over the complete download cycle. You would need to use the online change for that.

As a workaround you could use PLC system events to save your actual IO data to a retain variable e.g. PrepareStop and then use another system event e.g. PrepareStart to restore it. Beware that here a short time with IOs getting to FALSE cannot be avoided.

ctrlX PLC Engineering system eventsctrlX PLC Engineering system events

Please also beware that there is a function called substitute for keeping IO values in actual state when fieldbus goes down to INIT. This is available for the S20-DO, but not for ctrlX IO XI2... (only fix fallback value). Substitute is also available for analog outputs S20 / ctrlX IO. See S20 documentation here.

 

AndroidzZ
New Contributor

Re: Retain the values of IO after a download

Hi,

This would be of interest to us in the test phase of a project. This is because we have a lot of Electrolysers(ELs) and other devices hanging behind a relay. This relay has to be controlled by means of the IO cards. During the testing of the ELs, the PLC project has to be tested/adjusted several times which means that all ELs go off and then have to be restarted. This is time consuming and does not fall under desired use of the ELs.

I am looking in the documentiation of the ctrlX IO but i couldn't find anything regarding substitute?

CodeShepherd
Community Moderator

Re: Retain the values of IO after a download

It is only available for outputs and the documentation is still in preparation. Sorry for the misunderstanding, I corrected my post.

I also talked to our R&D and our PLC supplier and am afraid to say that making IOs persistent is not possible and not planned to be.

Is there a reason why online change is not used for your test cases? Like mentioned above this does not have interference with the IOs.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist