When it comes to EU loss in cables, you always want to subtract 1 from the length of the cable to get it's maximum distance length. The reason being is that as soon as it hits block #40, it will drop the charge, and you won't see any energy on block #41 (which I'm assuming is your Batbox or MSFU)...
The actual distance is 512*39, or 19968 blocks of distance.