Yes, you are allowed to carry your CPAP machine onboard the plane. During the security screening, you must remove the CPAP machine from its carrying case and place it in a bin for X-ray screening. All accessories can remain in the case. Ensure you inform the TSA officers that you are carrying a CPAP machine so they can assist you appropriately during the screening process.