Build (and simulate) a PLC in PSpice???
There's one little problem with trying to do that. It's the letter "P," which means "Programmable." PSpice won't simulate everything a PLC can do, wire-for-wire, without a ton of help from you. That's because the inputs and outputs on a PLC don't follow a set pattern (logic table), until you tell them to.
You may be able to simulate a **SIMPLE** PLC program in PSpice. The key is the letter "L" for "Logic." If you're using discrete I/O (switches and lamps), and not too many timers or math functions it is possible to create a circuit using AND/OR/NOT components that will simulate a known PLC program. This would be similar to simulating a PLD. But, you won't have down-to-the-microsecond timing. So don't pay much attention to the time axis of your system response graphs. When I was building logic circuits as a student, I actually did something similar. For me it was faster to develop ladder logic and replace it with gates later.
If you're trying to simulate analog I/O, good luck. You'll have to become comfortable with the gain, offset, addition, multiplication, integral, and other functions in PSpice.
AK