How do I connect the Anviz SC011 controller to the Anviz M5?

How do I connect the Anviz SC011 controller to the Anviz M5?

The Anviz M5 comes standard with the SC011 controller (safety relay). Anviz has a Youtube video available showing the connection: