OkiePC
Lifetime Supporting Member
I need to make a Youtube video, how to go from state chart to state engine in thirty minutes or less.
I sense the need to "anticipate a discrete position sensor to "cog" the driven wheel to a repeatable loading position if the sensor is mounted at the very bottom.
You can do this with a timer which is used to measure the normal duration, and offset it (subtract a few ms) to drive the output, allowing for coast and stop time so that it "lands" with the sensor "made".
Measure how long it takes between pulses and set an alarm if you're supposed to be moving and it times out....reset the timer so that is doesn't nuisance fault when starts occur, and set the anticipatory timer to stop the wheel to a value a few milliseconds before the the measured time between carriages...
But first, design your program with a paper page, with circles representing each state, then arrows with the transition definitions written along them to interconnect the states, and then I will show you how to translate that into a pure state engine in RSLogix (I have to use the free version at home.)
Paul
I sense the need to "anticipate a discrete position sensor to "cog" the driven wheel to a repeatable loading position if the sensor is mounted at the very bottom.
You can do this with a timer which is used to measure the normal duration, and offset it (subtract a few ms) to drive the output, allowing for coast and stop time so that it "lands" with the sensor "made".
Measure how long it takes between pulses and set an alarm if you're supposed to be moving and it times out....reset the timer so that is doesn't nuisance fault when starts occur, and set the anticipatory timer to stop the wheel to a value a few milliseconds before the the measured time between carriages...
But first, design your program with a paper page, with circles representing each state, then arrows with the transition definitions written along them to interconnect the states, and then I will show you how to translate that into a pure state engine in RSLogix (I have to use the free version at home.)
Paul