The invention discloses a connecting device for an escalator and a control method, the connecting device comprises double physical safety links, and two completely independent and electrically isolated physical safety links, namely a link A and a link B, are laid in parallel on the whole line of the escalator; the distributed safety node comprises a
safety relay unit which comprises two pairs of normally open contacts KA and KB which are forced to guide and are completely synchronous in state, and the two pairs of normally open contacts KA and KB are respectively connected in a physical safety link A and a physical safety link B in series; the physical link on-off detection circuit is used for directly detecting
voltage / current of a link A and a link B and judging the on-state of the link A and the link B, and the diagnosis excitation and measurement circuit comprises a precise
constant current source and a high-precision
voltage sampling and
demodulation circuit and can be switched to a diagnosis
bus. A test
signal is injected into a diagnosis loop formed by a plurality of node coils, and a response is measured, so that a tough and adaptive safety
protection system is constructed, and potential network attacks and internal faults can be resisted.