Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 45 of 60

SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual: SECTION 7 PC Operations and Processing Time, pages 407 to 415

Pages 407 to 415 of 520, from SYSMAC CQM1/CPM1/CPM1A/SRM1 Programmable Controllers Programming Manual

The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Omron CQM1-CPU21

Page 407

Section

CQM1 Cycle Time and I/O Response Time

7-1

Basic Instructions OFF execution time (µs)

Code

Mnemonic

ON execution time (µs)

-----------------

LD LD NOT AND AND NOT OR OR NOT AND LD OR LD

0.5

-----

OUT OUT NOT

0.75

Without direct outputs or for operands other than IR 10000 to IR 11515 when direct outputs are used.

---

---

SET

1.25

Direct outputs

---

-----

RSET TIM

1.25 1.5

Direct outputs

---

Constant for SV

1.5 54.1 1.5 51.6

---

CNT

Conditions (Top: min.; bottom: max.)

RSET ---

Any

IL

JMP

---

1.5

DM for SV Constant for SV DM for SV

1.5 1.5 1.5 1.5

1.5 1.5 1.5 1.5

Special Instructions Code

Mnemonic

00 01 02 03 04 05 06 07 08 09 10

NOP END IL ILC JMP JME FAL FALS STEP SNXT SFT

11

12

KEEP

ON execution time (µs) 0.5 29 12.3 11.3 18.3 11.0 56.8 4.0 58.2 25.0

Conditions (Top: min.; bottom: max.) Any

44.2 77.7 415.2 0.75

With 1-word shift register With 10-word shift register With 100-word shift register Without direct outputs or for operands other than IR 10000 to IR 11515 when direct outputs are used.

1.25

Direct outputs using IR 10000 to IR 11515 Constant for SV

CNTR

13

DIFU

53.0 79.6 21.5

14

DIFD

20.8

Any

15

TIMH 36.5 36.5

Constant for SV

390

DM for SV Any

DM for SV

OFF execution time (µs) 0.0 0.0 10.9 11.3 11.9 11.0 1.5 1.5 1.5 Shift 43.2 68.5 322.0

IL 15.0 15.0 15.0

JMP 15.0 15.0 15.0

Shift 33.1

IL 20.7

JMP 20.7

Reset 21.0 Reset 20.8 Shift 54.7 81.0

IL 20.8 IL 20.6 IL 53.0 79.6

JMP 17.8 JMP 17.6 JMP 27.7 27.7

Page 408

Section

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

16

WSFT

ON execution time (µs) 44.7 77.0 2.25 ms 13.05 ms

Conditions (Top: min.; bottom: max.) With 1-word shift register With 10-word shift register

CMP

26.7 29.5 77.3

When comparing a constant to a word When comparing two words

21

MOV

23.5 26.3 72.7

When transferring a constant to a word When moving from one word to another

22

MVN

23.7 26.5 72.6

When transferring a constant to a word When moving from one word to another

50.4 96.0

When converting a word to a word

BIN

OFF execution time (µs) 2.0

With 1,024-word shift register using DM With 6,144-word shift register using DM

20

23

7-1

2.0

When comparing two DM 2.0

When transferring DM to DM 2.0

When transferring DM to DM 2.0

When converting DM to DM

24

BCD

47.7 93.3

When converting a word to a word

25

ASL

24.0 45.8

When shifting a word

26

ASR

24.0 45.8

When shifting a word

27

ROL

24.7 46.6

When rotating a word

28

ROR

24.7 46.6

When rotating a word

29

COM

25.9 48.3

When inverting a word

2.0

When converting DM to DM 1.5

When shifting DM 1.5

When shifting DM 1.5

When rotating DM 1.5

When rotating DM 1.5

When inverting DM

30

ADD

49.9 53.1 122.1

Constant + word → word Word + word → word

31

SUB

49.9 53.1 122.1

Constant – word → word Word – word → word

32

MUL

73.7 77.0 144.5

Constant word → word Word word → word

2.5

DM + DM → DM 2.5

DM – DM → DM 2.5

DM DM → DM

33

DIV

72.2 75.4 143.0

Word ÷ constant → word word ÷ word → word

34

ANDW

41.9

Constant Ɠ word → word

45.1

Word Ɠ word → word

114.1

DM Ɠ DM → DM

2.5

DM ÷ DM → DM

35

ORW

41.9 45.1 114.1

Constant V word → word Word V word → word

36

XORW

41.9 45.2 114.1

Constant V word → word Word V word → word

2.5

2.5

DM V DM → DM 2.5

DM V DM → DM

391

Page 409

