Hey Sagar,
The key rule to remember is "Circle to Square". All cables should go from a Circle port to a square port.
Top Controller (A) Circle port connects to Shelf 1 Top (A) module Square port
Bottom Controller (B) Circle port connects to Shelf 1 Bottom (B) Square port
Shelf 1 Top (A) module circle port connects to Bottom Controller (B) Square port
Shelf 1 Bottom (B) module circle port connects to Top Controller (A) Square port
As i didn't notice if it is circle or square port Can you cross check based on if every CIRCLE TO SQUARE ?
Thanks,
Nayab