Paradigm_shift
Member
Good morning everybody.
Sirs, I have a problem when converting a shift logic from a AB ML processor to a Siemens S7-300.
The program is based on a sensor that verifies if there is a product on the input conveyor of the machine. When the product is caught by the sensor, a brake is released. In AB I used just to use a BSL with a negative edge signal from my sensor. When the sensor lose the signal from the box (OSF) I set a B3:0/0 and when my encoder performs a "n" number of pulses I shift that bit and reset it.
On Siemens, I'm not getting how can I do the same logic, when I get the negative edge I set a bit and when my encoder goes "n" pulses I shift that bit to the left and reset that bit.
Please Siemens experts, if you can, post it on ladder, 'cause I'm not that good on STL or SCL.
I'm sending a pic with my AB logic.
If anyone could help it'd be very helpful, thx since now.
Sirs, I have a problem when converting a shift logic from a AB ML processor to a Siemens S7-300.
The program is based on a sensor that verifies if there is a product on the input conveyor of the machine. When the product is caught by the sensor, a brake is released. In AB I used just to use a BSL with a negative edge signal from my sensor. When the sensor lose the signal from the box (OSF) I set a B3:0/0 and when my encoder performs a "n" number of pulses I shift that bit and reset it.
On Siemens, I'm not getting how can I do the same logic, when I get the negative edge I set a bit and when my encoder goes "n" pulses I shift that bit to the left and reset that bit.
Please Siemens experts, if you can, post it on ladder, 'cause I'm not that good on STL or SCL.
I'm sending a pic with my AB logic.
If anyone could help it'd be very helpful, thx since now.