I have 6 of SINAMICS G120 CU240S DP and also each motor has own encoder.
Ive been adjusted in the PLC to read out Encoder counter value r0485. Now I must to use this parameter to make some logic for control movement on the x-ase of my motors.
Is anyone here expirienced with encoder programing in the PLC? I think that using Encoder data on this way is very similar with the Encoder connected to the Encoder card on the PLC.
I will be thankful to anyone who have some example how to do it

Thanks in advance