Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual

Page 115

Advertising
background image

Using the I/O

5-41

20-COMM-C/Q ControlNet Adapter User Manual

Publication 20COMM-UM003F-EN-P

Understanding SLC 500 Controller Data Table Addresses

Because the SLC 500 controller is a 16-bit platform and is used with the
32-bit 20-COMM-C or 20-COMM-Q adapter, the data will be transposed
from the least-significant word (LSW) to the most-significant word (MSW)
in the controller.

When the I/O was configured (

Chapter 4

), two available default memory

addresses (M1:e.3 for input data and M0:e.3 for output data) were used.
However, because memory addresses cannot be used to display real data,
COP instructions will be used in this example to convert these addresses to
N data table addresses. With this conversion, the M1:e.3 address will
become N9:0 and the M0:e.3 address will become N10:0.

Figure 5.17

shows an example ladder logic program to convert memory

addresses to N data table addresses.

Figure 5.17 SLC 500 Example Ladder Logic Program to Convert Memory Addresses

After the conversion,

Figure 5.18

shows the entire data file address structure

for this example.

TIP: When using a drive that has 16-bit Datalinks (PowerFlex 70,
PowerFlex 700, and PowerFlex 700H drives) to transfer a 32-bit parameter,
two contiguous drive Datalink parameters (for example, Data Out A1/A2,
B1/B2, and so forth) are required. To determine if a parameter is a 32-bit
parameter, see the Parameter section in the drive documentation and look
for a

symbol in the ‘No.’ column. (All parameters in PowerFlex 700

Series B drives are 32-bit parameters.) For example, parameter 3 - [Output
Current] in a PowerFlex 70 EC drive is a 32-bit parameter. When using a
drive that has 32-bit Datalinks (PowerFlex 700 VC, PowerFlex 700S, and
PowerFlex 750-Series drives), only one drive Datalink parameter is required
to transfer any parameter.

32

TIP: In the ladder logic COP instructions, the number following the colon
in the #M1 and #M0 addresses is the slot number in which the scanner
resides. For example, if the 1747-SCNR scanner is in slot 3, then the #M1
address becomes #M1:3.3 and the #M0 address becomes #M0:3.3.

Advertising
This manual is related to the following products: