Bit Shift Left Instruction in Studio 5000 | Rockwell Automation BSL Instruction

Sdílet
Vložit
  • čas přidán 10. 09. 2024

Komentáře • 19

  • @ShaneWelcher
    @ShaneWelcher  Před 2 lety +1

    Subscribe: mmini.me/Subscribe-4-Updates
    Other socials:
    Facebook: facebook.com/OnlinePLCSupport
    LinkedIn: www.linkedin.com/in/shane-welcher-sr/

  • @sprek2
    @sprek2 Před 2 lety +1

    What the best way to implement an encoder into a situation like this? Could you use the pulse where pe1 is? Just curious was just thinking about high speed application where timing of kickoff is critical .

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety +1

      I would use an encoder position as a jitter, meaning, add a limit instruction to monitor the Encoder position then if the product detect is seen within the window then bit shift.
      Just an idea & actually a solution that I used before

  • @michaelgriffin6748
    @michaelgriffin6748 Před 2 lety +1

    What happens if the process is stopped? Will the BSL continue to shift, or will it "pause" as well. I'm working on a similar project, just a lot more complicated because I'm tracking 3 smaller parts of the same product, and spraying them on separate lines. I want to be able to "pause" and "resume" the BSL so I still hit all three targets if the line stops after I've started my tracking.

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety +1

      That depends on the way you trigger the bit shift.
      Meaning, the trigger is what makes the instruction work causing the bits to move.
      In 99% of programming cases, the bits remain & continue after starting the process back up.
      As long as you don't clear the data

    • @michaelgriffin6748
      @michaelgriffin6748 Před 2 lety +1

      @@ShaneWelcher would a BSL even be the best instruction to use in my situation? I haven't written a program this complex before... mostly easy stuff like conveyors or simple machines.

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety

      @@michaelgriffin6748 not for conveyors but for machine using high speed then it's a good option

    • @madaniismail7858
      @madaniismail7858 Před 7 měsíci

      But this only works if the bottles are spaced the same meaning if the spacing change the Spray and kicker wont trigger in the right time
      That's what i wanna solve
      Im assuming the way you chose bit 5 and 15 for sprayer and kicker is that you positionned them on the conveyor and chose what bits align with the sprayer and kicker
      I wanted to ask is this the way that oem machine builders do it or is there à more advanced way
      Thank you

  • @DonkeyDongDoug
    @DonkeyDongDoug Před 2 lety

    I understand that most of us expand a sint, int, or dint the way you are showing in the video, but it would make sense to show that sint, int, or dint in a binary representation to show why it is a "left" movement.
    I know why it is a Bit Shift Left, but someone will ultimately ask "why is it now a bit shift down?" if they don't understand binary.
    We use binary logic a good bit, but don't use BSL or BSR instructions. Motoman robots support BSL and BSR in their ladder. I've never had to use them but had came across a couple instances where I thought about using them.

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety

      Did you watch the full video?
      I explain what I use & how the bit data moves.

  • @michelemandini3468
    @michelemandini3468 Před 2 lety +1

    Hello! Nice video. I have a question: is there the equivalent of BSL in structured text? or the only way I can reproduce the "shift function" is by using a for loop? Thanks in advance!

  • @aaw7410
    @aaw7410 Před 2 lety +1

    Hi, thank you for your videos.
    How do you get factoryio to connect to the studio5000 emulator processor? I see that you used DDE/OPC, and I only purchased the Logix5000 factoryio license, which is where I think the problem may be.
    It seems you are using RSlinx to create an opc server which is doing the communications from the emulated processor to factoryio, I will have to change my license to OPC through factory talk to get it to work, yes?

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety +1

      I don't use Factory IO
      I am using EasyPLC Machine Simulator which was made before Factory IO.
      And is now much easier to use than Factory IO.
      Plus being more cost effective

    • @aaw7410
      @aaw7410 Před 2 lety

      @@ShaneWelcher I am looking at it now, are you using the demo version to communicate with the emulator through RSlinx?

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety

      @@aaw7410 I am using RSlinx classic OPC topics.
      I am using EasyPLC Machine Simulator not Factory IO.
      Factory IO is expensive & not worth it plus hard to use with no support.
      EasyPLC Machine Simulator is very cost effective & easy to use
      Use the search tab on my CZcams channel then type in the word "EasyPLC"
      Then find the videos showing how to connect Rockwell Automation to EasyPLC

    • @aaw7410
      @aaw7410 Před 2 lety +1

      @@ShaneWelcher Do you have a download location for machine simulator?

    • @ShaneWelcher
      @ShaneWelcher  Před 2 lety

      @@aaw7410 visit onlineplcsupport.com/easyplc-machine-simulator/ for more