Yes I know! Truth table is not really the right word to it, I just googled it and it gave me this translation. S1-S6 are the inputs and Ports are the outputs. This is a PLC table and I need to translate it to a arduino sketch, does it make any sense now? Sorry english is not my mother language so I am trying now hard to translate all this.