Rockwell Automation 1785-Lxxx Enhanced and Ethernet PLC-5 Programmable Controllers User Manual

Page 12

Advertising
background image

Publication 1785-UM012D-EN-P - July 2005

Table of Contents 8

Appendix C

Maximizing System Performance

Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1
Program Scan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1

Effects of False Logic versus True Logic on Logic Scan Time. . C-2
Effects of Different Input States on Logic Scan Time . . . . . . . . C-2
Effects of Different Instructions on Logic Scan Time . . . . . . . . C-3
Effects of Using Interrupts on Logic Scan Time . . . . . . . . . . . . . C-3
Effects of Housekeeping Time . . . . . . . . . . . . . . . . . . . . . . . . . . . C-4
Editing While in Remote Run Mode . . . . . . . . . . . . . . . . . . . . . . C-4
Putting Block-Transfer Modules in Controller-Resident Chassis C-5
Using Global Status Flag Files . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5
Calculating Throughput. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-5

Input and Output Modules Delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-6
I/O Backplane Transfer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-6
Remote I/O Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-6

Communication Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
Number of Rack Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-7
Block-Transfers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-8
Calculating Worst-Case Remote I/O Scan Time . . . . . . . . . . . . . C-9
Optimizing Remote I/O Scan Time. . . . . . . . . . . . . . . . . . . . . . . C-9

Controller Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-11
Example Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-12
Performance Effects of Online Operations . . . . . . . . . . . . . . . . . . . C-12
Effect of Inserting Ladder Rungs at the 56K-word Limit . . . . . . . . C-13
Using Program Control Instructions. . . . . . . . . . . . . . . . . . . . . . . . . C-14

Using JMP/LBL Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . C-14
Using FOR/NXT Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . C-14

Appendix D

Instruction Set Quick Reference

Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-1

Relay Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-2
Timer Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-3
Counter Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-4
Compare Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-5
Compute Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-7
Logical Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-14
Conversion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-15
Bit Modify and Move Instructions . . . . . . . . . . . . . . . . . . . . . . D-16
File Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-17
Diagnostic Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-19
Shift Register Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-20
Sequencer Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-21
Program Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . D-22
Process Control, Message Instructions. . . . . . . . . . . . . . . . . . . D-25
Block Transfer Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . D-25

Advertising