10-8
10.3.3 Dealing with Operation Errors
<Procedure>
1. Check the location of the error.
Check the address where the error occurred, which is stored in DT90017 and DT90018, and make sure
the high-level instruction for that address is correct and appropriate.
2. Clear the error.
Use a programming tool to clear the error.
-
When using FPWIN GR, select "Online" -> "Status Display" in the menu bar.
Execute "Clear Error".
-
When using FPWIN Pro, select "Monitor" -> "PLC Status". Press the "Error Clear" button.
-
An error can be cleared by turning the power off and on in PROG. mode, however, the contents of the
operation memory except the hold type data will be cleared.
-
An error can also be cleared by executing a self-diagnostic error set instruction (F148).
-
If the mode selector is set to "RUN", RUN will resume as soon as the error is cleared. So if the cause of
the error is not removed, the error may seem not to be cleared.
10.3.4 Points to Check in Program
1. Check if an extraordinarily large value or negative value was stored in the index register.
<Example> When a data register is modified using an index register
In this case, index register modifies the address of data register DT0. However, it may exceed the
addressable range of the data register depending on the data in I0. If the value exceeds the range, an
operation error will occur. The same is true when the contents of I0 are a negative value.
2. Is there any data which cannot be converted using BCD
BIN data conversion?
<Example> When BCD-to-BIN conversion is attempted
In this case, if DT0 contains a hexadecimal number with one of the digits A through F such as 12A4,
conversion will be impossible and an operation error will result.
<Example> When BIN-to-BCD conversion is attempted
In this case, if DT1 contains a negative value or a value greater than K9999, an operation error will
occur.
3. Check if the devisor of a division instruction is “0”.
<Example>
In this case, if the content of DT100 is "0", an operation error will occur.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X0 L14R
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 10: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 18: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 48: ...4 6 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 118: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 154: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 196: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 210: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 288: ...14 7 ASCII Codes Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 289: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...