This document explains how you will Send and Receive data in CDPX Panel by using Serial communication RS-232 using CODESYS V3.5 SP12.
Application Note - CDPX serial communication and configuration using Function Blocks and CodeSys V3.5