Pr command examples – Applied Motion RS-232 User Manual
Page 252

252
920-0002 Rev. I
2/2013
Host Command Reference
usage for the RL (Register Load) and RU (Register Upload) commands.
NOTE: When data is returned from a drive (whether Bit 5 is set or not set), the data register is always
represented by its single character designation.
RL Command Example:
Command
Drive Sends
Notes
RL017100
-
Load register 017 (“A”) with the value 100
RL017
RLA=100
Drive sends contents of acceleration register
RU command Example:
Command
Drive Sends
Notes
RU0174
RUA=100
Drive responds to register upload command by sending
RUB=150
contents of 4 sequential data registers, starting with
RUC=140
register 017 (“A”)
RUD=210
PR Command Examples
Now that you know what the bits in the PR command’s 6-bit binary word mean, here are a couple examples
showing how you would set the serial communications protocol of your Q drive.
Example: Turn on Ack/Nack (Bit 2) and 3-digit numeric register addressing function (Bit 5)
The 6-bit word for this combination is - 100100 - and it’s decimal equivalent is 36. Therefore, to set your
drive with this serial protocol, you would send the command “PR36” to your drive.
Example: Turn on RS-485 adaptor function (Bit 4)
The 6-bit word for this combination is - 010000 - and it’s decimal equivalent is 16. Therefore, to set your
drive with this serial protocol, you would send the command “PR16” to your drive.