8-2 failure alarm functions, Failure alarm functions, Operation of fal(006) – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 144

Advertising
background image

121

Diagnostic Functions

Section 5-8

The number of records is stored in binary in the Error Log Pointer (A408). The
pointer is not incremented when more than 20 errors have occurred.

Note

The FQM1 does not support a clock and the time data in the error log will
always be 0101.

5-8-2

Failure Alarm Functions

The FAL(006) and FALS(007) instructions generate user-defined errors.
FAL(006) generates a non-fatal error and FALS(007) generates a fatal error
that stops program execution.

When the user-defined error conditions (input conditions for FAL(006) or
FAL(007)) are met, the Failure Alarm instruction will be executed and the fol-
lowing processing will be performed.

1,2,3...

1.

The FAL Error Flag or FALS Error Flag in the Auxiliary Area is turned ON.

2.

The corresponding error code is written to the Auxiliary Area.

3.

The error code is stored in the Error Log.

4.

The error indicator on the front of the Modules will flash or light.

5.

If FAL(006) has been executed, the Modules will continue operating.
If FALS(007) has been executed, the Modules will stop operating. (Pro-
gram execution will stop.)

Operation of FAL(006)

When input condition A goes ON, an error with FAL number 2 is generated
and A402.15 (FAL Error Flag) is turned ON. Program execution continues.

A100

1

0

2

A101

A102

1

0

1

A103

1

0

1

A104

1

0

1

A105

1

0

1

A106

A107

1

0

1

A108

1

0

1

A109

1

0

1

A195

0

C

0

A196

A197

1

0

1

A198

1

0

1

A199

1

0

1

4102

C101

80C0

1

2

20

A408

4

0

0

0

C

0

0

0

8

0

0

0

Error code

Error Log Area

Error code
Error contents

Error code
Error contents

Error code
Error contents

Order of
occurrence

Error Log Pointer

A

FAL

002

#0000

Advertising