22.8 Trigger Condition Setup

A created script can use any of the following 11 types of trigger conditions.

Executes each display scan time.

Each time the designated time elapses, the script is executed one time. The timer duration can be set from 1 to 32767 seconds.

When the display unit detects the designated bit address (trigger bit) rise from 0 to 1, the script is triggered.

While the designated bit address (trigger bit) is ON, the script is executed at every display scan time.

When the GP detects the designated bit address (trigger bit) fall from 1 to 0, the script is triggered.

While the designated bit address (trigger bit) is OFF, the script is executed at every display scan time.

When the GP detects the designated bit address (trigger bit) rise from 0 to 1 or fall from 1 to 0, the script is triggered.

When the defined condition is met, the script runs one time.
For example: When the Trigger Condition is 100 > [D100] > 50,*3 the script will execute with the following timing.
[False] → [True] is detected, the script executes and 70 is assigned to D100.
The script does not run when [True] → [True] is detected.

While the condition is true, the script is executed at every display scan time.
For example: When the Trigger Condition is 100 > [D100] > 50,*3 the script will execute with the following timing.

When the defined condition is false, the script runs one time.
For example: When the Trigger Condition is 100 > [D100] > 50,*3 the script will execute with the following timing.
[True] to [False] is detected. The script executes and 40 is assigned to D100.
The script does not run when [False] to [False] is detected.

While the condition is false, the script is executed at every display scan time.
For example: When the Trigger Condition is 100 > [D100] > 50,*3 the script will execute with the following timing.

 

*1 The Communication Cycle Time is the time from when the display unit requests data from the device/PLC, until the display unit receives the data. It is stored in internal device LS2037 in Bin format. The unit is 10 milliseconds. There is an error of +/-10 ms.
When using multiple devices/PLCs, you can check each communication cycle time from the [System Settings] window's [Display] page, in the [List of Device/PLC Management Addresses] area.
5.4.14 System Settings [Peripheral List] Settings Guide

*2 Display Scan Time is the time required to process one screen. It is stored in internal device LS2036 in Bin format. The unit is in milliseconds. There is an error of +/-10 ms.

*3 The expression used to evaluate the condition 100>[D100]>50 is as follows.
(100>[w:[PLC1]D100]) and ([w:[PLC1]D100]>50)