A dynamic displacement error compensation system comprising: a first moving element configured to move linearly along a first axis and a first motor device configured to drive the first moving element; a second moving element configured to move linearly along a second axis and a second motor device configured to drive the second moving element; and a communication unit electrically connected to a first driver of the first motor and a second driver of the second motor, characterized in that the first driver of the first motor device is configured to store a first compensation table, and the first driver comprises a first dynamic error processing unit; the second driver of the second motor device is configured to store a second compensation table, and the second driver comprises a second dynamic error processing unit; wherein the first compensation table and the second compensation table contain positional information of the first axis and positional information of the second axis as variables to obtain a compensation value on the first axis and a compensation value on the second axis respectively and wherein the first compensation table and the second compensation table are a detection error compensation table of the first moving element and the second moving element on the first axis and the second axis respectively, and the first driver is configured to obtain a first dynamic positional information of the first moving element moving on the first axis and a second dynamic positional information of the second moving element moving on the second axis, the first dynamic error processing unit is configured to perform calculations according to the first compensation table to obtain a corresponding compensation value, and then to compensate displacement of the first moving element on the first axis according to the compensation value; the second driver is configured to obtain the first dynamic positional information and the second dynamic positional information, the second dynamic error processing unit is configured to perform calculations according to the second compensation table to obtain a corresponding compensation value, and then to compensate displacement of the second moving element on the second axis according to the compensation value, the first driver is further configured to first receive the first dynamic positional information and then transmit the first dynamic positional information to the second driver via the communication unit and the second driver is further configured to first receive the second dynamic positional information and then transmit the second dynamic positional information to the first driver via the communication unit. a first moving element configured to move linearly along a first axis and a first motor device configured to drive the first moving element; a second moving element configured to move linearly along a second axis and a second motor device configured to drive the second moving element; and a communication unit electrically connected to a first driver of the first motor and a second driver of the second motor, characterized in that the first driver of the first motor device is configured to store a first compensation table, and the first driver comprises a first dynamic error processing unit; the second driver of the second motor device is configured to store a second compensation table, and the second driver comprises a second dynamic error processing unit; wherein the first compensation table and the second compensation table contain positional information of the first axis and positional information of the second axis as variables to obtain a compensation value on the first axis and a compensation value on the second axis respectively and wherein the first compensation table and the second compensation table are a detection error compensation table of the first moving element and the second moving element on the first axis and the second axis respectively, and the first driver is configured to obtain a first dynamic positional information of the first moving element moving on the first axis and a second dynamic positional information of the second moving element moving on the second axis, the first dynamic error processing unit is configured to perform calculations according to the first compensation table to obtain a corresponding compensation value, and then to compensate displacement of the first moving element on the first axis according to the compensation value; the second driver is configured to obtain the first dynamic positional information and the second dynamic positional information, the second dynamic error processing unit is configured to perform calculations according to the second compensation table to obtain a corresponding compensation value, and then to compensate displacement of the second moving element on the second axis according to the compensation value, the first driver is further configured to first receive the first dynamic positional information and then transmit the first dynamic positional information to the second driver via the communication unit and the second driver is further configured to first receive the second dynamic positional information and then transmit the second dynamic positional information to the first driver via the communication unit.