Omron FQM1-CM001 Instruction Location and Input Conditions, Addressing I/O Memory Areas

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 294
Image 294
Instruction Location and Input Conditions

Programming

Appendix A

Instruction Location and Input Conditions

The following table shows the possible locations for instructions. Instructions are grouped into those that do and those do not require input conditions.

Instruction type

Possible location

Input condition

 

 

 

Diagram

Examples

Input

Logical start

Connected directly to

Not required.

 

 

 

 

 

 

 

 

 

 

 

 

LD, LD >, and other

instructions

(Load

the left bus bar or is at

 

 

 

 

 

 

 

 

 

 

 

 

 

symbol comparison

 

instructions)

the beginning of an

 

 

 

 

 

 

 

 

 

 

 

 

 

instructions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

instruction block.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Intermediate

Between a logical start

Required.

 

 

 

 

 

 

 

 

 

 

 

 

AND, OR, AND >, and

 

 

 

 

 

 

 

 

 

 

 

 

 

 

instructions

and the output instruc-

 

 

 

 

 

 

 

 

 

 

 

 

 

other symbol compari-

 

 

tion.

 

 

 

 

 

 

 

 

 

 

 

 

 

son instructions)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Output instructions

Connected directly to

Required.

 

 

 

 

 

 

 

 

 

 

 

 

Most instructions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

the right bus bar.

 

 

 

 

 

 

 

 

 

 

 

 

 

including OUT and

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV(021).

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Not required.

 

 

 

 

 

 

 

 

 

 

 

 

END(001), JME(005),

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ILC(003), etc.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Note (1) There is another group of instructions that executes a series of mnemonic instructions based on a single input. These are called block programming instructions. Refer to the Instructions Reference Manual (Cat. No. O011) for details on these block programs.

(2)If an instruction requiring an input condition is connected directly to the left bus bar without a logical start instruction, a program error will occur when checking the program on the CX-Programmer.

Addressing I/O Memory Areas

Bit Addresses

@@@@.@@

Bit number (00 to 15)

Word address

Example: The address of bit 03 in word 0001 in the CIO Area would be as shown below. This address is given as “CIO 0001.03” in this manual.

0001. 03

Bit number (03)

Word address: 0001

Bit: CIO 0001.03

Word

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

0000

0001

0002

Word Addresses

@@@@

Word address

Example: The address of bits 00 to 15 in word 0010 in the CIO Area would be as shown below. This address is given as “CIO 0010” in this manual.

271

Page 294
Image 294
Omron FQM1-CM001 Instruction Location and Input Conditions, Addressing I/O Memory Areas, Programming, Appendix A