The invention discloses an industrial control cross-platform
clock synchronization method based on a zero pulse and a
communication link, and the method comprises the following steps: S1, confirming that a DCS
system accesses a Beidou or GPS for time correction, and enabling a
clock to be standard Beijing time; s2, confirming that communication
data transmission between the DCS and the PLC is normal, wherein the
data transmission period is between a second level and a
millisecond level; s3, extracting the current
clock of the
system in the DCS
system, and generating a timing pulse
signal at the zero moment of each day through logical configuration setting; s4, the timing pulse
signal is sent to the PLC through a
communication link between the DCS and the PLC; s5, after the PLC receives the timing pulse
signal, a clock setting function block in the PLC is triggered, and the
system time of the PLC is set to be the zero moment; and S6, after time calibration is completed, the PLC continues to operate according to the
independent clock until the next time calibration period. According to the method, the problem that the PLC cannot correct time under the condition that a time correction device is not added is effectively solved.