Just a minor nit pick, but it is "if" not "input":
XIC - eXamine If Closed
XIO - eXamine If Open
Yes, Tharon, you are correct, eXamine
If Closed, etc.,
Although I do vaguely recall that in one of the "families", they used to be called as I said.... PLC2 ?, PLC3 ?, PLC5/250 ? ... I really can't remember which, and of course it may have been that way with the old DOS 6200 softwares.
But that is irrelevant now, anyway, much like adel1961's comment, which IMHO may just confuse people. It is not clear whether adel1961 is talking about the field contact, or the PLC instruction which looks at it.
It is universally accepted that an Emergency Stop button has NC contacts that open when the stop is operated, (fail-safe), and these contacts should remove power from devices, either directly, or via a safety relay (Pilz etc.), and
not via the PLC code.
It is also possible that the PLC has an input from the Emergency Stop button, so that the process can be shut-down in a controlled fashion, because typically the PLC will have lost control of its outputs.
Since this is not specifically
safety related, it is just as acceptable to use a NO auxiliary contact on the E-Stop button, to inform the PLC when the E-top is operated.
And then, of course, the PLC code may want to know if the E-Stop is Pushed-In (E-Stop), or Pulled-Out (Healthy), so the code may be using XIC or XIO on that E-Stop input.