beautypg.com

Flags related auxiliary area words and bits, 2 instructions, Clearing user-defined non-fatal errors – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 424: Clearing non-fatal system errors

background image

2 Instructions

2-388

CP1E CPU Unit Instructions Reference Manual(W483)

Flags

Related Auxiliary Area Words and Bits

Auxiliary Area Words/Flags for User-defined Errors Only

Auxiliary Area Words/Flags for System Errors Only

Auxiliary Area Words/Flags for both User-defined and System Errors

Clearing Non-fatal Errors without a Programming Device

Clearing User-defined Non-fatal Errors

When FAL(006) is executed with N set to 0, non-fatal errors can be cleared. The value of S will deter-
mine the processing, as shown in the following table.

Clearing Non-fatal System Errors

There are two ways to clear non-fatal system errors generated with FAL(006).

Turn the PLC OFF and then ON again.

When keeping the PLC ON, the system error must be cleared as if the specified error had actually

occurred.

Name

Label

Operation

Error Flag

ER

ON if N is not within the specified range of 0 to 511 decimal.

ON if a non-fatal system error is being generated, but the specified error code or error details code is

incorrect.

OFF in all other cases.

Name

Address

Operation

FAL Error Flag

A402.15

ON when an error is generated with FAL(006).

Executed FAL Number Flags

A360.01 to
A391.15

When an error is generated with FAL(006), the corresponding flag will be turned ON. Flags A360.01 to
A391.15 correspond to FAL numbers1 to 511 decimal.

Name

Address

Operation

System-generated FAL/FALS
number

A529

A dummy FAL/FALS number is used when a system error is generated with FAL(006). Set the same
dummy FAL/FALS number in this word (0001 to 01FF hex, 1 to 511 decimal).

Name

Address

Operation

Error Log Area

A100 to A199

The Error Log Area contains the error codes and time/date of occurrence for the most recent 20 errors,
including errors generated by FAL(006).

Error code

A400

When an error occurs its error code is stored in A400. The error codes for FAL numbers 0001 to 01FF
are 4101 to 42FF, respectively.
If two or more errors occur simultaneously, the error code of the most serious error will be stored in
A400.

S

Process

&1 to &511 (0001 to 01FF hex)

The FAL error of the specified number will be cleared.

FFFF hex

All non-fatal errors (including system errors) will be cleared.

0200 to FFFE hex or word specification

The most serious non-fatal error (even if it is a non-fatal system error) that has occurred. When more
than one FAL error has occurred, the FAL error with the smallest FAL number will be cleared.

This manual is related to the following products: