swag61
Electrical
- Oct 3, 2003
- 4
Does anyone know of an algorithm that would generate an S-curve pattern? I am trying to program a PLC to accelerate a machine component. Unfortunately, Allen-Bradley does not provide an exponential function in their instruction set, although they do have an x^y power instruction. I have some idea mathematically how to generate the curve; I thought someone might have ideas that substantiate my understanding of the programming requirements. Most motion controllers and VFD's provide s-curve capability, so the algorithm must be well understood. I simply can't find any code listings for ideas.