Hello everyone,
I'm quite new to PLC programming and got myself a Kinco MK070E-33DT PLC/HMI combo. I'm trying to setup absolute positioning of a servo by pulse train output, based on analog joystick input. Trying to use PABS instruction but it only executes once on EXEC rising edge.
Could someone explain how I would set it up to continuously position the servo based on current joystick position? For example, if joystick goes full left for a few ms (unintentional user movement), the PLC would try to move there but if position changes before completing, only go to last commanded position. I hope this description is clear and you reading understand my needs. I believe this is a quite common usecase so there should be a way to set it up.
I'm quite new to PLC programming and got myself a Kinco MK070E-33DT PLC/HMI combo. I'm trying to setup absolute positioning of a servo by pulse train output, based on analog joystick input. Trying to use PABS instruction but it only executes once on EXEC rising edge.
Could someone explain how I would set it up to continuously position the servo based on current joystick position? For example, if joystick goes full left for a few ms (unintentional user movement), the PLC would try to move there but if position changes before completing, only go to last commanded position. I hope this description is clear and you reading understand my needs. I believe this is a quite common usecase so there should be a way to set it up.






