Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

Change management software

Change management software

aFouraker
Occasional Contributor

On my plant floor I would like to periodically monitor my various MLC/HMI systems and determine if a change has been made to the logic, motion, parameters, screens, etc. I would then like to backup/archive any relevant changes and store them on my server so that I have a central location for all of the machine code, parameters, etc. and can use this for my internal support needs. 

Is there a way to detect and backup this data in an automatic way? 

4 REPLIES 4

Thoomas
Community Moderator
Community Moderator

Detect sounds almost impossible to me ...  Backup could be (partly) possible, under some conditions ... 

@SchneJoe : Could you answer this question, please?

SchneJoe
Established Member

Hello @aFouraker,

I want to share some thoughts with you:

1) Parameter: You could monitor changes of paramter via the checksum functionality. See A-0-0012, C-0-0112 and S-0-0326. A backup could be executed in the PLC or via MLPI.

2) PLC Code: I think you could monitor changes with checking the diagnostic logbook. The messages should be in A03** range.
Another possibility would be checking the file date of the bootproject on the OEM partition with FTP or SFTP.
But you need to download the sourcecode anyhow. You could activate automatic download in the IndraWorks Project, or you need to download a new archive manually after every change. I think the archive could be monitored and downloaded via FTP/STFP, but for the automatic source download I am not sure. I think you can only use it, when you upload it from the MLC with IndraWorks. Therefore you could create an image of the XM controller with FirstTouch, but I am not sure how to do this in an automated way. I don't know if MLPI could handle this.

I hope this gives you some ideas.
Best regards, Jörg

FYI: @Thoomas 

aFouraker
Occasional Contributor

@SchneJoe, thank you for the recommendation. MLPI seems like a good option for monitoring. However, some of these systems are legacy and do not have the capability to download source code. Is there a list of essential files that could be downloaded when a change occurs that could at least be used to get a system backup and running? The use case I imagine is someone making an undocumented change and then a system failure occurs requiring the systme to be restored. 

SchneJoe
Established Member

@aFouraker, when you focus on PLC code, you can save the files on the OEM partition (OEM\ProjectData\PLC). If you restore these files and reboot the control, the original PLC code should run again.

If you use persistent data in the PLC, it is getting a little more complicated. Please check the documentation about C-0-1001 and C-0-1002. With these commands you can save and restore persistent data (PLC variables and C-/A-Parameter) to a file (\OEM\ProjectData\MLC_NVRAM.bak). But some of the parameters are not included in this file. They are stored in parameterfiles in \OEM\ProjectData\PAR.

Following scenario could be possible:
- check if bootproject has changed (/OEM/ProjectData/PLC/Application.app)
- stop plc
- switch to P2
- restore plc-, parameter- and NVRAM files
- excute C-0-1001
- reboot control

I didn't try this yet. So please check it carefully before implementing this at a customer machine.

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