User Manual PLC-3 FAMILY I/0 Instruction Manual
Table of Contentsii
Addressing DH and DH+ Data Transfers 51. . . . . . . . . . . . . .
Chapter
Objectives
51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing Field Parameters 51
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Interpreting Addresses 51
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Addressing
Data
52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Specifying Addresses 52
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using PLC2 Logical Data Addressing 53
. . . . . . . . . . . . . . . . . . . . .
Using PLC3 Logical Binary Addressing 55
. . . . . . . . . . . . . . . . . . . .
Using Logical ASCII Addressing 58
. . . . . . . . . . . . . . . . . . . . . . . . .
Addressing Stations on a Local Link 510
. . . . . . . . . . . . . . . . . . . . . .
Addressing Stations on a Remote Link 511
. . . . . . . . . . . . . . . . . . . . .
Assignment Command 512
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Programming Examples of Assignment Commands 515
. . . . . . . . . . .
Programming DH and DH+ Message Procedures 61. . . . . . . .
Chapter
Objectives
61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Message Instruction Considerations 61
. . . . . . . . . . . . . . . . . . . . . .
Editing the Message Instruction 62
. . . . . . . . . . . . . . . . . . . . . . . . . .
Editing Message Procedures 64
. . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Symbols 64
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using User Symbols 66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using System Symbols 66
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Expressions 67
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Message Procedure Commands 613
. . . . . . . . . . . . . . . . . . . . . . . . .
CREATE Command 614
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DELETE Command 614
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Execute Command 615
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EXIT Command 615
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
GOTO Command 615
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
IF Command 616
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ON_ERROR Command 616
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
STOP Command 617
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Functions 617
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Adding
Comments to Y
our Message Procedure 619. . . . . . . . . . . . . .
Programming Examples for a Message Procedure 619
. . . . . . . . . . . .
Diagnostics Methods 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter
Objectives
71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DH/DH+ Message Procedure Diagnostics 71
. . . . . . . . . . . . . . . . . .
Diagnosing
Faults with Module Status Indicators
76. . . . . . . . . . . . . .
Remote I/O Adapter Faults (Status File 2) 77
. . . . . . . . . . . . . . . . . . .
I/O Communication Retry Counts (Status File 3) 78
. . . . . . . . . . . . . .
Retries for a PeertoPeer or Backup Communication Channel 79
. . . .
DH/DH+ Indicators 710
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .