> For the complete documentation index, see [llms.txt](https://hyundai-robotics.gitbook.io/hi6-s-controller-maintenance-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyundai-robotics.gitbook.io/hi6-s-controller-maintenance-manual/cm-english/4-basic-config-controller/4-3-function-individual-component/4-3-2-safety-module-bd630-bd631/7-connect-safety-plc-io.md).

# 4.3.2.7 Connection of the Safety PLC/IO

The emergency input signal and monitoring output signal between the safety PLC or IO, and the robot controller should be connected in the following way.

<div align="center"><img src="https://3570912178-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgG4134QwVVM50hrSHx37%2Fuploads%2FZKX65Owcm9UZNdwwZVIf%2Fimage.png?alt=media&amp;token=5d1cc37d-97b7-4d53-b1ab-6f17a28527fd" alt="Figure 4.38 Method to Connect the Safety PLC/IO"></div>

&#x20;

* **P-COM Input and Safety Input**

  The safety inputs (ES, SG) of the safety PLC are designed in a way that the controller can receive the PNP output, as an input, from the terminal block TBEM. Considering this, you must connect the power (DC24V) of the PLC before using the safety inputs.

{% hint style="warning" %}
**\[Warning]**: If a safety input is to be installed and used, the robot should be operated after confirming that the function works normally. This is an essential measure that must be taken in advance for the safety of workers.
{% endhint %}

* **Emergency Stop Output**

  Emergency stop output is designed in a way that allows the controller to use the PNP output by turning it on or off when it is necessary for an external device to use the status of the emergency stop switch (on the operation panel, teach pendant, etc.) installed inside the controller.

{% hint style="warning" %}
**\[Warning]**: If an emergency stop output is to be installed and used, the robot should be operated after confirming that the emergency stop output operates normally. This is an essential measure that must be taken in advance for the safety of workers.
{% endhint %}

* **External Motor On Signal**

  When the motor On signal input should be used from outside the controller, it should be used after being connected in PNP type.
