8. Function Commands
DXNR, DXNRP
- 248 -
{ DXNR, DXNRP ... Non-exclusive OR of 32-bit data
Usable device
Bit device Word device
Con-
stant
Pointer
X Y M L F BSB T SM VTCDRWSWZSDKH P
Digit
desig-
nation
Index
No. of
steps
S
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
3/4
S1
{
{ { { { { {
{
{ { { { { { { { { {
S2
{
{ { { { { {
{
{ { { { { { { { { {
D
{ { { { { {
{
{ { { { { { { {
{ {
4/5
Setting data
S2
S1
D
Setting data
S
The non-exclusive OR results
are stored in D device.
D
D
DXNRP
S1
D
DXNR
S2
S1 S2
Operation command
DXNR
S D
DXNRP
S D
Operation command
DXNR
Data to be non-exclusive
ORed or head No. of device
where data is stored.
Data to be non-exclusive
ORed or head No. of device
where data is stored.
Head No. of device to store
non-exclusive OR results.
DXNRP
DXNR
DXNRP
Function
DXNR S
D
,
DXNRP S D
Non-exclusive OR is executed for each bit of the 32-bit data designated with D and designated with S,
and the results are stored in the device designated with D.
Before execution
D
10 01011 01010100
DXNR,DXNRP
00 100
01 11110001
32-bit
After execution
01 00101 01011010
D
S
DXNR
S2
S1 D
,
DXNRP S2S1
D
Non-exclusive OR is executed for each bit of the 32-bit data designated with S1 and designated with
S2, and the results are stored in the device designated with D.
Before execution
S1
10 0101101010100
DXNR,DXNRP
00 1000111110001
32-bit
After execution
01 00101 01011010
D
S2