Here's a simple sample Ladder Logic LD program. It starts when the PLC application starts. It enables the motor (MC_Power), homes the axis (MC_Home), and then extends and retracts repeatedly with a time delay after each move.
Note a PAC320 hardware controller isn't necessary to run this. See below for details.
Here's a video of it running within the PAC IDE software: MOBILE USERS CLICK HERE
Here's a screen capture of the program online and the visualization:


For PAM 1.4 Users:
When PAM is open, click "Online" at the top of the screen -> check "Simulation". Now Login (alt+F8). From here, PAM will run the project within a simulated environment.
For PAM 1.3 Users:
You can use an application with a CODESYS SoftMotion Win V3. This is launched from Start > All Programs > Parker Hannifin > Parker Automation Manager > CODESYS SoftMotion Win V3
Under Online > Simulation. Then you can after Build (F11), click Online > Login. This will create a virtual PLC and allow you to run PLC simulation (Play or F5).
Note the CODESYS SoftMotion Win V3 will launch a DOS window allowing simulation of motion and will run for two hours before disabling. This window can be minimized but motion simulation is disabled when this window is closed.

3/15jh