klm
  •  klm
  • 70.75848% (Friendly)
  • Advanced Member Topic Starter
2020-04-29T16:24:35Z
Greetings-

Well I've spent almost 2 weeks trying to get this clear in my head.

I'm trying to figure-out the BSR (Bit-Shift-Right)(or Left) Fucntion.

I've gone over the following:

1. AB Intr Set Man.

2. I searched the forums on various PLC web-sites like: PLC.net, Mr PLC etc.

3. And whatever I could find doing a google search ...



After trying out some of the posted Ladder-logic examples and reading explanations about BSR(L) from the web-sites I clicked on .... I still can't seem to "nail this concept down"

So I'm asking for your help - can anyone explain how this (BSR) function works and give a small example ? Please! ! !

Thanks for the help

BTW - I have a SLC 5/03, RSLogix 500 Software.

K-
Zackbo
2020-04-29T16:25:27Z
I'm not as familiar with A/B's bit shift function, but overall, a shift register function takes a 16-bit or 32-bit register, and moves the individual bits either right or left, with an overflow on both sides. If you are familiar, a 16-bit register usually represents an integer, but it is most fundamentally comprised of 16.......well.......bits! A bit being a boolean data point with a value of 1 or 0, on or off, true or false.

A bit shift function shifts all the bits to the right or left. IOW, if I used a BSR with an input value of '1' and a shift value of '1' on a register with the value of "0100010000010001", it would be "1010001000001000". This function is used a lot in walking beam applications, in keeping up with the location of parts. Each bit equals a part, and you can keep up with empty walking locations and flag parts that have failed some type of quality inspection.
Guest
2020-04-29T16:26:13Z
K-

Have you viewed our video in the instruction set samples? It should explain what you need.

Russell
klm
  •  klm
  • 70.75848% (Friendly)
  • Advanced Member Topic Starter
2020-04-29T16:26:58Z
Thanks to Zackbo and Russell. I appreciated the explanation and I'll go check-out the Video -



Thanks again-

Klm
Guest
2020-04-29T16:27:49Z


If you have any questions on the points in the videos please post them here.

Russell
Users browsing this topic
RSLogix500 Introduction
RSLogix500 Inserting Instructions
RSLogix500 Opening a File
RSLogix500 Creating a Project
RSLogix500 Instruction Comments
RSLogix500 Rung Comments Page Titles
RSLogix500 Inserting Branches
RSLogix500 Program Organization, Part 1 - Overview
RSLogix500 Program Organization, Part 2 - Examples
RSLogix500 Using Symbols
RSLogix500 View Properties
RSLinx
RSLogix500 Online Offline
RSLogix500 Dowloading and Uploading
RSLogix500 Processor Modes
RSLogix500 Processor and Cards
RSLogix500 Introduction to Faults
RSLogix500 Indirect Addressing
RSLogix500 Indirect Addressing Faults
RSLogix500 Handling Faults
RSLogix500 Forcing I/O
RSLogix500  Custom Data Monitor
RSLogix500 I/O Configuration
RSLogix500 Advanced Diagnostics
RSLogix500 Instructions OTL OTU, Part 1
RSLogix500 Instructions OTL OTU, Part 2
RSLogix500 Instructions OTL OTU, Part 3
RSLogix500 Instructions, OTE
RSLogix500 Instructions, XIC XIO
RSLogix500 Instructions, ADD
RSLogix500 Instructions, COP
RSLogix500 Instructions, CPT - Part 2
RSLogix500 Instructions, CTU CTD - Part 1
RSLogix500 Instructions, CTU CTD - Part 2
RSLogix500 Instructions, CTU CTD - Part 3
RSLogix500 Instructions, CPT - Part 1
RSLogix500 - Comparison - Part1
RSLogix500 - Comparison - Part 2
RSLogix500 Instructions, DIV
RSLogix500 - FIFO - FFL and FFU - Part 1
RSLogix500 - FIFO - FFL and FFU - Part 2
RSLogix500 Instructions, FLL
RSLogix500 Instructions, JMP and LBL
RSLogix500 Instructions, Masking and MEQ
RSLogix500 Instructions, MUL
RSLogix500 Instructions, MOV
RSLogix500 Instructions, LIM
RSLogix500 Instructions, NEG
RSLogix500 Instructions, OSR
RSLogix500 Instructions, RTO
RSLogix500 Instructions, SQO sequencer - Part 1 of 3
RSLogix500 Instructions, SQO sequencer - Part 2 of 3
RSLogix500 Instructions, SQO sequencer - Part 3 of 3
RSLogix500 Instructions, SUB
RSLogix500 Instructions, TOF
RSLogix500 Instructions, JSR and RET
RSLogix500 Shift registers
RSLogix500 Instructions, SQR
RSLogix500 Instructions, TON - Part 1
RSLogix500 Instructions, TON - Part 2
RSLogix500 Instructions, TON - Part 3
Introduction to Ladder Logic