Publication 1752-UM001A-EN-P - October 2006
Table of Contents 5
Chapter 8
Create Your Application Program
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
The Logic Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
Programming Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Logic Functions and Function Blocks . . . . . . . . . . . . . . . 85
Input Tags. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Output Tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
I/O Comment Function . . . . . . . . . . . . . . . . . . . . . . . . . 88
Programming Restrictions. . . . . . . . . . . . . . . . . . . . . . . . 88
Create a Function Block Program. . . . . . . . . . . . . . . . . . . . . 89
Add an Input or Output Tag. . . . . . . . . . . . . . . . . . . . . . 89
Add a Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Connect the Tags to the Function Block . . . . . . . . . . . . . 90
Edit Function Block Parameters . . . . . . . . . . . . . . . . . . . . . . 90
In/Out Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Optional Output Point Selections . . . . . . . . . . . . . . . . . . 92
Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Find Function Blocks with Open Connections . . . . . . . . . . . 93
Programming on Multiple Pages . . . . . . . . . . . . . . . . . . . . . 94
Save the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Update the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Monitor the Program Online . . . . . . . . . . . . . . . . . . . . . . . . 96
Program Execution Sequence . . . . . . . . . . . . . . . . . . . . . . . 97
User-defined Function Blocks . . . . . . . . . . . . . . . . . . . . . . . 98
Create User-defined Function Blocks . . . . . . . . . . . . . . . 98
Password Protect User-defined Function Blocks . . . . . . 100
Reuse User-defined Function Block Files. . . . . . . . . . . . 101
Precautions for Reusing User-defined Function Blocks. . 102
Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Chapter 9
Download and Verify
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Download the DeviceNet Network Configuration . . . . . . . . 105
Verify Your DeviceNet Safety Configuration . . . . . . . . . . . . 107
Start the Safety Device Verification Wizard . . . . . . . . . . . . . 107
Determine if Devices Can Be Verified . . . . . . . . . . . . . . . . 108
Select Devices to Verify. . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Review the Safety Device Verification Reports . . . . . . . . . . 111
Lock Safety Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
View the Safety Device Verification Wizard Summary . . . . . 113