RJ45: orange/white => M12: No.1 pin
RJ45: green/white => M12: No.2 pin
RJ45: orange => M12: No.3 pin
RJ45: green => M12: No.4 pin
RJ45: orange/white => M12: No.1 pin
RJ45: green/white => M12: No.2 pin
RJ45: orange => M12: No.3 pin
RJ45: green => M12: No.4 pin