Compiling Compilation consists of taking the PLC source code and automatically translating it into binary code, which can be executed by the processor on the target device.