R| - register or, Command details, Parameter details – Applied Motion RS-232 User Manual

Page 193: Examples

Advertising
background image

193

920-0002 Rev. I

2/2013

Host Command Reference

R| - Register OR

Compatibility: Q drives only
Affects:

All data registers

See also:

R+, R-, R*, R/, R&, RD, RI, QJ commands

Do a “bit-wise” OR of the contents of the first data register with the contents of the second data register and place
the result in the accumulator data register, User-Defined register “0”. This is a 32-bit operation.

All math operations affect the “condition code” used by the QJ (Queue Jump) command. Can set condition codes
T, F, N, P, and Z.

Command Details:

Structure

RI(Parameter #1)(Parameter #2)

Type

BUFFERED

Usage

WRITE ONLY

Non-Volatile

NO

Register Access

“0” (000), Accumulator

Parameter Details:

Parameter #1

First data register

- units

data register assignment

- range

All data registers

Parameter #2

Second data register

- units

data register assignment

- range

All data registers

Examples:

Command

Drive sends

Notes

R|i1

-

OR the contents of inputs register “i” with user-defined register “1”

and place the results in accumulator register “0”

Advertising
This manual is related to the following products: