339
SECTION 6
Advanced Functions
This section describes all of the advanced functions of the CP1H that can be used to achieve specific application needs.
6-1 Serial Communications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
6-1-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
6-1-2 No-protocol Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
6-1-3 Modbus-RTU Easy Master Function . . . . . . . . . . . . . . . . . . . . . . . . 344
6-1-4 Communications: Smart Active Parts and Function Blocks. . . . . . . 347
6-1-5 Serial PLC Links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
6-1-6 1:N NT Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
6-1-7 Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
6-2 Analog Adjuster and External Analog Setting Input . . . . . . . . . . . . . . . . . . . 362
6-2-1 Analog Adjuster . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
6-2-2 External Analog Setting Input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 363
6-3 7-Segment LED Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364
6-4 Battery-free Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
6-4-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
6-4-2 Using Battery-free Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366
6-5 Memory Cassette Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
6-5-1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
6-5-2 Mounting and Removing a Memory Cassette . . . . . . . . . . . . . . . . . 369
6-5-3 Operation Using the CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . 371
6-5-4 Memory Cassette Data Transfer Function . . . . . . . . . . . . . . . . . . . . 372
6-5-5 Procedure for Automatic Transfer from the Memory Cassette at Startup . . . .
375
6-6 Program Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
6-6-1 Read Protection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
6-6-2 Write Protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
6-6-3 Protecting Program Execution Using the Lot Number. . . . . . . . . . . 381
6-7 Failure Diagnosis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
6-7-1 Failure Alarm Instructions: FAL(006) and FALS(007) . . . . . . . . . . 383
6-7-2 Failure Point Detection: FPD(269) . . . . . . . . . . . . . . . . . . . . . . . . . . 384
6-7-3 Simulating System Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
6-7-4 Output OFF Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
6-8 Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387