In the remote motion control of IoT devices, the delay adversely affects control performance. In our access edge concept, in which motion control is performed from a central office, the delay becomes large due to Dynamic Bandwidth Allocation (DBA) when the Passive Optical Network (PON) is adopted as the access system. No existing motion control method considers the delay changes of the DBA algorithm. We rectify this omission by proposing a novel real-time and high-precision motion control method that links the PON device and the controller. The proposed method can improve the control performance while maintaining the bandwidth utilization efficiency without changing the DBA delay specified to meet the requirements. In the proposed method, the delay in the PON system is calculated by using a delay model based on the setting parameter received from the communication device, and is used for delay compensation control. An experiment shows that, unlike the conventional method which becomes unstable and fails to realize control, the proposed method achieves high resolution control within 4 s, which demonstrates the feasibility of motion control for factory automation using edge computing in PON systems.