There are very few jobs where all you do is write PLC code. In fact, I can't imagine why anybody would want such a job. A PLC is one of many tools available for automating a machine or process. You will also need a good understanding of the rest of the tools. Things like limit switches, proximity switches, photoswitches, solenoid valves for both pneumatic and hydraulic systems, variable speed drives, motion control, AC induction motors, DC motors, stepper motors,....
The list goes on and on and gets longer with every passing year.
The good news is that this site has members with years of experience in all facets of automation. More important, the members are willing to share their knowledge with people who are interested in learning it. Be warned though. We don't have much patience with people who only want to use us to get a good grade on their next test or to get their homework done for them. By the nature of your post, I don't think you're one of those.