Subscribe: mmini.me/Subscribe-4-Updates Other socials: Facebook: facebook.com/OnlinePLCSupport LinkedIn: www.linkedin.com/in/shane-welcher-sr/
@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
2 жыл бұрын
Did you watch the full video? I explain what I use & how the bit data moves.
@michelemandini3468
2 жыл бұрын
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!
@ShaneWelcher
2 жыл бұрын
I would use a loop in my opinion
@sprek2
2 жыл бұрын
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
2 жыл бұрын
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
2 жыл бұрын
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
2 жыл бұрын
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
2 жыл бұрын
@@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
2 жыл бұрын
@@michaelgriffin6748 not for conveyors but for machine using high speed then it's a good option
@madaniismail7858
6 ай бұрын
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
2 жыл бұрын
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
2 жыл бұрын
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
2 жыл бұрын
@@ShaneWelcher I am looking at it now, are you using the demo version to communicate with the emulator through RSlinx?
@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 KZitem channel then type in the word "EasyPLC" Then find the videos showing how to connect Rockwell Automation to EasyPLC
@aaw7410
2 жыл бұрын
@@ShaneWelcher Do you have a download location for machine simulator?
@ShaneWelcher
2 жыл бұрын
@@aaw7410 visit onlineplcsupport.com/easyplc-machine-simulator/ for more
Пікірлер: 19