Section

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

37

XNRW

38

INC

27.8 50.1

When incrementing a word

39

DEC

28.4 50.8

When decrementing a word

40 41 45

STC CLC TRSM

12.0 12.0 28.8

Any

1.0 1.0 1.0

46

MSG

24.6 48.4

With message in words

1.5

53.4 56.6 125.6

Constant + word → word Word + word → word

50

ADB

ON execution time (µs) 41.9 45.1 114.1

Conditions (Top: min.; bottom: max.) Constant V word → word Word V word → word

OFF execution time (µs) 2.5

DM V DM → DM 1.5

When incrementing DM 1.5

When decrementing DM

With message in DM 2.5

DM + DM → DM

51

SBB

53.4 56.6 125.6

Constant – word → word Word – word → word

52

MLB

45.7 48.9 116.4

Constant word → word Word word → word DM DM → DM

2.5

53

DVB

46.7 49.9 117.4

Word ÷ constant → word Word ÷ word → word

2.5

59.3 128.9

Word + word → word

59.3 128.9

Word – word → word

54 55

ADDL SUBL

2.5

DM – DM → DM

DM ÷ DM → DM 2.5

DM + DM → DM 2.5

DM – DM → DM

56

MULL

204.5 271.2

Word word → word DM DM → DM

2.5

57

DIVL

205.9 272.6

Word ÷ word → word

2.5

76.0 120.6

Word → word

58

BINL

DM ÷ DM → DM

BCDL

60.9 105.6

Word → word

70

XFER

72.9 76.1 2.90 ms 16.66 ms

When transferring a constant to a word When transferring a word to a word

45.6 77.9 1.93 ms 10.95 ms

When setting a constant to 1 word When setting word constant to 10 words

63.9 110.8

Word calculation → word

40.9 85.5

Word → word

71

72 73

392

BSET

ROOT XCHG

2.0

DM → DM

59

2.0

DM → DM 2.5

When transferring 1,024 words using DM When transferring 6,144 words using DM 2.5

When setting DM to 1,024 words When setting DM to 6,144 words 2.0

DM calculation → DM DM → DM

7-1

2.0

Page 410

Section

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

74

SLD

75

SRD

ON execution time (µs) 41.1 101.9 5.49 ms 32.58 ms

Conditions (Top: min.; bottom: max.) Shifting 1 word Shifting 10 word

41.1 101.9 5.49 ms 32.57 ms

Shifting 1 word Shifting 10 word

59.1 136.4

When decoding word to word

77

DMPX

45.1 120.6

When encoding word to word

78

SDEC

60.6 138.5

When decoding word to word

80

DIST

66.0 69.3 144.3 101.0 104.3 177.8

When setting a constant to a word + a word When setting a word to a word + a word

65.1 68.3 140.1 61.1 64.3 137.6

When setting a constant + a word to a word When setting a word + a word to a word

60.3 63.6 136.8

When setting a word + constant to LIFO stack When setting a word + word to LIFO stack

2.5 2.5

When encoding DM to DM 2.5

When decoding DM to DM 2.5

When setting DM to DM +DM When setting a constant to a stack When setting a word to a stack When setting DM to a stack via DM 2.5

When setting DM + DM to DM When setting a word + constant to FIFO stack When setting a word + word to FIFO stack When setting a DM + DM to FIFO stack via DM

When setting a DM + DM to LIFO stack via DM

MOVB

46.4 54.9 125.2

When moving constant to word When moving word to word

83

MOVD

40.7 49.2 119.4

When moving constant to word When moving word to word

57.4 98.4 2.26 ms 12.90 ms

Shifting 1 word Shifting 10 word

SFTR

2.0

When decoding DM to DM

82

84

2.0

Shifting 1,024 words using DM Shifting 6,144 words using DM

MLPX

COLL

OFF execution time (µs)

Shifting 1024 words using DM Shifting 6144 words using DM

76

81

7-1

2.5

When moving DM to DM 2.5

When moving DM to DM 2.5

Shifting 1,024 words using DM Shifting 6,144 words using DM

85

TCMP

95.8 98.8 169.0

Comparing constant to word-set table Comparing word to word-set table

86

ASC

62.5 144.3

Word → word

91 92 93

SBS SBN RET

41.4 --39.0

Any

2.5

Comparing DM to DM-set table 2.5

DM → DM 1.5 --1.5

393

Page 411

Section

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

97

IORF

99

MCRO

ON execution time (µs) 37.7 41.7 46.9 112.4 140.2 188.1

Conditions (Top: min.; bottom: max.) Refreshing IR 000 Refreshing one input word Refreshing one output word Refreshing 8 I/O words With word-set I/O operands

