EasyManua.ls Logo

YOKOGAWA STARDOM FCN-RTU - Avoidance of the Error During Execution

YOKOGAWA STARDOM FCN-RTU
226 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
<9. Advanced Engineering >
TI 34P02K35-02E
May 31, 2017-00
9.1.14 Avoidance of the Error during Execution
The control task stops when division by zero (integer variables) or access exceeding
the range of the array occurs.
It is recommended to insert a code to avoid a careless stop.
Avoidance of Division by Zero (integer variables)
IF I_COUNT > 0 THEN
V_AVE := V_SUM/I_COUNT;
END_IF;
Avoidance of Access Exceeding the Range of the Array
IF I_REPORT_M > 0 AND I_REPORT_M < 13 THEN
BUFFER_M [I_REPORT_M] := 10;
END_IF

Table of Contents

Related product manuals