Communication interface between ArduPilot and Engine Control Unit ``

I am facing issues in establishing the CANBUS communication interface between Engine Control Unit and Pixhawk/Ardupilot.
By reading my blogs regarding Lua communication, it seems to be possible but haven’t found any relevant programming logic script in Lua.
Requesting members to guide me.