# IO settings for controllers

## Smart AMS output (from Smart AMS to controller)

Corresponding Smart AMS IO | PF4000 variable | PM4000 variable (settings in PLC) | PF6000 variable | Modbus Device
--- | --- | --- | --- | ---
Emergency mode | External controlled 1 | %IX 13000.0 | Generic IO 1 | First input bit
Product OK | External controlled 2 | %IX 13000.1 | Generic IO 2 | Second input bit
Product NOK | External controlled 3 | %IX 13000.2 | Generic IO 3 | Third input bit
Product running | External controlled 4 | %IX 13000.3 | Generic IO 4 | Fourth input bit
System error | External controlled 5 | %IX 13000.4 | Generic IO 5 | Fifth input bit

## Smart AMS input (from controller to Smart AMS)

Corresponding Smart AMS IO | PF4000 variable | PM4000 variable (settings in PLC) | PF6000 variable | Modbus Device
--- | --- | --- | --- | ---
Emergency mode | External monitored 1 | %QX 13000.0 | External monitored 1 | First output bit
Skip product | External monitored 2 | %QX 13000.1 | External monitored 2 | Second output bit
Skip step | External monitored 3 | %QX 13000.2 | External monitored 3 | Third output bit
Override OK status | External monitored 4 | %QX 13000.3 | External monitored 4 | Fourth output bit