beautypg.com

Discrete plc controller, I/o example – Rockwell Automation 1395 ControlNet Communication Board User Manual

Page 20

background image

3–6

Configuration & PLC Interfacing

Publication 1395–5.37– March, 1999

Discrete PLC Controller

Figure 3.4 illustrates an application where the 6 bit words for group

I/O Example

1 and 2 are being used by the PLC Controller program for data transfer
with the Drive. In this example, the Drive has been configured so that
the data coming into source parameter 300 is sent to Logic Cmd 1
(parameter 150). Information sent to the Drive Using the 16 bit output
word for group 1 of rack 2 must therefore be a 16 bit logic word where
the bits are defined by the description of parameter 150.

Figure 3.4. Discrete PLC Controller I/O Example

Output Image Table

PLC (Rack 2)

Control Net Scheduled
Data Interface

BULLETIN 1395 DRIVE

300

150

Group 0

Group 1

Group 2

Group 3

Group 4

Group 5

Grpup 6

Group 7

Sinks

Logic Cmd 1

Port B

Sources

151

Logic Cmd 2

152

Logic Cmd 3

154

External Vel Ref

301

Sources

Group 0

Group 1

Group 2

Group 3

Group 4

Group 5

Grpup 6

Group 7

Input Image Table

100

Logic Status

101

Drive Status

350

351

106

112

Velocity Fdbk

Arm Current Fdbk

Port B

Sinks

Scheduled
Discrete
Data
Transfer

User
Configurable
Links

In a similar manner, the External Velocity Ref (parameter 154) has
been linked to source parameter 301. The 16 bit output word for group
2 of rack 2 must be a 16 bit signed integer whose value corresponds to
the allowable values in Drive Units for parameter 154.

Information from the Drive consists of Logic Status (parameter 100)
and Velocity Fdbk (parameter 106). Based on the links shown in
Figure 3.2, the 16 bit input word for group 1, rack 2 in the PLC
Controller is a 16 bit logic status word. The bits in this 16 bit word are
defined by the description for parameter 100. In addition, the 16 bit
input for group 2, rack 2 in the PLC Controller is a 16 bit signed