
1 About the Script Function
20-4
WindO/I-NV4 User’s Manual
1.4 Script Error
This section describes the types, cause, and information of script errors.
●
Error information
Script error information is stored in the following locations. An error message is displayed on the screen when a script
error has occurred.
●
Types and causes of script errors
Script will stop running when an error occurs.
Category
Storage location
Stored value
Existence of a script error
Bit 10 of the System Area address
2
0
No error
1
Error
Script ID of the script with an error HMI Special Data Register LSD52
1 to
32,000
Script ID
Types of script errors
HMI Special Data Register LSD53
1
Processing error
2
Execution time over error
3
Writing count error
4
Indirect device error
5
Parameter error
6
Fixed Interval Script execution time over
7
Fixed interval execution error
If there is a script error, bit 10 (11th bit) of the beginning device a2 (third word from the beginning)
of the System Area will be 1.
Beginning device address of the System Area is set in the
System
tab of the
Project Settings
dialog box.
For details about the System Area, refer to Chapter 4 “System Area” on page 4-30.
Beginning
device address
+1
+2
+3
+4
+5
+6
+7
System Area 1
System Area 2
System Area 3
System Area 4
+8
+9
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
1st word
2nd word
11th bit
3rd word
4th word
5th word
6th word
8th word
7th word
10th word
9th word
Types of script error
Cause
Processing error
Dividend was divided by 0 for division and residue calculation.
Data types are BCD4(B), BCD8(EB), Float32(F) and value out of range is
specified.
Execution time over error
The execution time for one script exceeded 3,000 milliseconds.
Fixed Interval Script execution time over
Writing count error
Data count written to the external device address in one script has exceeded 64.
Indirect device error
During the indirect read of external device address, the value of external device
address was read.
Indirect read or indirect write of external device address is performed with the
Global Script.
Parameter error
Value out of range was specified as argument for LINE function, RECTANGLE
function, or CIRCLE function.
Executed the LINE function, RECTANGLE function, and CIRCLE function in a Cyclic
Script.
Fixed interval execution error
Execution interval is automatically adjusted since the execution of the Fixed
Interval Script has taken more time than half of the execution interval specified
in the Fixed Interval Script.
Содержание MICRO/I HG4G-CJT22 F-B Series
Страница 1: ...B 1701 11 User s Manual ...
Страница 26: ...Preface 25 WindO I NV4 User s Manual ...
Страница 50: ...1 WindO I NV4 Specifications 2 18 WindO I NV4 User s Manual Baltic Font ANSI 1257 Cyrillic Font ANSI 1251 ...
Страница 106: ...5 WindO I NV4 Common Operations and Settings 2 74 WindO I NV4 User s Manual ...
Страница 254: ...7 BACnet Communication 3 148 WindO I NV4 User s Manual ...
Страница 362: ...5 Screen Restrictions 5 28 WindO I NV4 User s Manual ...
Страница 402: ...3 Text 7 30 WindO I NV4 User s Manual ...
Страница 574: ...9 Potentiometer 8 172 WindO I NV4 User s Manual ...
Страница 1052: ...4 Using the Data 15 22 WindO I NV4 User s Manual ...
Страница 1170: ...6 Important Notes 20 60 WindO I NV4 User s Manual ...
Страница 1200: ...5 Restrictions 22 18 WindO I NV4 User s Manual ...
Страница 1260: ...5 Editing User Accounts on the MICRO I 23 60 WindO I NV4 User s Manual ...
Страница 1286: ...4 Clear 24 26 WindO I NV4 User s Manual 4 Click Yes 5 Click Close This concludes clearing data ...
Страница 1288: ...4 Clear 24 28 WindO I NV4 User s Manual 6 Click Yes 7 Click Close This concludes clearing data on the external memory device ...
Страница 1322: ...2 Monitoring on the MICRO I 25 28 WindO I NV4 User s Manual ...
Страница 1414: ...4 E mail Function 28 66 WindO I NV4 User s Manual ...
Страница 1554: ...3 Settings 34 14 WindO I NV4 User s Manual ...
Страница 1642: ...2 Handling Problems 36 6 WindO I NV4 User s Manual ...
Страница 1652: ...5 Text Alignment A 10 WindO I NV4 User s Manual ...
Страница 1664: ...Index 12 WindO I NV4 User s Manual ...