7-1

OFF execution time (µs) 2.0

2.5

With DM-set I/O operands

Expansion Instructions Code

Mnemonic

17

ASFT

18

TKY

19

MCMP

47

RXD

48

TXD

60

CMPL

61

INI

394

ON execution Conditions time (µs) 62.7 Shifting a word 96.7 Shifting 10 words 2.45 ms Shifting 1,024 words via DM 16.33 ms Shifting 6,144 words via DM 81.1 Word to word 131.8 DM to DM 123.9 Comparing words 195.3 Comparing DM 123.1 Inputting 1 byte via word 847.3 Inputting 256 bytes via DM 105.1 Outputting 1 byte via word (RS-232C) 832.3 Outputting 256 bytes via DM (RS-232C) 86.3 Outputting 1 byte via word (host link) 141.9 Outputting 256 bytes via DM (host link) 50.9 Comparing words 101.0 Comparing DM High-speed counter 0 or pulse output from an output bit: 90.6 Starting comparison via word 114.4 Starting comparison via DM 72.1 Stopping comparison via word 83.0 Stopping comparison via DM 163.6 Changing PV via word 182.2 Changing PV via DM 56.4 Stopping pulse output via word 80.2 Stopping pulse output via DM High-speed counters 1 and 2 or pulse output from ports 1 and 2: 296.8 Starting comparison via word 324.3 Starting comparison via DM 207.3 Stopping comparison via word 232.8 Stopping comparison via DM 468.3 Changing PV via word 487.8 Changing PV via DM 248.8 Stopping pulse output via word 269.8 Stopping pulse output via DM Absolute high-speed counters 1 and 2: 296.3 Starting comparison via word 316.8 Starting comparison via DM 202.3 Stopping comparison via word 226.3 Stopping comparison via DM

OFF execution time (µs) 2.5

2.5 2.5 2.5 2.5

2.5 2.5

Page 412

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

62

PRV

ON execution Conditions time (µs) High-speed counter 0 or pulse output from an output bit: 91.5 Designating output via word 117.4 Designating output via DM High-speed counters 1 and 2 or pulse output from ports 1 and 2: 229.3 Designating output via word (reading status) 249.3 Designating output via DM (reading status) 229.8 Designating output via word (reading range comparison results) 256.3 Designating output via DM (reading range comparison results)

Section

7-1

OFF execution time (µs) 2.5

Absolute high-speed counters 1 and 2: 226.3 Designating output via word (reading status) 253.3 Designating output via DM (reading status) 227.8 Designating output via word (reading range comparison results) 253.3 Designating output via DM (reading range comparison results)

395

Page 413

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

63

CTBL

ON execution Conditions time (µs) High-speed counter 0 or pulse output from an output bit: 210.3 Target table with 1 target in words and start 233.8 Target table with 1 target in DM and start 1.31 ms 1.33 ms

Target table with 16 targets in words and start

1.25 ms 1.27 ms

Range table in words and start

170.8 194.3

Target table with 1 target in words

1.27 ms 1.30 ms

Target table with 16 targets in words

1.09 ms 1.11 ms

Range table in words

Section

OFF execution time (µs) 2.5

Target table with 16 targets in DM and start Range table in DM and start Target table with 1 target in DM Target table with 16 targets in DM Range table in DM

High-speed counters 1 and 2 or pulse output from ports 1 and 2: 692.8 721.8

Target table with 1 target in words and start

2.79/7.84 ms 2.81/7.86 ms

Target table with 16/48 targets in words and start

2.26 ms 2.27 ms

Range table in words and start

488.8 517.8

Target table with 1 target in words

2.57/7.67 ms 2.61/7.72 ms

Target table with 16/48 targets in words

2.19 ms 2.21 ms

Range table in words

Target table with 1 target in DM and start Target table with 16/48 targets in DM and start Range table in DM and start Target table with 1 target in DM Target table with 16/48 targets in DM Range table in DM

Absolute high-speed counters 1 and 2:

64

SPED

600.8 624.8

Target table with 1 target in words and start

6.46 ms 6.47 ms

Target table with 48 targets in words and start

1.47 ms 1.50 ms

Range table in words and start

460.8 484.8

Target table with 1 target in words

6.02 ms 6.03 ms

Target table with 48 targets in words

1.45 ms 1.47 ms

Range table in words

Target table with 1 target in DM and start Target table with 48 targets in DM and start Range table in DM and start Target table with 1 target in DM Target table with 48 targets in DM Range table in DM

