Communication within hardware of electrical discharge machining (EDM) system