EasyManuals Logo
Home>Allen-Bradley>Control Unit>160-DN2

Allen-Bradley 160-DN2 User Manual

Allen-Bradley 160-DN2
116 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #55 background imageLoading...
Page #55 background image
Publication 0160-5.18 - June 2003
Using 160-DN2 with DeviceNet Scanner 6-17
Using I/O Messaging (Continued) ControlLogix Example
Figure 6.14
Example ControlLogix Ladder Logic Program
Table 6.C Tags for the Example Program
Tag Name Type Tag Name Type
Local:1:I DINT[] DriveFeedback INT
Local:1:O DINT[] DriveInputImage INT[2]
DriveCommandClearFault BOOL DriveOutputImage INT[2]
DriveCommandJog BOOL DriveReference INT
DriveCommandStart BOOL DriveStatusFaulted BOOL
DriveCommandStop BOOL DriveStatusRunning BOOL
0
Local:1:O.CommandRegister.Run
1
Copy File
Source Local:1:I.Data[0]
Dest DriveInputImage[0]
Length 2
COP
2
DriveInputImage[0].1
DriveStatusRunning
3
DriveInputImage[0].7
DriveStatusFaulted
4
Copy File
Source DriveInputImage[1]
Dest DriveFeedback
Length 1
COP
5
DriveCommandStart DriveOutputImage[0].1
6
DriveCommandStop DriveOutputImage[0].0
7
DriveCommandJog DriveOutputImage[0].2
This rung enables the DeviceNet scanner.
This rung copies the 32-bit DeviceNet scanner input image into
an array of two 16-bit words. The length in this instruction is two
because two 16-bit array elements of the destination are used.
These rungs read the Running and Faulted status bits from the
input image of the drive and place the data in respective tags.
This rung reads the drive’s Feedback word and places it in
the Feedback tag.
These rungs move the inputs of the operator from the
operator station to the drive’s output image.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley 160-DN2 and is the answer not in the manual?

Allen-Bradley 160-DN2 Specifications

General IconGeneral
BrandAllen-Bradley
Model160-DN2
CategoryControl Unit
LanguageEnglish

Related product manuals