For example, when Touch is used to turn ON
the trigger bit (LS010000), and D-Script turns the value OFF:
D-Script Processing Timing Chart
For example, if the D-Script touch timing is not used, and only
detection is performed, the processing is as follows.
Use an if statement to determine if a touch
operation sets the bit. Each time the if () statement runs, it
reads the value and runs a comparison check.
Trigger Condition: Bit ON ([#INTERNAL]LS203800
*1])
Expression: if([b:[#INTERNAL]LS010000]==1)
{
clear([b:[#INTERNAL]LS010000])
:
:
When using the previous D-script, even if you input consecutive
touches, the script is run only if the condition matches. As shown
in the following timing chart, every display scan the value is read
and checked for a match, and if there is a match, regardless of the
previous value, the script is run.
D-Script Processing Timing Chart