xLadder user manual-V2.0.0.6

6.1.8 Set immediate and reset immediate

Operand

Input / output

Data type

Bit

Q

Boolean

N

VB, IB, QB, MB, SMB, SB, LB, AC, constant, *VD, *AC, *LD

Byte

“Set immediate” can set many of points immediately.

“Reset immediate” can reset many of points immediately.

The value of N is between 1 and 128.

"I" means"reference immediately" ; The new value generated

by executing the instruction is written to the actual output

and the corresponding process image register.

6.1.9 SR instruction

Operand

Input / output

Data type

S1, R

Enable bit

Boolean

OUT

Enable bit

Boolean

xxx

I, Q, M, V, S

Boolean

Bistable trigger is a latch.When both R and S1 are equal to 1, the

output is 1.

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

Instruction

S1

R

OUT

SR

0

0

Previous state

0

1

0

1

0

1

1

1

1

80

Made with FlippingBook - Online magazine maker