Omron FQM1-MMP21 Programming, Appendix A, Operand, Description, Notation, Application, examples

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 296
Image 296
examples

Programming

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Appendix A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Operand

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

Notation

Application

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Specifying

The offset from the beginning of the area is

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

indirect DM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

specified. The contents of the address will be

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

addresses in

treated as binary data (00000 to 32767) to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Binary Mode

specify the word address in Data Memory (DM).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Add the @ symbol at the front to specify an

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

indirect address in binary mode.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

@D@@@@@

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Contents

 

 

 

 

00000 to 32767

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(0000 Hex to

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

7FFF Hex)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1) D00000 to D32767 are specified if

 

@D00300

 

MOV #0001

 

@D(@@@@@) contains 0000 hex to 7FFF

 

 

@D00300

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

hex (00000 to 32767).

 

 

 

 

 

 

 

0 1 0 0

 

Contents

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Binary: 256

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Specifies D00256.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Add the @ symbol.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The offset from the beginning of the area is

 

 

 

*D00200

 

MOV #0001

 

 

 

 

 

*D00200

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

specified. The contents of the address will be

 

 

 

 

 

 

 

 

 

 

 

 

 

Contents

 

 

 

 

 

 

 

 

 

0 1 0 0

 

 

 

treated as BCD data (0000 to 9999) to specify

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the word address in Data Memory (DM). Add

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

an asterisk (*) at the front to specify an indirect

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

address in BCD Mode.

 

 

 

 

 

 

 

 

 

Specifies D0100

 

 

 

 

*D@@@@@

 

 

 

 

 

 

 

 

 

 

Add an asterisk (*).

 

 

Contents

 

 

 

 

 

00000 to 9999

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(BCD)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note With indirect address specifications in binary mode, the DM Area addresses are treated as consecutive memory addresses.

273

Page 296
Image 296
Omron FQM1-MMP21 Programming, Appendix A, Operand, Description, Notation, Application, examples, Specifying, indirect DM