Testing your Project without Connecting the Hardware¶
You can test your program in simulation mode. No hardware is required for simulation mode.
From the Online menu, select Simulation Mode.
- ⇒
From the Online menu, select Login.
You can see that Simulation Mode is checked.
- ⇒
In the status bar ONLINE and SIM are highlighted in black color.
From the Resources register card, double-click
.- ⇒
In work space a window opens. The window shows all declared inputs and outputs.
You see the status of every input and output. FALSE is highlighted on black background. TRUE is highlighted on blue background.
Simulate the Starting of the CPU
From the Online menu, select Run.
- ⇒
The status of DO01 changes from FALSE to TRUE.
Change the Status of an Input
Double-click FALSE of input DI04 and input DI05.
- ⇒
The change value is shown in green color behind FALSE.
From the Online menu, select Write Values or Force Values.
Write Values: One time effect.
Force Values: Writes the value in every program cycle.
- ⇒
The status of the inputs and outputs is changed.
Stop Simulation Mode
From the Online menu, select Logout.
From the Online menu, select Simulation Mode.
- ⇒
Simulation Mode is unchecked.