Keyboard with RS485 protocol will control stepper motors by Arduino

Dear all,

I am going to develop a pan/tilt unit for CCTV system.
The stepper motors inside the pan/tilt unit will be controlled by Pelco RS485 keyboard (https://www.pelco.com/controllers-keyboards).
I use Arduino UNO Board , ST6600 drivers and stepper motors type JK42HS40-1704 for this project.
The pan/tilt work well by a analogue joystick. Now I go further to Pelco RS485 keyboard.
I hope somebody in this forum can give me the idea how to converter RS485 signal to analogue signal or some other idea for my project. Thank you.
Regards, elc

I hope somebody in this forum can give me the idea how to converter RS485 signal to analogue signal

Suppose that someone presses the "G" key on the keyboard. How does that map to an analog value?