in my openion most important subject on programming plc is
considering safety conditions, for this reason and i'd like to know standard way of wiring and programming emergency stop.
i mean that if emergency button on a machine is pressed what should be happen?
(turn off 24v dc or hydraulic motor! what?)