10
CP2E CPU Unit Software User’s Manual(W614)
7-2-3 Input Constants Settings............................................................................................................. 7-4
7-2-4 Serial Option Port 1/Built-in RS-232C Port .................................................................................7-5
7-2-5 Serial Option Port 2/Built-in RS-485 Port ....................................................................................7-9
7-2-6 Serial Option Port 1 (EX) ..........................................................................................................7-13
7-2-7 Built-in Inputs ............................................................................................................................ 7-16
7-2-8 Pulse Output 0 Settings ............................................................................................................7-18
7-2-9 Pulse Output 1 Settings ............................................................................................................ 7-19
7-2-10 Pulse Output 2 Settings ............................................................................................................ 7-21
7-2-11 Pulse Output 3 Settings ............................................................................................................ 7-22
7-2-12 Built-in Ethernet Settings ..........................................................................................................7-24
Section 8 Overview of Built-in Functions and Allocations
8-1 Built-in Functions .................................................................................................................... 8-2
8-2 Overall Procedure for Using CP2E Built-in Functions ......................................................... 8-3
8-3 Terminal Allocations for Built-in Functions .......................................................................... 8-4
8-3-1 Specifying the Functions to Use.................................................................................................. 8-4
8-3-2 Selecting Functions in the PLC Setup......................................................................................... 8-4
8-3-3 Allocating Built-in Input Terminals ............................................................................................... 8-6
8-3-4 Allocating Built-in Output Temrinals ............................................................................................ 8-8
Section 9 Quick-response Inputs
9-1 Quick-response Inputs............................................................................................................ 9-2
9-1-1 Overview ..................................................................................................................................... 9-2
9-1-2 Flow of Operation........................................................................................................................ 9-3
Section 10 Interrupts
10-1 Interrupts................................................................................................................................ 10-2
10-1-1 Overview ...................................................................................................................................10-2
10-2 Input Interrupts ...................................................................................................................... 10-3
10-2-1 Overview ...................................................................................................................................10-3
10-2-2 Flow of Operation......................................................................................................................10-4
10-2-3 Application Example..................................................................................................................10-8
10-3 Scheduled Interrupts........................................................................................................... 10-10
10-3-1 Overview ................................................................................................................................. 10-10
10-3-2 Flow of Operation.................................................................................................................... 10-11
10-4 Precautions for Using Interrupts........................................................................................ 10-13
10-4-1 Interrupt Task Priority and Order of Execution ........................................................................ 10-13
10-4-2 Related Auxiliary Area Words and Bits ................................................................................... 10-13
10-4-3 Duplicate Processing in each Task ......................................................................................... 10-13
Section 11 High-speed Counters
11-1 Overview................................................................................................................................. 11-2
11-1-1 Overview ...................................................................................................................................11-2
11-1-2 Flow of Operation......................................................................................................................11-3
11-1-3 Specifications............................................................................................................................ 11-7
11-2 High-speed Counter Inputs................................................................................................... 11-8
11-2-1 Pulse Input Methods Settings ................................................................................................... 11-8
11-2-2 Counting Ranges Settings ......................................................................................................11-10
11-2-3 Reset Methods........................................................................................................................ 11-11
11-2-4 Reading the Present Value ..................................................................................................... 11-12
11-2-5 Frequency Measurement ........................................................................................................ 11-13
11-3 High-speed Counter Interrupts........................................................................................... 11-14
11-3-1 Overview ................................................................................................................................. 11-14
11-3-2 Present Value Comparison ..................................................................................................... 11-17
11-3-3 High-speed Counter Interrupt Instruction................................................................................ 11-20
11-4 Related Auxiliary Area Bits and Words ............................................................................. 11-25