Affordable PLC hardware recommendations?

Hey everyone, I’ve been learning CODESYS and have been working solely in the simulation environment. I’m looking to get into actual hardware but I am looking for some inexpensive equipment to do some basic testing. Looking for some recommendations on inexpensive PLC hardware kits or soft PLCs. I have a Raspberry Pi 3, but have been having issues getting it work with CODESYS, so looking for other options.