A program to add 6 bytes of data and store sum and carry in 8085 instruction set
Ah, more computer archaeology! I'm just going to give you a solution here, since it would take too long to address the misconceptions in your code. Study it and make sure you know exactly what each instruction is doing and why.

        ;; HL points to array of bytes to be added
        ;; DE contains 16-bit sum
        ;; C is loop counter

        lxi     h, 4500h        ; point to first byte
        mov     e, m            ; fetch first byte
        mvi     d, 0            ; clear high byte of sum
        mvi     c, 5            ; add 5 more bytes
loop:
        inx     h               ; point to next byte
        mov     a, m            ; fetch next byte
        add     e               ; add to sum
        mov     e, a
        jnc     skip            ; if carry ...
        inr     d               ; increment high byte of sum
skip:
        dcr     c               ; decrement loop counter
        jnz     loop            ; repeat if not done

        ;; Store the result
        xchg                    ; move sum to HL
        shld    3000h

        hlt