8/16/2020 5:28 AM | |
Joined: 6/6/2017 Last visit: 7/20/2024 Posts: 44 Rating: (0) |
Hello Specialists! I'm facing a big challenge to "virtualize" a accumulation conveyor. My objective is use a shift register to mark the position of the products in a conveyor, usually this is very simple, but in this case, is a accumulation conveyor, that means the product can be stopped in the end of the conveyor and have another products coming. I have two sensors for the conveyor, one pulse generator in the motor axis and a product presence, combining this two sensors I set one in the first bit of the Dword that I shift right using the pulse generator in the motor axis I was trying to use SHR and OR to combine two Dwords, one with the shift for the conveyor and another for the current conveyor occupation, but the result, as I suspected, was a full of true bits in the Dword. There's another "problem"... I'm using the CPU S7 1214, so I can't use STL and I have a lot of difficulties with SCL, so, just left me the Ladder programming to do it. Attached a paint illustration of what I need to do Thanks ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 08/17/2020 06:19:49New subject after splitting |
|
Follow us on