Pulse output from an output bit: 118.4 Frequency specified by constant 123.2 Frequency specified by word 146.8

Frequency specified by DM

Pulse output from ports 1 and 2:

396

302.3 310.3

Frequency specified by constant Frequency specified by word

320.3

Frequency specified by DM

7-1

2.5

Page 414

CQM1 Cycle Time and I/O Response Time Code

Mnemonic

65

PULS

ON execution Conditions time (µs) Pulse output from an output bit: 109.0 Number of pulses specified by word 137.8

Section

7-1

OFF execution time (µs) 2.5

Number of pulses specified by DM

Pulse output from ports 1 and 2:

66

SCL

337.3

Number of pulses specified by word

360.3

Number of pulses specified by DM

105.8 180.5

Word designation

2.5

DM designation Counting a word

2.5

67

BCNT

88.4 49.32 ms

68

BCMP

140.0 143.0 194.7

69

STIM

36.8 73.8 37.3 74.3 66.4 113.6 35.3 35.6

87

88

89

DSW

7SEG

INT

70.3 70.3 89.1 93.1 93.1 110.3 74.7 75.1 105.5 103.5 103.9 131.5 78.7 102.6 92.1 117.2 53.0 80.8 49.9 73.2 50.7 71.9 64.8 88.1 27.5 27.5 28.5 28.5

Counting 6,656 words via DM Comparing constant, results to word Comparing word, results to word Comparing DM, results to DM Word-set one-shot interrupt start

2.5

2.5

DM-set one-shot interrupt start Word-set scheduled interrupt start DM-set scheduled interrupt start Word-set timer read DM-set timer read Word-set timer stop DM-set timer stop Word-set 4-digit CS output Word-set 4-digit RD output Word-set 4-digit data input

2.5

DM-set 4-digit CS output DM-set 4-digit RD output DM-set 4-digit data input Word-set 8-digit CS output Word-set 8-digit RD output Word-set 8-digit data input DM-set 8-digit CS output DM-set 8-digit RD output DM-set 8-digit data input 4 digits, word designation

2.5

4 digits, DM designation 8 digits, word designation 8 digits, DM designation Set masks via word

2.5

Set masks via DM Clear interrupts via word Clear interrupts via DM Read mask status via word Read mask status via DM Change counter SV via word Change counter SV via DM Mask all interrupts via word Mask all interrupts via DM Clear all interrupts via word Clear all interrupts via DM

397

Page 415

Section

CQM1 Cycle Time and I/O Response Time Code

Mnemonic HKY

FPD

SRCH

MAX MIN APR

Conditions Output word to word

Input DM to DM

171.6 279.5 204.9 312.0

Word designation, no message, execution

62.4 2.64 ms 15.11 ms

Searching word, results to word

56.1 2.56 ms

Searching word, results to word

56.1 2.56 ms

Searching word, results to word

57.4 460.4

Computing sine

DM designation, message, initial

2.5

Linear approximation with 256-item table via DM designation

Word to word

SEC

92.9 146.2

Word to word

HMS

94.9 148.7

Word to word

72.9 6.86 ms

Adding one word, results to word

73.6 2.33 ms

Computing one word, results to word

82.3 154.3

Word to word

73.7 282.5

One-cycle average for word

266.8 272.8

Duty ratio specified by constant Duty ratio specified by word

293.8

Duty ratio specified by DM

2.11 ms 2.30 ms

Word to word (initial execution)

607.7 893.7

Word to word (when sampling)

ADBL

75.4 152.0

Word + word → word

SBBL

75.4 152.0

Word – word → word

MBS

57.9 61.1

Constant × word → word Word × word → word

135.0

DM × DM → DM

PID

2.5

Searching 999 words via DM, results to DM

115.1 183.1

PWM

2.5

Searching 999 words via DM, results to DM

COLM

AVG

2.5

Searching 1,024 word via DM, results to DM Searching 6,144 word via DM, results to DM

Word to word

HEX

2.5

DM designation, message, execution Word designation, no message, initial

93.4 166.5

FCS

OFF execution time (µs) 2.5

Output DM to DM Input word to word

LINE

SUM

398

ON execution time (µs) 71.5 100.3 81.5 109.5

7-1

2.5

DM toDM 2.5

DM toDM 2.5

DM toDM 2.5

DM to DM 2.5

Adding 999 words via DM, results to DM 2.5

Computing 999 words via DM, results to DM 2.5

DM toDM 2.5

64-cycle average via DM 2.5

2.5

DM toDM (initial execution) DM toDM (when sampling) 2.5

DM + DM → DM 2.5

DM – DM → DM 2.5