xLadder user manual-V2.0.0.6

Example :

6.1.10 RS instruction

Operand

Input / output

Data type

S, R1

Enable bit

Boolean

OUT

Enable bit

Boolean

xxx

I, Q, M, V, S

Boolean

Bistable trigger is a latch.When both R1 and S are equal to 1, the

output is 0.

The truth table of the "RS" instruction is as follows:

Instruction

S

R1

OUT

RS

0

0

Previous state

0

1

0

1

0

1

1

1

0

Example :

81

Made with FlippingBook - Online magazine maker