Logic gates and,or,not,X-or,X-nor design in CoDeSys