Arduino, Nodemcu and TB6560 dilemma

The opto diagram in the attached .pdf looks exactly like others I've seen.
Leo..