I'm looking for examples for monitoring Diagnostic Troubleshooting Code (DTC) via J1939 using XNET, as I'm not really sure about how to get started with DTC.
Beyond that you can buy one of the ISO CAN documentst that describe how to read DTC. It usually involves sending a message requesting some data, then you'll get N frames back that you then need to combine and convert into usable information.