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

Поділитися
Вставка
  • Опубліковано 29 жов 2024

КОМЕНТАРІ • 21

  • @ShaneWelcher
    @ShaneWelcher  2 роки тому +1

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

  • @JoshuaWilley93
    @JoshuaWilley93 5 годин тому +1

    I have allen bradley compactlogix, could you provide any information on how i could find/download and utilize the machine simulator you're using in your videos?

    • @ShaneWelcher
      @ShaneWelcher  5 годин тому

      @@JoshuaWilley93
      Just search my channel search tab and type in the word "machine simulator"
      There are videos describing how to set up the OPC.
      Basically, what processor you use doesn't matter as long as the OPC topic is pointed to it

  • @DonkeyDongDoug
    @DonkeyDongDoug 2 роки тому

    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  2 роки тому

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

  • @sprek2
    @sprek2 2 роки тому +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  2 роки тому +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 2 роки тому +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  2 роки тому +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 2 роки тому +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  2 роки тому

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

    • @madaniismail7858
      @madaniismail7858 8 місяців тому

      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

  • @aaw7410
    @aaw7410 2 роки тому +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  2 роки тому +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 2 роки тому

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

    • @ShaneWelcher
      @ShaneWelcher  2 роки тому

      @@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 UA-cam channel then type in the word "EasyPLC"
      Then find the videos showing how to connect Rockwell Automation to EasyPLC

    • @aaw7410
      @aaw7410 2 роки тому +1

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

    • @ShaneWelcher
      @ShaneWelcher  2 роки тому

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

  • @michelemandini3468
    @michelemandini3468 2 роки тому +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!