Bit Logic Instructions

Home Study Material Bit Logic Instructions
Side Bar
Plc Scada
sidedigital-img
Bit Logic Instructions

Bit logic instructions work with two digits, 1 and 0. These two digits form the base of a number system
called the binary system. The two digits 1 and 0 are called binary digits or bits. In the world of contacts
and coils, a 1 indicates activated or energized, and a 0 indicates not activated or not energized.
The bit logic instructions interpret signal states of 1 and 0 and combine them according to Boolean
logic. These combinations produce a result of 1 or 0 that is called the ”result of logic operation” (RLO).
The logic operations that are triggered by the bit logic instructions perform a variety of functions.
There are bit logic instructions to perform the following functions:
ï‚· ---| |--- Normally Open Contact (Address)
ï‚· ---| / |--- Normally Closed Contact (Address)
ï‚· ---(SAVE) Save RLO into BR Memory
ï‚· XOR Bit Exclusive OR
ï‚· ---( ) Output Coil
ï‚· ---( # )--- Midline Output
ï‚· ---|NOT|--- Invert Power Flow
The following instructions react to an RLO of 1:
ï‚· ---( S ) Set Coil
ï‚· ---( R ) Reset Coil
ï‚· SR Set-Reset Flip Flop
ï‚· RS Reset-Set Flip Flop
Other instructions react to a positive or negative edge transition to perform the following functions:
ï‚· ---(N)--- Negative RLO Edge Detection
ï‚· ---(P)--- Positive RLO Edge Detection
ï‚· NEG Address Negative Edge Detection
ï‚· POS Address Positive Edge Detection
ï‚· Immediate Read
ï‚· Immediate Write