pinMode() on an Arduino PLC: inputs, outputs and the pin map Dec 5, 2018 To configure a pin of an Arduino PLC as an input or an output, call pinMode(pin, mode) in setup() with the name of the PLC terminal: pinMode(Q0_0, OUTPUT) or pinMode(I0_0, INPUT) . The Industrial Shie... Read more