Appendix 2 Flag List

(Continued)

Relay

Function

F0040 to F005F

I/O error

 

 

F0060 to F006F

Storing error code

F0070 to F008F

Unused

 

 

F0090

20-ms cycle clock

F0091

100-ms cycle clock

F0092

200-ms cycle clock

 

 

F0093

1-sec cycle clock

 

 

F0094

2-sec cycle clock

F0095

10-sec cycle clock

 

 

F0096

20-sec cycle clock

 

 

F0097

60-sec cycle clock

F0098 to F009F

Unused

F0100

User clock 0

 

 

F0101

User clock 1

 

 

F0102

User clock 2

F0103

User clock 3

 

 

F0104

User clock 4

 

 

F0105

User clock 5

F0106

User clock 6

F0107

User clock 7

 

 

F0108 to F010F

Unused

F0110

Operation error flag

F0111

Zero flag

 

 

F0112

Carry flag

 

 

F0113

All outputs off

F0115

Operation error flag (Latch)

 

 

F0116

Overflow error flag

 

 

F0117 to F011F

Unused

F0120

LT flag

F0121

LTE flag

 

 

F0122

EQU flag

F0123

GT flag

F0124

GTE flag

 

 

F0125

NEQ flag

 

 

F0126 to F013F

Unused

F0140 to F014F

FALS No.

 

 

F0150 to F016F

Unused

F0170 to F173

HSC output bit

 

 

F0180 to F183

Carry flag for HSC

 

 

Description

When the reserved I/O module (set by the parameter) differs from the real loaded I/O module or a I/O module has been mounted or dismounted, the corresponding bit turns on.

Stores the system error code, (See Section 2.9)

Turning On/Off is repeated with a constant cycle.

On Off

Turning On/Off is repeated as many times as the scan specified by Duty instruction.

DUTY F010x N1 N2

N2 scan Off

N1 scan Off

Turns on when an operation error has occurred. Turns on when the operation result is “0”.

Turns on when a carry occurs due to the operation. Turns on when an output instruction is executed. Turns on when an operation error has occurred.(Latch) Turns on when overflow has occurred.

Turns on if S1 < S2 when using the CMP instruction. Turns on if S1 S2 when using the CMP instruction. Turns on if S1 = S2 when using the CMP instruction. Turns on if S1 > S2 when using the CMP instruction. Turns on if S1 S2 when using the CMP instruction. Turns on if S1 S2 when using the CMP instruction.

The error code generated by FALS instruction is stored to this flag.

Turn on when the current value of HSC reaches setting value Turn on when carry is occurred on the HSC current value

App2-2

Page 298
Image 298
LG Electronics 120S user manual Relay Function F0040 to F005F, Operation error flag, Zero flag, Carry flag, All outputs off