30.14.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 Time
CPU Scan Percentage

Fixed Scan Time

This mode maintains the specified scan time.

It allows you to process a logic program in a certain cycle. 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 = Setup value for Fixed Scan Time (ms) minus Logic Time

For example, when 50 ms is the fixed scan time, and the logic execution 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 Scan Percentage

This mode specifies the CPU percentage reserved for logic, and adjusts the scan time accordingly.

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 / Setup Value of the CPU Scan Percentage (%)

For example, if 40% is specified as the CPU scan percentage and the logic execution 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. From the [Project] menu, point to [System Settings], click [Display Unit] and open the [Logic] tab.

  2. From the [System Settings] area, select [Fixed Scan Time] or [CPU Scan Percentage] and enter a setting value.