You are on page 1of 6

Bit Logic Instructions

Presented by:

Engr. Ojay DL. Santos, M.Eng.

Set Instruction
 Turns ON the specified number of points (N)
starting at the specified address (bit).
 Can set from 1 to 255 points.

Sets Q0.0, Q0.1, Q0.2, and Q0.3, if the preceding


logic is true.

1
Reset Instruction
 Turns OFF the specified number of points (N)
starting at the specified address (bit).
 Can reset from 1 to 255 points.

Resets Q0.0, Q0.1, Q0.2, and Q0.3, if the


preceding logic is true.

Positive Transition Instruction


 Allows power to flow for one scan for each off-
to-on transition.

2
Negative Transition Instruction
 Allows power to flow for one scan for each on-
to-off transition.

Application Examples
1. Verify the operation
Allocations:
Symbol Address Field Device
PB1 I0.1 N.O. momentary contact PB
PB2 I0.2 N.O. momentary contact PB

3
Application Examples
2. Verify the operation
Allocations:
Symbol Address Field Device
PB1 I0.1 N.O. momentary contact PB
PB2 I0.2 N.O. momentary contact PB

Application Examples
3. Verify the operation
Allocations:
Symbol Address Field Device
PB1 I0.1 N.O. momentary contact PB
PB2 I0.2 N.O. momentary contact PB

4
Application Examples
4. Verify the operation
Allocations:
Symbol Address Field Device
PB1 I0.1 N.O. momentary contact PB
PB2 I0.2 N.O. momentary contact PB

Application Examples
5. Using bit logic instructions, write and simulate a PLC
program that will correctly execute the hardwire control
circuit.

5
Application Examples
6. A single momentary contact normally open pushbutton
performs both the start and stop functions of a motor
controller. Using bit logic instructions, write and simulate
a PLC program that will implement this.

Design Problem No. 2

You might also like