3 axis pipe bending ladder logic

I am new to plc programming , i would require some help regarding the 3 axis pipe bending plc program , have followed the given link for the basic plc prgram ,

https://instrumentationtools.com/plc-logic-for-automatic-bending-machine-for-exhaust-pipe/

require some guidenece for the ladder logic about how to give bend angle instructions to the plc ( also the machine has servo motors )