The components you mentioned are used on an arduino thing, and can not be used in a PLC, You will need a few items more like a opamp, a driver, and some passive components to use your items, if you downlaod the datasheets it will give you an example of circuitry.