Simulator Control for Modicon Quantum CPU
Original instructions
Introduction
The dialog box is shown if the simulator is simulating a CPU from the Modicon Quantum family.
Representation of the dialog box:
CPU Front Plate
The virtual CPU front plate shows the current state of the CPU in a one line display:
Text in the display
The simulated CPU is in state...
Meaning
Init
INIT (Initialization)
This display is shown for a very short time while the simulator is starting. It is quickly replaced by one of the following displays.
UnCfg
NOCONF (no configuration)
No user project loaded or the loaded project is invalid.
Idle
IDLE
The project loaded on the CPU has not been started or reset with the Reset button.
Stop
STOPPED
No project is running. However, the loaded project was in RUN state at least once.
Run
RUN
A project with at least one task is running.
Halt
HALT
An error has occurred in the project. The simulated CPU must be reinitialized or reset using the Reset button.
Err
ERROR
An unrecoverable detected error has occurred in the project. This means communication is no longer possible. The simulated CPU must be reset using the Reset button.
Key Switch
By clicking the switch symbol, various switch positions can be simulated:
Switch position
Switch position on real CPU
Meaning
Start
CPU unlocked:
  • Project can be loaded.
  • CPU can be started or stopped.
Mem Prt
CPU locked:
  • Project cannot be loaded.
  • As opposed to the key switch on a real CPU, the CPU can be started or stopped in this position.
-
Stop
This switch position of a real CPU is not supported by the simulator.
Events
With this button, you can open and close the event dialog box.
The button is shown if I/O events are defined in the project currently loaded (if the project uses event tasks).
Reset
With this button, you can reset the simulated CPU. This corresponds to a cold start of the CPU (the connection between Control Expert and the simulator is broken, project variables are reset and the simulator goes in RUN (if auto start is activated) or in STOP (if auto start is deactivated)).
Reset corresponds to the reset button on a real CPU.
Power Cycle
With this button, you execute a power cycle (power off / power on) for the simulated CPU. This corresponds to a warm start of the CPU (the connection between Control Expert and the simulator is broken and the current project variables remain).
A power cycle corresponds to a power off and power on of a real power supply.
Simulation
Dialog box fields: Host PC name: DNS name of the host PC for the simulator. If the PC has multiple network cards, only the first is shown. Host IP address: TCP/IP address of the host PC for the simulator. If the PC has multiple network cards, only the first is shown. Project name: Name of the project loaded in the simulator.
Clients Connected
The list shows current clients connected with the PC (PCs which are connected via TCP/IP with the host PC of the simulator). The DNS name and TCP/IP address are shown for each client.