317
SECTION 6
Advanced Functions
This section describes all of the advanced functions of the CP1L that can be used to achieve specific application needs.
6-1
Interrupt Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
318
6-1-1
Overview of CP1L Interrupt Functions . . . . . . . . . . . . . . . . . . . . . .
318
6-1-2
Input Interrupts (Direct Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
322
6-1-3
Input Interrupts (Counter Mode) . . . . . . . . . . . . . . . . . . . . . . . . . . .
326
6-1-4
Scheduled Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
329
6-1-5
High-speed Counter Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
332
6-2
Quick-response Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
340
6-3
Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
344
6-3-1
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
344
6-3-2
No-protocol Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
346
6-3-3
Modbus-RTU Easy Master Function . . . . . . . . . . . . . . . . . . . . . . . .
349
6-3-4
Communications: Smart Active Parts and Function Blocks. . . . . . .
352
6-3-5
Serial PLC Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
354
6-3-6
1:1 Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
363
6-3-7
1:N NT Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
364
6-3-8
1:1 NT Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
365
6-3-9
Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
366
6-4
Analog Adjuster and External Analog Setting Input . . . . . . . . . . . . . . . . . . .
371
6-4-1
Analog Adjuster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
371
6-4-2
External Analog Setting Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
371
6-5
Battery-free Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
372
6-5-1
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
372
6-5-2
Using Battery-free Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
373
6-6
Memory Cassette Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
374
6-6-1
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
374
6-6-2
Mounting and Removing a Memory Cassette . . . . . . . . . . . . . . . . .
375
6-6-3
Operation Using the CX-Programmer . . . . . . . . . . . . . . . . . . . . . . .
377
6-6-4
Memory Cassette Data Transfer Function . . . . . . . . . . . . . . . . . . . .
378
6-6-5
Procedures for Automatic Transfer from the Memory Cassette
at Startup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
381
6-7
Program Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
382
6-7-1
Read Protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
382
6-7-2
Write Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
388
6-7-3
Protecting Program Execution Using the Lot Number. . . . . . . . . . .
390
6-8
Failure Diagnosis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
391
6-8-1
Failure Alarm Instructions: FAL(006) and FALS(007) . . . . . . . . . .
391
6-8-2
Failure Point Detection: FPD(269) . . . . . . . . . . . . . . . . . . . . . . . . . .
392
6-8-3
Simulating System Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
393
6-8-4
Output OFF Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
394
6-9
Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
395
Summary of Contents for CP1L-L14D Series
Page 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...
Page 523: ...490 Troubleshooting Unit Errors Section 9 4...
Page 531: ...498 Replacing User serviceable Parts Section 10 2...
Page 563: ...530 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...578 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...606 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...636 Index...
Page 671: ...638 Revision History...