6 sample ladder logic programs – Rockwell Automation RECOMM-DNET DeviceNet Adapter for use with DPI AC Drives User Manual

Page 60

Advertising
background image

6-6

DeviceNet Adapter for use with DPI AC Drives

6.6

Sample Ladder Logic Programs

These sample ladder logic programs (figures 6.3 through 6.8) work
with SP600 drives.

Functions of the Sample Programs

The sample programs use an operator station wired to an I/O
module in Slot 0, Module Group 0, Rack 0. The operator can
perform the following actions:

• Obtain status information from the drive.

• Use the Logic Command to control the drive (for example, start,

stop).

• Send a Reference to the drive.

Adapter Settings for the Sample Programs

• Node address 1 is set using the switches.

• Logic Command/Reference and Datalink A are enabled in DN I/O

Config (13).

• Master-slave hierarchy is set using M-S Input (25) and M-S

Output (26).

• Polled I/O was enabled during the scanner configuration.

Scanner Settings for the Sample Programs

• The scanner is node 0 on the DeviceNet network.

• The scanner is in slot 1.

• The module I/O is mapped in word 0 and word 1.

• Data files, when used, are pointed out in the examples.

Logic Command/Status Words

These examples use the Logic Command word and Logic Status
word for SP600 drives. Refer to Appendix D, Logic
Command/Status Words to view these. The definition of the bits in
these words may vary if you are using a different DPI product. Refer
to the documentation for your drive.

Advertising