10:26 AM
0
Overview of Bit Logic Instructions
Description
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 conjunction with AND, OR, XOR and outputs, a 1 stands for

logical YES and a 0 for logical NO.

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).

There are bit logic instructions to perform the following functions:

AND, OR and Exclusive OR: these instructions check the signal state and

produce a result that is either copied to the RLO bit or combined with it.

AND-before-OR Logic Operation and OR-before-AND Logic Operation

Assign and Midline Output. these instructions assign the RLO or store it

temporarily.

The following instructions react to an RLO of 1:

S : Set Output

R : Reset Output

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

The remaining instructions affect the RLO directly in the following ways:

Insert Binary Input

Negate Binary Input

SAVE : Save RLO to BR Memory

0 comments:

Post a Comment

Labels

Actuator Sensor-interface Address Negative Edge Detection Address Positive Edge Detection ADDRESSING ANALOG INPUTS ANALOG OUTPUTS AND Logic Operation AS-i AS-i configuration Assign Authorizations Automation License Manager BASICS Bit Bit Configuration Bit Logic Instructions Block By-passing CiR CiR Modules CiR Objects communication COMPARISON Components Configuration Configuring Connections Conversion Converting Counter CP 343-2 P CP 443-5 Ext CPU CPU 412-1 CPU 412-2 DP CPU 412-2 PCI CPU 414-2 DP CPU 414-3 DP CPU 414-4 H CPU 416-2 DP CPU 416-2 PCI CPU 416-3 DP CPU 416F-2 CPU 417-4 CPU 417-4 H Data Block DI/DO MODULES Diagnosing Diagnosis DIGITAL INPUTS DIGITAL OUTPUTS Downloading DP master English Mnemonics ET 200M Exclusive OR Logic Operation Extended pulse timer fail-safe modules fault FBD Floating- Point Floating-Point Math FUNCTION MODULES German Mnemonics Hardware hmi Input Insert Binary Input install Instructions Integer Math INTERFACE MODULES Jump License License Keys Load Memory Master Control Relay Memory Areas Memory Reset Midline Output Modifying MODULES monitoring variables Move NEG Negate Binary Input Negative RLO Edge Detection Networks Off-delay timer On-delay timer Operating systems OR Logic Operation Output PID Control PLC POS position decoder Positive RLO Edge Detection PROFIBUS Program Control programm Programming Pulse timer RELAY OUTPUTS Remote Reset Output Reset_Set Flip Flop Retentive on-delay timer Rotate RS S5 File S7 Communications S7-300 S7-400 SAVE Save RLO to BR Memory SCADA Set Output Set_Reset Flip Flop Shift siemens SIMATIC SIMATIC Manager Slaves Software SR STATEMENT Status Bit STEP 7 stop mode Time Base Time Value Timer Timer Cell TRAINING MODULE Units Upgrading UPLOADING WinLC RTX Word Logic Work Memory XOR