I want to write a program block that İf I input a value on screen ( between 1%-100% )plc output must like this.That is;input value is 1% than plc output must be 1% on-99% off,İf input value is 7% than plc output must be 7% on-93% off etc.( This is seems PWM ,but I dont know.)I think need two parameters for this block.First; pulse width (be % ),second is period.Is there any experience for this? Thanks in advance.