29.13.3.2 Logic Scan Time

The logic time includes the logic features and display and the display features (screen display, touch panel processing, communication). The logic feature runs the logic programs. There are two scan modes for the display unit; a fixed scan time mode and a CPU scan percentage mode.

Fixed Scan

This mode maintains the specified scan time.

It allows you to process a logic program in a certain cycle. It is suitable for programs that prioritize control (logic programs) and for which the screen is mainly used for monitoring (data display) with few operations required.

Display Processing Time = Setting Value for Fixed Scan Time (ms) - Logic Time

For example, if 50 ms is specified for the fixed scan time, and the logic executing time is 20 ms,

Display Processing Time = 50 ms - 20 ms = 30 ms

As the logic time becomes longer, the processing time becomes shorter. For this reason, the display update speed on the display unit becomes slower; however, the logic program runs continuously.

CPU Percentage Scan

This mode specifies the logic time occupancy (%) during scan time and changes the scan time for operation.

The mode prevents pressure on the display processing time caused by increased logic time, and it is suitable for systems that prioritize speed in screen operations and screen switching.

Scan Time = Logic Time / Setting Value for the CPU Scan Percentage (%)

For example, if 40% is specified for the CPU scan percentage and the logic executing time is 20 ms,

Scan Time = (20 / 40) x 100 = 50 ms

Display Processing Time = 50 ms - 20 ms = 30 ms

As the logic time becomes longer, the display processing time and the scan time become longer. For this reason, as the logic time becomes longer, the time allocated for the display processing becomes longer. This results in improved display update speed on the display unit while slowing down the processing cycle of the logic programs.

Setup Procedure

  1. In the [System Settings], click [Display Unit].

    • If the [System Settings] tab is not displayed in the workspace, on the [View (V)] menu, point to [Workspace (W)], and then click [System Settings (S)].

  2. Click the [Logic] tab. In [System Settings], select [Fixed Scan Time] or [CPU Scan Percentage] and enter a value for the setting.