Developer Portal Community

    We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Write CSV-File with CgAddon

    Write CSV-File with CgAddon

    THappel
    New Poster

    Hello,

    i tried writing Results of CG-Measurement into a CSV-File with the CgAddon V2.1.

    In CPS you can configure CSV as DataManagement, but the ParCfg code will not generate because it is missing from the StartupParams.otd.

    Writing the ParCfg Parameters myself and running the chain the PLC goes into exception when writing the data.

    See attached files for CPS config, plc callstack and StartupParams.

    7 REPLIES 7

    Unfortunately, even in the current version (download today) there is still bug in Cg-Addon. The same errors can be observed in the Cm-Addon.
    I have created a support ticket for this directly.

    nexidator
    Community Moderator
    Community Moderator

    Which error do you mean? The bug that was originally reported (missing lines in the PLC export code) has been fixed. It doesn't exist in the CmAddon, either. If you are talking about something else, it would be good to tell us what you mean.

    I thought not to write it here and in the support ticket section, but if you ask.

    I use in my project the Cg-Addon V2.1.30 and Cm-Addon V1.1.4.0 both with CSV-Export. Last download from today (04.08.22). Here I noticed some bugs

    I try to describe it for the Cm-Addon.

    In CPS/Parameter/Common you can enter LineNo, StationNo etc., but it is different between Cm- and Cg-Addon (Picture 1 and Picture 2). In PLC/ParCfg you can see that there is the possibility to set a reference (picture 3).

    The CSV file contains missing and wrong data. Here is a section of my CSV file (picture 4)

    Header: I have to enter the reference myself if I want to have the line number, station number etc. in the CSV export. Refers to the error described above.

    Section Cm/Cmk: Actually CheckType.LOWER is ok.GOOD if >1.67 but the values are not entered correctly like this. UpLimit and Set value are from my last measurement.

    Section Values: I think the same values as for Cm/Cmk have been used here, but this is not correct. LoLimit is wrong, Unit is missing, Name is missing, CheckType is wrong. Compare this with PLC-Online values (Figure 5)


    Errors could also be observed in Cg/Cgk like this.

     

    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