0% found this document useful (0 votes)
49 views6 pages

5 Bit Logic Instructions

The document describes various bit logic instructions that can be used in a PLC program, including set, reset, positive transition, and negative transition instructions. It provides examples of how to use these instructions to turn on or off groups of bits starting at a specified address, and notes they can be used to implement logic that responds to on-off or off-on transitions. The document concludes by presenting some example applications of bit logic instructions to simulate hardwired control circuits or programs that use pushbuttons to start and stop a motor.

Uploaded by

Eliel Basco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views6 pages

5 Bit Logic Instructions

The document describes various bit logic instructions that can be used in a PLC program, including set, reset, positive transition, and negative transition instructions. It provides examples of how to use these instructions to turn on or off groups of bits starting at a specified address, and notes they can be used to implement logic that responds to on-off or off-on transitions. The document concludes by presenting some example applications of bit logic instructions to simulate hardwired control circuits or programs that use pushbuttons to start and stop a motor.

Uploaded by

Eliel Basco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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