# What is Simulation?

Using simulation, you can run the project on a PC before transferring it to the display unit.

Hide Show

1. Simulation Type
2. Procedure
3. Available Functions in Simulation Window
4. Notes on the Behavior of Simulation
5. Features not supported in Simulation

## Simulation Type

There are two types of simulation.

Type | Description
[Device Simulate] | You can simulate the display unit without connecting an external device to the PC. Values of external variables display even if the external device is not connected to the PC. Note: To connect the external device to the PC and simulate the display unit, use [Simulate].
[Simulate] | You can connect the external device directly to the PC, which can then be used to simulate the display unit. Using this method, you can simulate communication between the display unit and the external device. Values of external variables display when the external device is connected to the PC. Note: When connecting an external device to the PC, please use the PC/AT cable diagrams described in the Device/PLC Connection Manual. If an external device is not connected to the PC, only values of internal variables are displayed. The values of external variables do not display, and a communication system error is generated.

## Procedure

### [Device Simulate]

To start [Device Simulate]:

Click the icon, or click the drop down list to the side of the icon on the application toolbar and then select [Device Simulate].

### [Simulate]

To start [Simulate]:

Click the drop down list to the side of the icon on the application toolbar and then select [Simulate].

## Available Functions in Simulation Window

Type | Description
Change Display Screen Size | When using fit mode, you can change the display screen size by changing the simulation window size. To enable fit mode, press [CTRL] key + right-click inside the simulation window and select [Fit to window].
Capture the Display Screen | You can copy the simulation window to the clipboard. To copy the simulation window, press [CTRL] key + right-click inside the simulation window and select [Copy to clipboard].
Export Display Screen as An Image File | You can export the simulation window as an image file. To export the simulation window, press [CTRL] key + right-click inside the simulation window and select [Export to file].

## Notes on the Behavior of Simulation

- Simulation stops automatically after 2 hours.
- If you import/export data from/to USB Storage or SD Card in Simulation, the data is saved in C:\USBStorage or C:\SDCard. The folder destination in simulation is independent of target settings as set in the [Destination Folder (SD Card)] or [Destination Folder (USB Storage)] properties.
- If you import/export data from/to Local Storage in Simulation, the data is saved in C:\LocalStorage.

## Features not supported in Simulation

The following lists features unsupported in Simulation.

### Hardware Configuration Screen

- Date/Time settings do not work.
- Run time Shutdown and Reboot do not work.

- Pro-face Connect settings do not display.

- Project File upload and download do not work.
- Calibration setting does not display.
- Brightness setting does not work.
- Ethernet settings do not work. Placeholder IP addresses are displayed.
- Scan Rate settings do not work in [Device Simulate]. (It works in [Simulate])

### Operation Scripts

- [Runtime Application] operation does not work.
- [External Device] operation does not work.

- [Launch Application] operation does not work.

  Important: The [Launch Application] operation might increase the potential risk of running unintended file/command/scripts if the application be launched is/are amended/replaced. To protect your system, it does not work in simulation.

### Target Properties

Target.USBStorage.Status and Target.SDcard.Status are always OFF.

### USB Barcode Reader

- Even if the USB barcode reader is not configured, if the object is input state and the data is read out with the USB barcode reader, the read data will be input to the object.

### Add and Delete Users

Maximum number of users per group and Maximum number of user groups are the same as for using PC/AT.

- Maximum number of user groups: 20
- Maximum number of users per group: 200

### Web Viewer

Using simulation, you can test your Web Viewer clients as Web Viewer operates the same way in simulation as at run time. The only differences are:

- The Hardware Configuration screen at simulation does not display the Web Viewer button.

Note: If you want to operate a Web Viewer client application on the same PC where Simulation is running, enter the Web Viewer URL as shown below.
http://localhost:<port number>/webviewer/index.html
or
http://127.0.0.1:<port number>/webviewer/index.html