Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 52

Advertising
background image

3–8

Publication 1336 FORCE–5.13 –– September, 1998

Information from the 1336 FORCE consists of parameter 56, Logic
Status LOW, and parameter 146, Velocity Feedback. Based on the
links shown, the 16–bit input word for group 1, rack 2 in the PLC
controller is a 16–bit logic status word. The description for
parameter 56 defines the bits in this 16–bit word. In addition, the
16–bit input for group 2, rack 2 in the PLC controller is a 16–bit
signed integer whose value corresponds to the allowable values in
drive units for parameter 146.

Scaling

If the PLC controller is to manipulate the data transferred between
the 1336 FORCE and the PLC controller in units other than drive
units, the data must be appropriately scaled when it is transferred to a
drive parameter. You can do the scaling either at the PLC controller
or by using drive function blocks. The scaled information must be
based on drive unit definitions for parameters in the 1336 FORCE.

Parameter 101, Velocity Reference 1 HI, shown in the previous
figure, is in drive units, where 4096 is defined as base speed. If the
PLC controller program is written in terms of feet-per-minute (fpm),
then you need to convert fpm to drive units before sending it to
parameter 101.

Discrete I/O Program Example

A PLC controller program is shown on the next page. You could use
this example to control the 1336 FORCE. Based on the
configuration shown in the previous figure, the PLC controller
program transfers information to parameters 367 and 101 in the 1336
FORCE. Logic bits in File B3 of the PLC controller are used to set
the drive logic control bits, and integer file N10 word 01 is used to
store the drive speed reference.

To control the logic operation of the drive, the PLC program must
control the bits in the output image table that correspond to the
desired operation. Because parameter 331 in the previous figure has
been linked to parameter 367 and parameter 331 is associated with
group 1 in the output image table, the PLC controller program is
controlling bits in word 0:21.

Advertising