The text of a manual · part 33 of 39
Series 90-30/20/Micro PLC CPU Instruction Set Reference Manual: Appendix A - Instruction Timing, pages 284 to 291
Pages 284 to 291 of 337, from Series 90-30/20/Micro PLC CPU Instruction Set Reference Manual
The original document is the PDF (4.4 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 GE Fanuc IC692CPU211D / IC692MDR541C, Fanuc IC692CPU211D / IC692MDR541C, GE IC692CPU211D / IC692MDR541C and GE Fanuc IC693CPU311X
Page 284
Appendix Instruction Timing
A The Series 90-30, 90-20, and Micro PLCs support many different functions and function blocks. This appendix contains tables showing the memory size in bytes and the execution time in microseconds for each function. Memory size is the number of bytes required by the function in a ladder diagram application program. Two execution times are shown for each function: Execution Time
Description
Enabled
Time required to execute the function or function block when power flows into and out of the function. Typically, best-case times are when the data used by the block is contained in user RAM (word-oriented memory) and not in the discrete memory.
Disabled
Time required to execute the function when power flows into the function or function block; however, it is in an inactive state, as when a timer is held in the reset state.
Note Timers and counters are updated each time they are encountered in the logic, timers by the amount of time consumed by the last sweep and counters by one count.
Note For the 350, 351, 352, and 360 PLC CPUs, times are identical except for the MOVE instruction, which is different for the 350 CPU - refer to the note at the bottom of the table on page A-6.
GFK-0467M
A-1
Page 285
A
Table A-1. Instruction Timing, Standard Models Function Group Timers
Counters Math
Relational
Enabled
Disabled
Increment
311
313
331
340/41
311
313
331
340/41
311
313
331
340/41
Size
On-Delay Timer Off-Delay Timer Timer Up Counter Down Counter Addition (INT)
146 98 122 137 136 76
81 47 76 70 70 47
80 44 75 69 69 46
42 23 40 36 37 24
105 116 103 130 127 41
39 63 54 63 61 0
38 58 53 62 61 1
21 32 30 33 31 0
– – – – – –
– – – – – –
– – – – – –
– – – – – –
15 9 15 11 11 13
Addition (DINT)
90
60
60
34
41
1
0
0
–
–
–
–
13
Subtraction (INT)
75
46
45
25
41
0
1
0
–
–
–
–
13
Subtraction (DINT)
92
62
62
34
41
1
0
0
–
–
–
–
13
Function
Multiplication (INT)
79
49
50
28
41
0
1
0
–
–
–
–
13
Multiplication (DINT) Division (INT)
108 79
80 51
101 50
43 27
41 41
1 0
0 1
0 0
– –
– –
– –
– –
13 13
Division (DINT)
375
346
348
175
41
1
0
0
–
–
–
–
13
Modulo Division (INT)
78
51
49
27
41
0
1
0
–
–
–
–
13
Modulo Div (DINT)
134
103
107
54
41
1
0
0
–
–
–
–
13
Square Root (INT)
153
124
123
65
42
0
1
0
–
–
–
–
9
Square Root (DINT) Equal (INT)
268 66
239 35
241 36
120 19
42 41
0 1
0 1
1 0
– –
– –
– –
– –
9 9 9
Equal (DINT)
86
56
54
29
41
1
0
0
–
–
–
–
Not Equal (INT)
67
39
35
22
41
1
1
0
–
–
–
–
9
Not Equal (DINT)
81
51
51
28
41
1
0
0
–
–
–
–
9
Greater Than (INT)
64
33
35
20
41
1
1
0
–
–
–
–
9
Greater Than (DINT) Greater Than/Eq (INT)
89 64
59 36
58 34
32 19
41 41
1 1
0 1
0 0
– –
– –
– –
– –
9 9
57
Greater Than/Eq (DINT)
87
58
Less Than (INT)
66
35
Less Than (DINT)
87
57
Less Than/Equal (INT)
66
36
34
Less Than/Equal (DINT) Range (INT)
86 92
57 58
56
Range(DINT)
106
75
Range(WORD)
93
60
54 57 54
30
41
1
0
0
–
–
–
–
9
19
41
1
1
0
–
–
–
–
9
30
41
1
1
0
–
–
–
–
9
21
41
1
1
0
–
–
–
–
9
31 29
41 46
1 1
1 0
0 1
– –
– –
– –
– –
9 15
37
45
0
0
0
–
–
–
–
15
29
0
0
0
0
–
–
–
–
15
Notes: 1. Time (in microseconds) is based on Release 5.01 of Logicmaster 90-30/20 software for Models 311, 313, 340, and 341 CPUs (Release 7 for the 331). 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case.
A-2
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 286
A
Table A-1. Instruction Timing, Standard Models-Continued Function
Enabled
Group Bit Operation
Data Move
Table
Function Logical AND Logical OR
Disabled
Increment
311
313
331
340/41
311
313
331
340/41
311
313
331
340/41
Size
67 68
37 38
37 38
22 21
42 42
0 0
0 0
1 1
– –
– –
– –
– –
13 13 13
Logical Exclusive OR
66
38
37
20
42
0
1
1
–
–
–
–
Logical Invert, NOT
62
32
31
17
42
0
1
1
–
–
–
–
9
Shift Bit Left
139
89
90
47
74
26
23
13
11.61
11.61
12.04
6.29
15
Shift Bit Right Rotate Bit Left
135 156
87 127
85 126
45 65
75 42
26 1
24 1
13 0
11.63 11.70
11.62 11.78
12.02 12.17
6.33 6.33
15 15
Rotate Bit Right
146
116
116
62
42
1
1
0
11.74
11.74
12.13
6.27
15
Bit Position
102
72
49
38
42
1
0
0
–
–
–
–
13
Bit Clear
68
38
35
21
42
1
1
1
–
–
–
–
13
Bit Test
79
49
51
28
41
0
0
1
–
–
–
–
13
Bit Set Masked Compare (WORD)
67 217
37 154
37
42 107
0 44
0 39
0 21
– –
– –
– –
– –
13 25
Masked Compare (DWORD)
232
169
141 156
20 74 83
108
44
39
22
–
–
–
–
25
Move (INT)
68
37
39
20
43
0
0
0
1.62
1.62
5.25
1.31
13
Move (BIT)
94
62
64
35
42
0
0
0
12.61
12.64
12.59
6.33
13
Move (WORD)
67
37
40
20
41
0
0
0
1.62
1.63
5.25
1.31
13
Block Move (INT)
76
48
50
28
59
30
30
16
–
–
–
–
27
Block Move (WORD) Block Clear
76 56
48 28
49 27
29 14
59 43
29 0
28 0
15 0
– 1.35
– 1.29
– 1.40
– 0.78
27 9
Shift Register (BIT)
201
153
153
79
85
36
34
18
0.69
0.68
0.71
0.37
15
Shift Register (WORD)
103
53
52
29
73
25
23
12
1.62
1.62
2.03
1.31
15
Bit Sequencer
165
101
99
53
96
31
29
16
0.07
0.07
0.08
0.05
15
COMM_REQ Array Move
1317
1272 1489
884
41
2
0
0
–
–
–
–
13
INT
230
201
177
104
72
41
40
20
1.29
1.15
10.56
2.06
21
DINT
231
202
181
105
74
44
42
23
3.24
3.24
10.53
2.61
21
BIT
290
261
229
135
74
43
42
23
–.03
–.03
-0.01
0.79
21
BYTE WORD
228 230
198 201
176 177
104 104
74 72
42 41
42 40
23 20
0.81 1.29
0.82 1.15
8.51 10.56
1.25 2.06
21 21
Search Equal INT
197
158
123
82
78
39
37
20
1.93
1.97
2.55
1.55
19
DINT
206
166
135
87
79
38
36
21
4.33
4.34
4.55
2.44
19
BYTE
179
141
117
74
78
38
36
21
1.53
1.49
1.83
1.03
19
WORD
197
158
123
82
78
39
37
20
1.93
1.97
2.55
1.55
19
Notes: 1. Time (in microseconds) is based on Release 5.01 of Logicmaster 90-30/20 software for Models 311, 313, 340, and 341 CPUs (Release 7 for the 331). 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case. 7. For instructions that have an increment value, multiply the increment by (Length –1) and add that value to the base time.
GFK-0467M
Appendix A Instruction Timing
A-3
Page 287
A
Table A-1. Instruction Timing, Standard Models-Continued Function
Enabled
Group
Function
311
313
331
Disabled 340/41
311
313
331
Increment 340/41
311
313
331
340/41
Size
Search Not Equal INT
198
159
124
83
79
39
36
21
1.93
1.93
2.48
1.52
19
DINT
201
163
132
84
79
37
35
21
6.49
6.47
6.88
3.82
19
BYTE
179
141
117
73
79
38
36
19
1.54
1.51
1.85
1.05
19
WORD
198
159
124
83
79
39
36
21
1.93
1.93
2.48
1.52
19
198 206
160 167
125 135
82 88
79 78
37 38
38 36
19 20
3.83 8.61
3.83 8.61
4.41 9.03
2.59 4.88
19 19
2.03
Search Greater Than INT DINT BYTE
181
143
118
73
79
37
36
19
3.44
3.44
3.75
WORD
198
160
125
82
79
37
38
19
3.83
3.83
4.41
2.59
19 19
Search Greater Than/Eq INT
197
160
124
83
77
38
36
20
3.86
3.83
4.45
2.52
19
DINT BYTE
205 180
167 142
136 118
87 75
80 79
39 37
36 37
21 20
8.62 3.47
8.61 3.44
9.02 3.73
4.87 2.00
19 19
WORD
197
160
124
83
77
38
36
20
3.86
3.83
4.45
2.52
19
Search Less Than INT
199
159
124
84
78
38
36
20
3.83
3.86
4.48
2.48
19
DINT
206
168
135
87
79
38
38
19
8.62
8.60
-1.36
4.88
19
BYTE WORD
181 199
143 159
119 124
75 84
80 78
38 38
37 36
20 20
3.44 3.83
3.44 3.86
3.75 4.45
2.00 2.48
19 19
Search Less Than/Equal
Conversion
INT
200
158
124
82
79
38
37
21
3.79
3.90
4.45
2.55
19
DINT
207
167
137
88
78
39
37
19
8.60
8.61
9.01
4.86
19
BYTE
180
143
119
74
78
40
37
19
3.46
3.44
3.73
2.02
19
WORD
200
158
124
82
79
38
37
21
3.79
3.90
4.45
2.55
19
Convert to INT
74
46
39
25
42
1
1
1
–
–
–
–
9
Convert to BCD–4
77
50
34
25
42
1
1
1
–
–
–
–
9
Notes: 1. Time (in microseconds) is based on Release 5.01 of Logicmaster 90-30/20 software for Models 311, 313, 340, and 341 CPUs (Release 7 for the 331). 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case. 7. For instructions that have an increment value, multiply the increment by (Length –1) and add that value to the base time.
A-4
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 288
A
Table A-1. Instruction Timing, Standard Models-Continued Function
Enabled
Disabled
Increment
Group
Function
311
313
331
340/41
311
313
331
340/41
311
313
331
340/41
Size
Control
Call a Subroutine Do I/O
155 309
93 278
192 323
85 177
41 38
0 1
0 0
0 0
– –
– –
– –
– –
7 12
PID – ISA Algorithm
1870
1827
1812
929
91
56
82
30
–
–
–
–
15
PID – IND Algorithm
2047
2007
2002
1017
91
56
82
30
–
–
–
–
15
–
–
–
–
–
–
–
–
–
–
–
–
–
93 –
54 37
63 309
45 161
41 –
2 2
0 0
0 0
– –
– –
– –
– –
9 9
End Instruction Service Request #6 # 7 (Read) # 7 (Set)
–
37
309
161
–
2
0
0
–
–
–
–
9
#14
447
418
483
244
41
2
0
0
–
–
–
–
9
#15
281
243
165
139
41
2
0
0
–
–
–
–
9
#16 #18
131 –
104 56
115 300
69 180
41 –
2 2
0 0
0 0
– –
– –
– –
– –
9 9
#23
1689
1663
1591
939
43
1
0
0
–
–
–
–
9
#26//30*
1268
1354
6680
3538
42
0
0
0
–
–
–
–
9
#29 Nested MCR/ENDMCR Combined
–
–
55
41
–
–
1
0
–
–
–
–
9
135
73
68
39
75
25
21
12
–
–
–
–
8
*Service request #26/30 was measured using a high speed counter, 16-point output, in a 5-slot rack. Notes: 1. Time (in microseconds) is based on Release 5.01 of Logicmaster 90-30/20 software for Models 311, 313, 340, and 341 CPUs (Release 7 for the 331). 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case. 7. For instructions that have an increment value, multiply the increment by (Length –1) and add that value to the base time.
GFK-0467M
Appendix A Instruction Timing
A-5
Page 289
A
Table A-2. Instruction Timing, 35x-36x Models Function Group
Function
Timers
Enabled
Disabled
Increment
350/351/36x
350/351/36x
350/351/36x
352
6
– –
4 2
–
3
– –
2
On-Delay Timer Timer
4 3
Enabled Disabled Increment 352
352
Size
5
– –
15 15
–
15
– –
13 13 13
Off-Delay Timer
3
Counters
Up Counter Down Counter
1 3
3 3 3 3
1
2 2 2 2
Math
Addition (INT)
2
0
–
1
0
–
Addition (DINT)
2
0
–
2
0
–
19
Addition (REAL)
52
0
–
33
0
–
17
Subtraction (INT) Subtraction (DINT)
2 2
0 0
– –
1 2
0 0
– –
13 19
Subtraction (REAL)
53
0
–
34
0
–
17
Multiplication (INT)
21
0
–
21
0
–
13
Multiplication (DINT)
24
0
–
24
0
–
19
Trigonometric
Multiplication (REAL)
68
1
–
38
1
–
17
Division (INT) Division (DINT),
22 25
0 0
– –
22 25
0 0
– –
13 19
Division (REAL)
82
2
–
36
2
–
17
Modulo Division (INT)
21
0
–
21
0
–
13
Modulo Div (DINT)
25
0
–
25
0
–
19
Square Root (INT) Square Root (DINT)
42 70
1 0
– –
41 70
1 0
– –
10 13
Square Root (REAL)
137
0
–
35
0
–
11
SIN (REAL)
360
0
–
32
0
–
11
COS (REAL) TAN (REAL)
319 510
0 1
– –
29 32
0 1
– –
11 11
ASIN (REAL)
440
0
–
45
0
–
11
ACOS (REAL)
683
0
–
63
0
–
11 11
ATAN (REAL)
264
1
–
33
1
–
Logarithmic
LOG (REAL)
469
0
–
32
0
–
11
Exponential
LN (REAL) EXP
437 639
0 0
– –
32 42
0 0
– –
11 11
EXPT
89
1
–
54
1
–
17
Radian Conversion
Convert RAD to DEG
65
1
–
32
1
–
11
Convert DEG to RAD
59
0
32
0
11
Notes: 1. Time (in microseconds) is based on Release 7 of Logicmaster 90-30/20/Micro software for Model 351 and 352 CPUs. 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case.
A-6
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 290
A
Table A-2. Instruction Timing, 35x-36x Models-Continued Function
Disabled
Increment
Enabled Disabled Increment
350/351/36x
350/351/36x
350/351/36x
352
352
352
Size
Equal (INT)
1
0
–
1
0
–
10
Equal (DINT)
2
0
–
2
0
–
16
Equal (REAL) Not Equal (INT)
57 1
0 0
– –
28 1
0 0
– –
14 10
Not Equal (DINT)
1
0
–
1
0
–
16
Not Equal (REAL)
62
0
–
31
0
–
14
Greater Than (INT)
1
0
–
1
0
–
10
Greater Than (DINT) Greater Than (REAL)
1 57
0 0
– –
1 32
0 0
– –
16 14
Greater Than/Equal (INT)
1
0
–
1
0
–
10
Greater Than/Equal (DINT)
1
0
–
1
0
–
10
Greater Than/Equal (REAL)
57
1
–
31
1
–
14
Less Than (INT)
1
0
–
1
0
–
10
Less Than (DINT) Less Than (REAL)
1 58
0 1
– –
1 36
0 1
– –
16 14
Group Relational
Enabled Function
Less Than/Equal (INT)
1
0
–
1
0
–
10
Less Than/Equal (DINT)
3
0
–
3
0
–
16
Less Than/Equal (REAL) Range (INT) Range (DINT)
37
0
0
1
2
1
1 0
1 0
14 13 22
–
2 1
– – –
Range (WORD)
2 1
– – –
37
2
–
13
Bit
Logical AND
2
0
–
2
0
–
13
Operation
Logical OR
2
0
–
2
0
–
13
Logical Exclusive OR
1
0
–
1
0
–
13
Logical Invert, NOT Shift Bit Left
1 31
0 1
– 1.37
1 31
0 1
– 1.37
10 16
Shift Bit Right
28
0
3.03
28
0
3.03
16
Rotate Bit Left
25
0
3.12
25
0
3.12
16
Rotate Bit Right
25
0
4.14
25
0
4.14
16
Bit Position
20
1
–
20
1
–
13
Bit Clear Bit Test
20 20
0 0
– –
20 20
0 0
– –
13 13
Bit Set Mask Compare (WORD)
19
1
1
0
– –
19
52
52
0
– –
13 25
Mask Compare (DWORD)
50
0
–
49
0
–
25
Notes: 1. Time (in microseconds) is based on Release 7 of Logicmaster 90-30/20/Micro software for Model 351 and 352 CPUs. 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case. 7. For instructions that have an increment value, multiply the increment by (Length –1) and add that value to the base time.
GFK-0467M
Appendix A Instruction Timing
A-7
Page 291
A
Table A-2. Instruction Timing, 35x-36x Models-Continued Function
Enabled
Disabled
Increment
Enabled
Disabled
Increment
350/351/36X
350/351/36X
350/351/36X
352
352
352
Size
2 28
0 0
0.41 4.98
2 28
0 0
0.41 4.98
10 13
Move (WORD)
2
0
0.41
2
0
0.41
10
Move (REAL)
24
1
0.82
24
1
0.82
13
Block Move (INT)
2
0
–
2
0
–
28
Block Move (WORD) Block Move (REAL)
4 41
4 0
– –
3 41
0 0
– –
28 13
Block Clear
1
0
0.24
1
0
0.24
11
Shift Register (BIT)
49
0
0.23
46
0
0.23
16
Shift Register (WORD)
27
0
0.41
27
0
0.41
16
Bit Sequencer
38
22
0.02
38
22
0.02
16
COMM_REQ
765
0
–
765
0
–
13
Group
Function
Data Move
Table
Move (INT) Move (BIT)
Array Move INT
54
0
0.97
54
0
0.97
22
DINT
54
0
0.81
54
0
0.81
22
BIT
69
0
0.36
69
0
0.36
22
BYTE
54
1
0.64
54
1
0.64
22
WORD
54
0
0.97
54
0
0.97
22
Search Equal INT
37
0
0.62
37
0
0.62
19
DINT BYTE
41 35
1 0
1.38 0.46
41 35
1 0
1.38 0.46
22 19
WORD
37
0
0.62
37
0
0.62
19
Search Not Equal INT
37
0
0.62
37
0
0.62
19
DINT
38
0
2.14
38
0
2.14
22
BYTE
37
0
0.47
37
0
0.47
19
WORD
37
0
0.62
37
0
0.62
19
Search Greater Than INT
37
0
1.52
37
0
1.52
19
DINT
39
0
2.26
39
0
2.26
22
BYTE
36
1
1.24
36
1
1.24
19
WORD
37
0
1.52
37
0
1.52
19
Search Greater Than/Equal INT
37
0
1.48
37
0
1.48
19
DINT BYTE
39 37
0 1
2.33 1.34
39 37
0 1
2.33 1.34
22 19
WORD
37
0
1.48
37
0
1.48
19
Notes: 1. Time (in microseconds) is based on Release 7 of Logicmaster 90-30/20/Micro software for 350 and 360 Series CPUs. 2. For table functions, increment is in units of length specified.; for bit operation functions, microseconds/bit.; for data move functions, microseconds/number of bits or words. 3. Enabled time for single length units of type %R, %AI, and %AQ. 4. COMMREQ time has been measured between CPU and HSC. 5. DOIO is the time to output values to discrete output module. 6. Where there is more than one possible case, the time indicated above represents the worst possible case. 7. For instructions that have an increment value, multiply the increment by (Length –1) and add that value to the base time.
A-8
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M